| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 10 hours | test: fix leak of iii in integer_set test | 1 | -0/+2 | ||
| Free the plist created for the test before exiting, which fixes a leak reported by LeakSanitizer. Co-authored-by: bg0d-droid <81825610+bg0d-droid@users.noreply.github.com> | |||||
| 2023-01-16 | Rename PLIST_UINT to PLIST_INT and add plist_new_int() and plist_get_int_val() | 1 | -0/+130 | ||
| This properly supports getting and setting signed or unsigned integer values. Also, a new helper function plist_int_val_is_negative() was added to determine if a given #PLIST_INT node has a negative value or not. The old type PLIST_UINT is defined as a macro with the value of PLIST_INT for backwards compatibility. This commit also adds int vs. uint support to the C++ interface, and the python bindings in a hopefully useful way. | |||||
