@@ -49,7 +49,7 @@ described below:
49493. When a chunk is no longer needed, free it so it can be used by subsequent
5050 allocations.
51514. Optionally expand the pool, if you run out of chunks.
52- 5. When the pool itself is no longer needed, close it.
52+ 5. When the pool itself is no longer needed, destroy it.
5353
5454For a full example, see [[file:src/libpool-test.c][src/libpool-test.c]].
5555
@@ -65,7 +65,7 @@ This library consists of only 5 functions:
6565
6666 This function will allocate a =Pool= structure, along with the array of chunks
6767 used for later allocations. The caller must free the returned pointer using
68- =pool_close =.
68+ =pool_destroy =.
6969
7070 Note that the =chunk_sz= argument must be greater or equal than
7171 =sizeof(void*)=. For more information, see the /Caveats/ section.
@@ -77,11 +77,11 @@ This library consists of only 5 functions:
7777 On success, it returns /true/; otherwise, it returns /false/ and leaves the pool
7878 unchanged.
7979
80- - Function: =pool_close = ::
80+ - Function: =pool_destroy = ::
8181
8282 Free all data in a =Pool= structure, along with the structure itself. After a
83- pool is closed , all data previously allocated from that pool (with =pool_alloc=)
84- becomes unusable.
83+ pool is destroyed , all data previously allocated from that pool (with
84+ =pool_alloc=) becomes unusable.
8585
8686 Allows =NULL= as the argument.
8787
0 commit comments