Max Bruckner
Max Bruckner
See also #903 and #821
Rebased to fix formatting
Sorry for not doing due diligence and checking for existing pull requests. How should I proceed? Close this in favor of the existing pull request? I've noticed that there hasn't...
> https://github.com/rust-lang/rust-bindgen/issues/2360 I've seen that one, but not sure how it is related because that issue was fixed in bindgen 0.64 and `samael` uses `0.68`. I've tried with clang `14`,...
Sorry for the misunderstanding and thanks for the explanation! I guess I just didn't fully understand that statically linking the musl libc implies not being able to load other dynamic...
Yes, now that I think about it the library only ever uses it as single linked list.
There are potentially 3 different sizes in the new struct. The size of a pointer, `sizeof(int)` and `sizeof(double)`. The order I used in the suggested version of the new struct...
With `previous` removed, the following variant has no padding on all architectures I can think of: ``` c typedef struct cJSON { union { char *string; double number; } char...
I consider this C11 compatible (if even) pseudo code XD. That shows you that I never put this code through a compiler. But correct syntax doesn't matter for the purpose...
Actually, cJSON is keeping compatible with C89 and avoids any C99 and C11 features (that haven't been available in C89). Don't worry, this GitHub issue is not cJSONs source code!