Re: Blank Window (Tile Engine)

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu