From 7ad4ed4670f136ba9f4bb65d4a5ccdb4ef5b567d Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 18 Nov 2011 10:22:05 +0100 Subject: Comment out unimplemented stuff The rest is related compiling and checking the magic file. We leave this out for now. --- magic.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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} }; -- cgit v1.2.3