set-load-file-data-callback ( callback -- )


Vocabulary
raylib

Inputs
callbacka LoadFileDataCallback


Outputs
None

Word description
Sets a custom binary loader. Return a native mem-alloc-compatible allocation and write its byte count through dataSize. Raylib passes this ownership-bearing pointer to unload-file-data; never return a Factor byte array, GC storage, or static memory.

Definition