| 921 | |
| 922 | |
| 923 | static int gc_printobj (lua_State *L) { |
| 924 | TValue *o; |
| 925 | luaL_checkany(L, 1); |
| 926 | o = obj_at(L, 1); |
| 927 | if (!iscollectable(o)) |
| 928 | printf("no collectable\n"); |
| 929 | else { |
| 930 | GCObject *obj = gcvalue(o); |
| 931 | printobj(G(L), obj); |
| 932 | printf("\n"); |
| 933 | } |
| 934 | return 0; |
| 935 | } |
| 936 | |
| 937 | |
| 938 | static int gc_state (lua_State *L) { |
nothing calls this directly
no test coverage detected