Browse Source

Rename GDNative call error enum values to use GDNATIVE prefix

To make sure it does not clash with other libraries.
George Marques 4 years ago
parent
commit
ee6e05ee68
1 changed files with 6 additions and 6 deletions
  1. 6 6
      core/extension/gdnative_interface.h

+ 6 - 6
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;