| 1507 | }; |
| 1508 | |
| 1509 | static void init_cstring(Lua L) |
| 1510 | { |
| 1511 | luaL_newmetatable(L, dbtypes.cstring); |
| 1512 | lua_pushstring(L, "__index"); |
| 1513 | lua_pushvalue(L, -2); |
| 1514 | lua_settable(L, -3); |
| 1515 | |
| 1516 | luaL_openlib(L, NULL, cstring_funcs, 0); |
| 1517 | init_common(L); |
| 1518 | |
| 1519 | lua_pop(L, 1); |
| 1520 | } |
| 1521 | |
| 1522 | int l_blob_new(lua_State *lua) { |
| 1523 | lua_blob_t *d; |
no test coverage detected