pike.git / src / pike_macros.h

version» Context lines:

pike.git/src/pike_macros.h:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: pike_macros.h,v 1.7 1998/04/08 01:00:58 hubbe Exp $ +  * $Id: pike_macros.h,v 1.8 1998/05/05 22:01:41 grubba 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:23:   ((struct str_type *)((char*)ptr - (char*)& (((struct str_type *)0)->field)))      #define NELEM(a) (sizeof (a) / sizeof ((a)[0]))   #define ALLOC_STRUCT(X) ( (struct X *)xalloc(sizeof(struct X)) )      #define MINIMUM(X,Y) ((X)<(Y)?(X):(Y))   #define MAXIMUM(X,Y) ((X)>(Y)?(X):(Y))         #define is8bitalnum(X) ("0000000000000000" \ -  "0000000000001000" \ +     "0000000000000000" \ -  +  "0000000000000000" \    "1111111111000000" \    "0111111111111111" \    "1111111111100001" \    "0111111111111111" \    "1111111111100000" \    "0000000000000000" \    "0000000000000000" \    "1011110101100010" \    "1011011001101110" \    "1111111111111111" \