File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,13 @@ Useful for minimizing changes to implementation files between targets e.g. GDExt
4444#define FLOAT REAL
4545#define RefCounted Reference
4646#define PackedByteArray PoolByteArray
47+ #define PackedStringArray PoolStringArray
48+ #define PACKED_STRING_ARRAY POOL_STRING_ARRAY
4749#define FAIL (message , ret ) do { PRINT_ERROR(message); return ret; } while (0)
4850#define FAIL_IF (cond , message , ret ) if (unlikely(cond)) FAIL(message, ret)
4951#define INSTANTIATE_REF (ref ) ref.instance()
5052#define BYTE_ARRAY_POINTER (array ) array.read().ptr()
51- #define PACKED_ARRAY_HAS (array , value ) array.has( value)
53+ #define PACKED_ARRAY_HAS (array , value ) array.read().ptr()->find( value) != -1
5254#define CMDLINE_ARGS PoolStringArray() // User CLI args unsupported in Godot 3
5355#define TIME_REALTIME OS::get_singleton()->get_system_time_msecs() * 1000000
5456#define TIME_MONOTONIC OS::get_singleton()->get_ticks_usec() * 1000
You can’t perform that action at this time.
0 commit comments