jorgefz / Lince

OpenGL game engine written in C
MIT License
0 stars 0 forks source link

Create a string type #2

Closed jorgefz closed 1 week ago

jorgefz commented 1 week ago

To make it easier to pass a string (and its length) around, package both together into a handy container. This contained should be simple and esy to use, and does not need as much functionality as .e.g array_t.

jorgefz commented 1 week ago

Added string type string_t with minimal functionality, e.g. wrapper for a heap-allocated char array and a length.