Handbook
Glossary
load-file-text-raw ( fileName -- char* )
Raylib memory ownership
Prev:
load-file-data-bytes ( fileName -- bytes/f )
Next:
load-utf8-raw ( codepoints length -- char* )
Vocabulary
raylib
Inputs
fileName
a
c-string
Outputs
char*
a
c-ptr
Word description
Returns the original native allocation (or f). Release it with
unload-file-text
. The version without -raw copies the text into a Factor string and releases this allocation automatically.
Definition
USING:
alien.c-types
alien.syntax
;
IN:
raylib
LIBRARY:
raylib
FUNCTION-ALIAS:
load-file-text-raw
char*
LoadFileText (
c-string
fileName )