Handbook
Glossary
text-replace-alloc-raw ( text search replacement -- char* )
Raylib memory ownership
Prev:
encode-data-base64-raw ( data dataLength outputLength -- char* )
Next:
text-replace-between-alloc-raw ( text begin end replacement -- char* )
Vocabulary
raylib
Inputs
text
a
c-string
search
a
c-string
replacement
a
c-string
Outputs
char*
a
c-ptr
Word description
Returns the original native allocation (or f). Release it with
mem-free
. 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:
text-replace-alloc-raw
char*
TextReplaceAlloc
(
c-string
text,
c-string
search,
c-string
replacement )