Making an issue before a pull request in case I'm misunderstanding something.
Here a new tag is created but its user data is not initialized: https://github.com/RandyGaul/cute_headers/blob/master/cute_aseprite.h#L1100
Which should mean the uninitialized user data (like has_text) is random. The crash I was having was because the "has_text" field was "true" due to a random non zero value, which led to a crash when actually checking the text field which was NULL.
(Sorry for the edit to the issue, I accidentally pressed shift+enter, creating the issue before I was finished.)
Making an issue before a pull request in case I'm misunderstanding something.
Here a new tag is created but its user data is not initialized: https://github.com/RandyGaul/cute_headers/blob/master/cute_aseprite.h#L1100 Which should mean the uninitialized user data (like has_text) is random. The crash I was having was because the "has_text" field was "true" due to a random non zero value, which led to a crash when actually checking the text field which was NULL.
(Sorry for the edit to the issue, I accidentally pressed shift+enter, creating the issue before I was finished.)