Handbook
Glossary
text-replace-between-alloc-raw ( text begin end replacement -- char* )
Raylib memory ownership
Prev:
text-replace-alloc-raw ( text search replacement -- char* )
Next:
text-insert-alloc-raw ( text insert position -- char* )
Vocabulary
raylib
Inputs
text
a
c-string
begin
a
c-string
end
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-between-alloc-raw
char* TextReplaceBetweenAlloc
(
c-string
text,
c-string
begin,
c-string
end,
c-string
replacement )