GDExtension: fix bool unknown in C
This commit is contained in:
parent
d2ae309f2c
commit
4e202bcec7
2 changed files with 3 additions and 3 deletions
|
|
@ -809,7 +809,7 @@ void Object::notification(int p_notification, bool p_reversed) {
|
|||
|
||||
if (_extension) {
|
||||
if (_extension->notification2) {
|
||||
_extension->notification2(_extension_instance, p_notification, p_reversed);
|
||||
_extension->notification2(_extension_instance, p_notification, static_cast<GDExtensionBool>(p_reversed));
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
} else if (_extension->notification) {
|
||||
_extension->notification(_extension_instance, p_notification);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue