mojoshader_preprocessor.c
changeset 672 bcca8b3ae152
parent 658 22695d3d6b98
child 674 8ab124b33d3c
equal deleted inserted replaced
671:af7b7bfdfc2a 672:bcca8b3ae152
   360     }
   360     }
   361 
   361 
   362 #define PUT_POOL(type, poolname) \
   362 #define PUT_POOL(type, poolname) \
   363     static void put_##poolname(Context *ctx, type *item) { \
   363     static void put_##poolname(Context *ctx, type *item) { \
   364         item->next = ctx->poolname##_pool; \
   364         item->next = ctx->poolname##_pool; \
       
   365         ctx->poolname##_pool = item; \
   365     }
   366     }
   366 
   367 
   367 #define IMPLEMENT_POOL(type, poolname) \
   368 #define IMPLEMENT_POOL(type, poolname) \
   368     FREE_POOL(type, poolname) \
   369     FREE_POOL(type, poolname) \
   369     GET_POOL(type, poolname) \
   370     GET_POOL(type, poolname) \