| 30 | } |
| 31 | |
| 32 | int main(void) |
| 33 | { |
| 34 | lua_State *L=lua_open(); |
| 35 | lua_register(L,"print",print); |
| 36 | if (luaL_dofile(L,NULL)!=0) fprintf(stderr,"%s\n",lua_tostring(L,-1)); |
| 37 | lua_close(L); |
| 38 | return 0; |
| 39 | } |
nothing calls this directly
no test coverage detected