pike.git / src / modules / Gdbm / gdbmmod.c

version» Context lines:

pike.git/src/modules/Gdbm/gdbmmod.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: gdbmmod.c,v 1.27 2004/10/07 22:49:56 nilsson Exp $ + || $Id: gdbmmod.c,v 1.28 2005/11/14 21:15:25 nilsson Exp $   */      #include "global.h"   #include "gdbm_machine.h"   #include "threads.h"      /* Todo: make sure only one thread accesses the same gdbmmod */      #include "interpret.h"   #include "svalue.h"
pike.git/src/modules/Gdbm/gdbmmod.c:483: Inside #if defined(HAVE_GDBM_H) && defined(HAVE_LIBGDBM)
   /* function(string:string) */    ADD_FUNCTION("nextkey",gdbmmod_nextkey,tFunc(tStr,tStr),0);    /* function(:int) */    ADD_FUNCTION("reorganize",gdbmmod_reorganize,tFunc(tNone,tInt),0);    /* function(:void) */    ADD_FUNCTION("sync",gdbmmod_sync,tFunc(tNone,tVoid),0);       set_init_callback(init_gdbm_glue);    set_exit_callback(exit_gdbm_glue);    end_class("gdbm",0); + #else +  if(!TEST_COMPAT(7,6)) +  HIDE_MODULE();   #endif   }