jorgefz / Lince

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

hashmap_t: Store keys as string_t #9

Closed jorgefz closed 1 week ago

jorgefz commented 1 week ago

Two main changes:

  1. Store keys as string_t
  2. Change get(), set(), iter(), and has_key() functions to take string_t

These steps are necessary to remove usage of strlen in the code of hashmap_t.