diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-11-18 10:22:05 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-11-18 10:22:05 +0100 |
commit | 7ad4ed4670f136ba9f4bb65d4a5ccdb4ef5b567d (patch) | |
tree | 12d4a2cb928a82247ad7438be555d2bfe9f0667f | |
parent | 8d5f2af1495f8fcac4652d3939c859353c45498c (diff) | |
download | lua-file-magic-0.1.tar.bz2 lua-file-magic-0.1.tar.xz |
The rest is related compiling and checking the magic file.
We leave this out for now.
-rw-r--r-- | magic.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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} }; |