ABF: read and write std::vector and std::set.
[fail.git] / lua / state.cpp
blobd448dc4975da0356c34c230cc32caa5161c8353f
1 #include "state.h"
2 #include <stdlib.h>
4 void* awful::LuaState::LuaAlloc( void* /*ud*/, void* ptr, size_t /*osize*/, size_t nsize )
6 if( nsize )
7 return realloc( ptr, nsize );
9 free(ptr);
10 return NULL;