Re: Blank Window (Tile Engine)
- Posted by Icy_Viking in April
- 321 views
irv said...
What is this C_STRING keyword?
I thought we had to use allocate_string() for that.
I'm using Greg's FFI library for it. It allows for supports of structs and a C_STRING Greg made that takes of string allocation for you. So if you use the FFI library you don't need to use the allocate_string() command.
FFI Library: https://github.com/ghaberek/libffi-euphoria
See this wrapper for examples of structs being wrapped: https://github.com/gAndy50/EuRayLib4/blob/main/Include/raylib.e