Conversation
`cf_sprite_is_valid` returns a `bool` depending whether the checks confirm the sprite is a valid struct by comparing the ids.
|
Hmm maybe we should just make it a macro |
|
Yeah but then macros are just... well, macros. No types, no nothing. This is technically safer, better documented, public API. |
|
I don’t really see how it’s safer and we can document a macro the same way we document anything else using docsparser. Macro would also be more performant. Hmm macro can also work with all CF types, e.g. |
|
Example: 05df187 |
|
Yeah got it. I'll get back to this PR when I have time. Busy with another project. Feel free to close. |
cf_sprite_is_validreturns abooldepending whether the checks confirm the sprite is a valid struct by comparing the ids.