pike.git / src / pike_macros.h

version» Context lines:

pike.git/src/pike_macros.h: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: pike_macros.h,v 1.30 2002/05/31 22:41:25 nilsson Exp $ +  * $Id: pike_macros.h,v 1.31 2002/08/15 14:49:24 marcus Exp $    */   #ifndef MACROS_H   #define MACROS_H      #include <global.h>      #ifdef HAVE_SYS_PARAM_H   #include <sys/param.h>   #endif   
pike.git/src/pike_macros.h:109:   }while(0)      #define DOUBLEUNLINK(first_object,o) do{ \    debug_malloc_touch(o); \    if(o->prev) { \    o->prev->next=o->next; \    }else { \    DO_IF_DEBUG( \    if(first_object != o) { \    describe(o); \ -  fatal("Linked in wrong list!\n"); \ +  Pike_fatal("Linked in wrong list!\n"); \    } \    ) \    first_object=o->next; \    } \    \    if(o->next) o->next->prev=o->prev; \   }while(0)         #define PIKE_XCONCAT(X,Y) PIKE_CONCAT(X,Y)   #define PIKE_XCONCAT3(X,Y,Z) PIKE_CONCAT(X,Y,Z)   #define PIKE_XCONCAT4(X,Y,Z,Q) PIKE_CONCAT(X,Y,Z,Q)      /* Useful to get a literal comma in an argument to a macro. */   #define COMMA ,      /* Needed for fsort_template.h */   PMOD_EXPORT int my_log2(size_t x);      #endif