| 1422 | } |
| 1423 | |
| 1424 | static void getstr(Lua lua, const char **s, int i) |
| 1425 | { |
| 1426 | *s = NULL; |
| 1427 | dbtypes_enum t = luabb_dbtype(lua, i); |
| 1428 | if (t == DBTYPES_CSTRING) |
| 1429 | *s = (((const lua_cstring_t *)lua_topointer(lua, i))->val); |
| 1430 | else if (lua_isstring(lua, i)) |
| 1431 | *s = lua_tostring(lua, i); |
| 1432 | } |
| 1433 | |
| 1434 | static void getstrs(Lua lua, const char **s1, const char **s2) |
| 1435 | { |
no test coverage detected