mirror of
https://github.com/MaJerle/lwmem.git
synced 2025-01-13 21:42:53 +08:00
Add description for casting macro
This commit is contained in:
parent
50da788391
commit
911a38b160
@ -84,8 +84,9 @@
|
||||
|
||||
/**
|
||||
* \brief Cast input pointer to byte
|
||||
* \param[in] p: Input pointer to cast to byte pointer
|
||||
*/
|
||||
#define LWMEM_TO_BYTE_PTR(_p_) ((unsigned char *)(_p_))
|
||||
#define LWMEM_TO_BYTE_PTR(p) ((unsigned char *)(p))
|
||||
|
||||
/**
|
||||
* \brief Set block as allocated
|
||||
|
Loading…
x
Reference in New Issue
Block a user