polyadvent

A game engine from scratch in C
git clone git://jb55.com/polyadvent
Log | Files | Refs | README

slab_geom.h (360B)


      1 
      2 #ifndef SLAB_GEOM
      3 #define SLAB_GEOM
      4 
      5 #include "geometry.h"
      6 #include "slab.h"
      7 #include <stddef.h>
      8 
      9 struct geometry*
     10 slab_alloc_arrays(const struct slab *slab,
     11                   struct geometry *geom,
     12                   void* (*_realloc)(void*, size_t));
     13 
     14 void
     15 slab_free_arrays(struct geometry *geom,
     16                  void (*_free)(void*));
     17 
     18 #endif // SLAB_GEOM