@@ -327,7 +327,7 @@ void *poolFixedMalloc(long size /* bytes */);
327
327
* \param[in] size (in bytes) of the block, not including the block header.
328
328
* \return a \ref block with enough capacity for \p size bytes of data. The
329
329
* data space is filled with random contents, but in the block header its
330
- * \p size is noted. Exit on out-of-memory
330
+ * \p size is noted.´ Exit on out-of-memory
331
331
*/
332
332
void * poolMalloc (long size /* bytes */ );
333
333
/*!
@@ -364,13 +364,13 @@ void poolFree(void *ptr);
364
364
* \n
365
365
* Before \p ptr is added to \ref memUsedPool, the pool size is checked and
366
366
* increased by \ref MEM_POOL_GROW if full. This may lead to out-of-memory
367
- * \ref bug "bugs ". But if \p prt is added to the end of the \ref memUsedPool,
367
+ * \ref outOfMemory "exit ". But if \p ptr is added to the end of the \ref memUsedPool,
368
368
* \ref poolTotalFree is updated.
369
369
* \param[in] ptr pointer to a \ref block.
370
370
* \pre
371
371
* the block is \ref fragmentation "fragmented" (contains unused memory)
372
- * If it is full \ref bug is called and the function returns without further
373
- * action.
372
+ * If it is full, \ref bugfn " bug" is called and the function returns without
373
+ * further action.
374
374
* \post
375
375
* - \ref poolTotalFree is the current free space in bytes in both pools.
376
376
* - A full \ref block is not added to \ref memUsedPool by this function.
@@ -401,7 +401,7 @@ void memFreePoolPurge(flag untilOK);
401
401
* \param[out] usedActual (not-null) address of a long variable receiving the
402
402
* accumulated bytes consumed by usage so far. This value includes the hidden
403
403
* header of the block.
404
- * \pre Do not call within bug() .\n
404
+ * \pre Do not call within \ref bugfn " bug" .\n
405
405
* Submit only non-null pointers, even if not all information is requested.\n
406
406
* Pointers to irrelevant information may be the same.
407
407
* \post Statistic data is copied to the locations the parameters point to.
@@ -434,7 +434,9 @@ void outOfMemory(const char *msg);
434
434
435
435
/* Bug check error */
436
436
/*!
437
+ * \anchor bugfn
437
438
* \fn void bug(int bugNum)
439
+ * \param[in] bugNum
438
440
*/
439
441
void bug (int bugNum );
440
442
0 commit comments