|
lua_Integer and lua_Number are parameterised because they represent user's values. The other 'ints' in the API are strongly related to the internal implementation of Lua. To parameterise them would mean to parameterise the entire source code. I think this would be a nightmare.
What about typedefing light useradata?