diff options
author | Přemysl Janouch <p@janouch.name> | 2018-10-17 03:53:07 +0200 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-10-17 03:53:07 +0200 |
commit | 1d638c9170c2f785000aa1e7fff30974ae9be3d6 (patch) | |
tree | 280888729606723b84601c02bab1a1bff64818f6 /cmake/FindLibMagic.cmake | |
parent | 83363e6383a7589d2a691ca1f988acb38ccea5b3 (diff) | |
download | json-rpc-shell-1d638c9170c2f785000aa1e7fff30974ae9be3d6.tar.gz json-rpc-shell-1d638c9170c2f785000aa1e7fff30974ae9be3d6.tar.xz json-rpc-shell-1d638c9170c2f785000aa1e7fff30974ae9be3d6.zip |
Say "finalize" instead of "destroy" where appropriate
- _make() returns a struct directly
- _init() initializes over a pointer
- _free() deinitializes over a pointer
- _new() is like _init() but also allocates
- _destroy() is like _free() but also deallocates
Finalization is a matching concept in garbage-collected languages.
Diffstat (limited to 'cmake/FindLibMagic.cmake')
0 files changed, 0 insertions, 0 deletions