summaryrefslogtreecommitdiff
path: root/src/container.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-05-12 21:38:38 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-05-12 21:38:38 -0700
commit3eb8ca2284ad42a80c3fd6edae33c1dbe20b94e5 (patch)
tree64ff7d305fa18948cec923df2fd5f10009ff5e3c /src/container.h
parent5cc37b5bed7c8a6539871483b49aa35a18f3bef6 (diff)
libpad: pad_free() accept and return NULLHEADmaster
Minor ergonimics change, originally I liked the idea of policing programming errors like attempting to free a NULL pad. But in practice it's just more convenient to be free-like ignoring NULL inputs, and while at it return a NULL pointer in case a reused pointer needs to be NULL'd on free.
Diffstat (limited to 'src/container.h')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved