Changed "uninitialised" to "zeroed"
This commit is contained in:
parent
e49aed8012
commit
deb90ae59d
|
@ -119,9 +119,8 @@ pre-allocated memory (e.g. a member of a struct).
|
||||||
* `create`/`destroy`: These also initialize/deinitialize, but will return a
|
* `create`/`destroy`: These also initialize/deinitialize, but will return a
|
||||||
pointer to a `malloc`ed chunk of memory, and will `free` it in `destroy`.
|
pointer to a `malloc`ed chunk of memory, and will `free` it in `destroy`.
|
||||||
|
|
||||||
A destruction function should always be able to accept a NULL pointer or an
|
A destruction function should always be able to accept a NULL pointer or a
|
||||||
otherwise uninitialised value and exit cleanly; this simplifies error handling
|
zeroed value and exit cleanly; this simplifies error handling a lot.
|
||||||
a lot.
|
|
||||||
|
|
||||||
### Error Codes
|
### Error Codes
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue