Skip to content

Commit

Permalink
CLEANUP: Refactor methods of setting ritems
Browse files Browse the repository at this point in the history
  • Loading branch information
ing-eoking committed Apr 4, 2024
1 parent b1cae74 commit 3d70157
Show file tree
Hide file tree
Showing 3 changed files with 230 additions and 127 deletions.
1 change: 1 addition & 0 deletions mc_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ typedef struct _mblck_pool {
#define MBLCK_GET_BODYLEN(l) ((l)->body_len)
#define MBLCK_GET_ITEMCNT(l) ((l)->item_cnt)
#define MBLCK_GET_ITEMLEN(l) ((l)->item_len)
#define MBLCK_GET_TOTALSZ(l) ((l)->item_cnt * (l)->item_len)
#define MBLCK_GET_NEXTBLK(b) ((b)->next)
#define MBLCK_GET_BODYPTR(b) ((b)->data)

Expand Down
Loading

0 comments on commit 3d70157

Please sign in to comment.