Advertisement
Guest User

Untitled

a guest
Feb 19th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. bool getAllocatedFlagFromHeader(int index) {
  2. return *(reinterpret_cast<bool*>(&MM_pool[index]));
  3. }
  4.  
  5. unsigned short int& getSizeFrom(int index) {
  6. return *(reinterpret_cast<unsigned short int*>(&MM_pool[index+1]));
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement