You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder why do we need these duplicated checks here? The ones from src/nuklear.h do the very same thing, and all src/*.c files are including both of those headers, so I'm not sure what is the benefit?
This thing can only really harm us, just like in case of #185 where the sizeof(nk_bool) checks were different between each file, and went unnoticed for so long.
In theory having some duplication in src/nuklear_internal.h may make sense, but in practice those checks just do nothing. The proper sizes are already ensured at the moment when any of those is hit. This just looks like a dead code to me at this point.
I'm planning to remove this unless someone has a good reason to keep it (?)
Follow up from #884 (comment)
In theory having some duplication in
src/nuklear_internal.hmay make sense, but in practice those checks just do nothing. The proper sizes are already ensured at the moment when any of those is hit. This just looks like a dead code to me at this point.I'm planning to remove this unless someone has a good reason to keep it (?)