summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-11-18 10:22:05 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2011-11-18 10:22:05 +0100
commit7ad4ed4670f136ba9f4bb65d4a5ccdb4ef5b567d (patch)
tree12d4a2cb928a82247ad7438be555d2bfe9f0667f
parent8d5f2af1495f8fcac4652d3939c859353c45498c (diff)
downloadlua-file-magic-0.1.tar.bz2
lua-file-magic-0.1.tar.xz
Comment out unimplemented stuffHEADv0.1master
The rest is related compiling and checking the magic file. We leave this out for now.
-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}
};