This repository was archived by the owner on Jul 5, 2025. It is now read-only.
forked from AurieFramework/YYToolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Next: GetArraySize
Archie_UwU edited this page Jan 2, 2024
·
2 revisions
Gets the size of an GameMaker array.
AurieStatus GetArraySize(
[in] RValue& Value,
[out] size_t& Size
);A non-const reference to a variable of type VALUE_ARRAY. You can get this reference to an existing variable by calling GetInstanceMember on an existing instance, or by creating a new RValue on the stack.
A reference to a buffer into which the size of the array is written. If the function fails, the contents of this value are guaranteed to remain unchanged.
The function returns AURIE_SUCCESS on success, otherwise returns a matching error code. If the information needed for looking up array elements isn't available, the AURIE_MODULE_INTERNAL_ERROR status code is returned. The function returns AURIE_INVALID_PARAMETER if the Value parameter isn't an array.