diff options
author | George Marques <george@gmarqu.es> | 2021-08-09 19:21:37 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2021-08-09 19:21:37 -0300 |
commit | ee6e05ee68afc7841848382fbd538fdf7369b214 (patch) | |
tree | ce7c52df56a3e3c27fd12508f8d5de2a67cc7fca /core/extension | |
parent | 08804922f2a6424fe8ff94061f9d265b0b86d4a3 (diff) |
Rename GDNative call error enum values to use GDNATIVE prefix
To make sure it does not clash with other libraries.
Diffstat (limited to 'core/extension')
-rw-r--r-- | core/extension/gdnative_interface.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/extension/gdnative_interface.h b/core/extension/gdnative_interface.h index 64043d2a9a..3432d8fabe 100644 --- a/core/extension/gdnative_interface.h +++ b/core/extension/gdnative_interface.h @@ -145,12 +145,12 @@ typedef uint64_t GDObjectInstanceID; /* VARIANT DATA I/O */ typedef enum { - NATIVE_CALL_OK, - NATIVE_CALL_ERROR_INVALID_METHOD, - NATIVE_CALL_ERROR_INVALID_ARGUMENT, /* expected is variant type */ - NATIVE_CALL_ERROR_TOO_MANY_ARGUMENTS, /* expected is number of arguments */ - NATIVE_CALL_ERROR_TOO_FEW_ARGUMENTS, /* expected is number of arguments */ - NATIVE_CALL_ERROR_INSTANCE_IS_NULL, + GDNATIVE_CALL_OK, + GDNATIVE_CALL_ERROR_INVALID_METHOD, + GDNATIVE_CALL_ERROR_INVALID_ARGUMENT, /* expected is variant type */ + GDNATIVE_CALL_ERROR_TOO_MANY_ARGUMENTS, /* expected is number of arguments */ + GDNATIVE_CALL_ERROR_TOO_FEW_ARGUMENTS, /* expected is number of arguments */ + GDNATIVE_CALL_ERROR_INSTANCE_IS_NULL, } GDNativeCallErrorType; |