mojoshader_preprocessor.c
changeset 647 a09899ba5e8c
parent 646 60911555980a
child 648 243e35876142
equal deleted inserted replaced
646:60911555980a 647:a09899ba5e8c
   332     } // while
   332     } // while
   333     init_buffer(buffer);
   333     init_buffer(buffer);
   334 } // free_buffer
   334 } // free_buffer
   335 
   335 
   336 
   336 
       
   337 // !!! FIXME: maybe use these pool magic elsewhere?
   337 
   338 
   338 // Pool stuff...
   339 // Pool stuff...
   339 // ugh, I hate this macro salsa.
   340 // ugh, I hate this macro salsa.
   340 #define FREE_POOL(type, poolname) \
   341 #define FREE_POOL(type, poolname) \
   341     static void free_##poolname##_pool(Context *ctx) { \
   342     static void free_##poolname##_pool(Context *ctx) { \