|
More accurately, it should return the number of values it pushed, which for most push functions will always be 1. That would simplify returning a value slightly: return lua_pushinteger(L, 42); instead of: lua_pushinteger(L, 42); return 1; -- Sent from my Game Boy.