orangeduck/LuaAutoC — pull request #2 by devurandom (2012-09-09 20:48:37+00:00)
Title: Use C89 offsetof() instead of custom luaA_struct_offset()

Replace luaA_struct_offset() with a call to the C89 macro offsetof() and use the latter in all other macros.
The return type of that is size_t and not int, so all occurances of "int offset" should also be changed to "size_t offset".