README.funnames
raw| 1 | Classes defining XXX_construct also define |
| 2 | |
| 3 | XXX_destruct: these functions expect an XXX *ptr and free all memory |
| 4 | allocated by XXX_construct, accessed via ptr |
| 5 | |
| 6 | XXX_delete: these functions expect an XXX **ptr: they call |
| 7 | XXX_destruct(*ptr), then free(*ptr) and do *ptr = 0, |
| 8 | and should be used for dynamically allocated objects |
| 9 | |
| 10 | XXX_new: these functions return an XXX *, allocated as XXX object, |
| 11 | expecting all but XXX_construct's 1st arguments. |