| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2 -g" } */ |
| 3 |
|
| 4 |
void pthread_mutex_unlock(int *); |
| 5 |
int __gthread_mutex_unlock___mutex, unlock___trans_tmp_1; |
| 6 |
struct Object { |
| 7 |
void _change_notify() {} |
| 8 |
bool _is_queued_for_deletion; |
| 9 |
}; |
| 10 |
struct ClassDB { |
| 11 |
template <class N, class M> static int bind_method(N, M); |
| 12 |
}; |
| 13 |
struct CanvasItemMaterial : Object { |
| 14 |
bool particles_animation; |
| 15 |
void set_particles_animation(bool); |
| 16 |
}; |
| 17 |
void CanvasItemMaterial::set_particles_animation(bool p_particles_anim) { |
| 18 |
particles_animation = p_particles_anim; |
| 19 |
if (unlock___trans_tmp_1) |
| 20 |
pthread_mutex_unlock(&__gthread_mutex_unlock___mutex); |
| 21 |
_change_notify(); |
| 22 |
} |
| 23 |
void CanvasItemMaterial_bind_methods() { |
| 24 |
ClassDB::bind_method("", &CanvasItemMaterial::set_particles_animation); |
| 25 |
} |