summaryrefslogtreecommitdiffstats
path: root/magic.c
diff options
context:
space:
mode:
Diffstat (limited to 'magic.c')
-rw-r--r--magic.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/magic.c b/magic.c
index bf7e836..e2f222f 100644
--- a/magic.c
+++ b/magic.c
@@ -59,11 +59,13 @@ static void init_consts(lua_State *L)
}
}
+#if 0
static int Ptodo(lua_State *L)
{
printf("todo\n");
return 0;
}
+#endif
static int Popen(lua_State *L)
{
@@ -188,9 +190,10 @@ static const luaL_reg Pmagic_methods[] = {
{"error", Perror},
{"setflags", Psetflags},
{"load", Pload},
- {"compile", Ptodo},
+/* {"compile", Ptodo},
{"check", Ptodo},
{"list", Ptodo},
+*/
{"errno", Perrno},
{NULL, NULL}
};