fast_mblock.h add static inline

pull/4/head
yuqing 2015-06-25 10:25:23 +08:00
parent f296a3e459
commit 693874d0b9
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
Version 1.16 2015-06-19
Version 1.16 2015-06-25
* fast_mblock add fast_mblock_delay_free
Version 1.15 2015-06-16

View File

@ -149,7 +149,7 @@ parameters:
delay: delay seconds to free
return 0 for success, return none zero if fail
*/
int fast_mblock_delay_free_object(struct fast_mblock_man *mblock,
static inline int fast_mblock_delay_free_object(struct fast_mblock_man *mblock,
void *object, const int delay)
{
return fast_mblock_delay_free(mblock, fast_mblock_to_node_ptr(object), delay);