static int createSpherical(lua_State* luaSt, const MWNamedArg* argTable, Spherical* s) { oneTableArgument(luaSt, argTable); if (checkSphericalConstants(s)) luaL_error(luaSt, "Invalid bulge encountered"); pushSpherical(luaSt, s); return 1; }
static int createDisk(lua_State* luaSt, const MWNamedArg* argTable, Disk* d) { oneTableArgument(luaSt, argTable); pushDisk(luaSt, d); return 1; }