The userData void* seem to be assigned NULL on initialization, but can I trust it to always initialized to NULL? No difference in optimization, special conditions or preprocessor values?
I don't like to assume things. =) A lot of libraries prefer to not initialize values that the user assign anyway to save what little there is in performance.
Checking the userData for NULL/0 would seem obvious in that case, before trying to access it.
It's not mentioned in the manual as far as I could see, so the info could be a small but useful addition to the manual?
Cheers
I don't like to assume things. =) A lot of libraries prefer to not initialize values that the user assign anyway to save what little there is in performance.
Checking the userData for NULL/0 would seem obvious in that case, before trying to access it.
It's not mentioned in the manual as far as I could see, so the info could be a small but useful addition to the manual?
Cheers