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
Are values of LZ4_FREESTANDING other than 0 or 1 valid? LZ4_FREESTANDING outside of that range enables a use case: I don't want to include string.h or use libc, but I still want heap mode & dynamic allocation. If I set LZ4_FREESTANDING to, say, 2, and define LZ4_HEAPMODE along with the corresponding user memory functions and LZ4_memcpy/LZ4_memmove/LZ4_memset macros, this gets me what I want. It seems to be outside of what was intended, though, and I want to be future proof. Am I out-of-bounds by doing this? WIll it come back to bite me in the future?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Are values of LZ4_FREESTANDING other than 0 or 1 valid? LZ4_FREESTANDING outside of that range enables a use case: I don't want to include
string.hor use libc, but I still want heap mode & dynamic allocation. If I set LZ4_FREESTANDING to, say, 2, and defineLZ4_HEAPMODEalong with the corresponding user memory functions and LZ4_memcpy/LZ4_memmove/LZ4_memset macros, this gets me what I want. It seems to be outside of what was intended, though, and I want to be future proof. Am I out-of-bounds by doing this? WIll it come back to bite me in the future?All reactions