• Xiao Deng's avatar
    Return NULL from plist_copy() if passed a NULL pointer · ea5b54b4
    Xiao Deng authored
    This will prevent an assert if a NULL pointer is passed, and can make
    writing some code easier and cleaner without the need for a NULL check.
    For example, plist_copy(plist_dict_get_item(dict, "abc")) would give us
    a copy of the dict's node if the dict has a value for the given key, or
    NULL without any further checks.
    ea5b54b4
Name
Last commit
Last update
.github/workflows Loading commit data...
cython Loading commit data...
fuzz Loading commit data...
include Loading commit data...
libcnary Loading commit data...
m4 Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
doxygen.cfg.in Loading commit data...