|
37 | 37 |
|
38 | 38 | #include <stddef.h>
|
39 | 39 | #include <stdint.h>
|
40 |
| -#include <stdio.h> |
41 | 40 |
|
42 | 41 | #ifndef __cplusplus
|
43 | 42 | typedef uint32_t char32_t;
|
@@ -415,9 +414,12 @@ typedef struct {
|
415 | 414 | void *(*mem_realloc)(void *p_ptr, size_t p_bytes);
|
416 | 415 | void (*mem_free)(void *p_ptr);
|
417 | 416 |
|
418 |
| - void (*print_error)(const char *p_description, const char *p_function, const char *p_file, int32_t p_line); |
419 |
| - void (*print_warning)(const char *p_description, const char *p_function, const char *p_file, int32_t p_line); |
420 |
| - void (*print_script_error)(const char *p_description, const char *p_function, const char *p_file, int32_t p_line); |
| 417 | + void (*print_error)(const char *p_description, const char *p_function, const char *p_file, int32_t p_line, GDExtensionBool p_editor_notify); |
| 418 | + void (*print_error_with_message)(const char *p_description, const char *p_message, const char *p_function, const char *p_file, int32_t p_line, GDExtensionBool p_editor_notify); |
| 419 | + void (*print_warning)(const char *p_description, const char *p_function, const char *p_file, int32_t p_line, GDExtensionBool p_editor_notify); |
| 420 | + void (*print_warning_with_message)(const char *p_description, const char *p_message, const char *p_function, const char *p_file, int32_t p_line, GDExtensionBool p_editor_notify); |
| 421 | + void (*print_script_error)(const char *p_description, const char *p_function, const char *p_file, int32_t p_line, GDExtensionBool p_editor_notify); |
| 422 | + void (*print_script_error_with_message)(const char *p_description, const char *p_message, const char *p_function, const char *p_file, int32_t p_line, GDExtensionBool p_editor_notify); |
421 | 423 |
|
422 | 424 | uint64_t (*get_native_struct_size)(GDExtensionConstStringNamePtr p_name);
|
423 | 425 |
|
@@ -552,7 +554,7 @@ typedef struct {
|
552 | 554 | GDExtensionVariantPtr (*array_operator_index)(GDExtensionTypePtr p_self, GDExtensionInt p_index); // p_self should be an Array ptr
|
553 | 555 | GDExtensionVariantPtr (*array_operator_index_const)(GDExtensionConstTypePtr p_self, GDExtensionInt p_index); // p_self should be an Array ptr
|
554 | 556 | void (*array_ref)(GDExtensionTypePtr p_self, GDExtensionConstTypePtr p_from); // p_self should be an Array ptr
|
555 |
| - void (*array_set_typed)(GDExtensionTypePtr p_self, uint32_t p_type, GDExtensionConstStringNamePtr p_class_name, GDExtensionConstVariantPtr p_script); // p_self should be an Array ptr |
| 557 | + void (*array_set_typed)(GDExtensionTypePtr p_self, GDExtensionVariantType p_type, GDExtensionConstStringNamePtr p_class_name, GDExtensionConstVariantPtr p_script); // p_self should be an Array ptr |
556 | 558 |
|
557 | 559 | /* Dictionary functions */
|
558 | 560 |
|
|
0 commit comments