pike.git / src / constants.h

version» Context lines:

pike.git/src/constants.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: constants.h,v 1.9 1999/04/15 04:08:10 hubbe Exp $ +  * $Id: constants.h,v 1.10 1999/12/07 09:40:55 hubbe Exp $    */   #ifndef ADD_EFUN_H   #define ADD_EFUN_H      #include "svalue.h"   #include "hashtable.h"   #include "las.h" /* For OPT_SIDE_EFFECT etc. */   #include "block_alloc_h.h"      typedef int (*docode_fun)(node *n);
pike.git/src/constants.h:47:    struct pike_string *type,    INT16 flags,    optimize_fun optimize,    docode_fun docode);   struct callable *make_callable(c_fun fun,    char *name,    char *type,    INT16 flags,    optimize_fun optimize,    docode_fun docode); - void add_efun2(char *name, + struct callable *add_efun2(char *name,    c_fun fun,    char *type,    INT16 flags,    optimize_fun optimize,    docode_fun docode); - void add_efun(char *name, c_fun fun, char *type, INT16 flags); - void quick_add_efun(char *name, int name_length, + struct callable *add_efun(char *name, c_fun fun, char *type, INT16 flags); + struct callable *quick_add_efun(char *name, int name_length,    c_fun fun,    char *type, int type_length,    INT16 flags,    optimize_fun optimize,    docode_fun docode);   void cleanup_added_efuns(void); - void count_memory_in_callables(INT32 *num_, INT32 *size_); +    /* Prototypes end here */         #include "pike_macros.h"      #define ADD_EFUN(NAME,FUN,TYPE,FLAGS) \    quick_add_efun(NAME,CONSTANT_STRLEN(NAME),FUN,TYPE,CONSTANT_STRLEN(TYPE),FLAGS,0,0)      #define ADD_EFUN2(NAME,FUN,TYPE,FLAGS,OPTIMIZE,DOCODE) \    quick_add_efun(NAME,CONSTANT_STRLEN(NAME),FUN,TYPE,CONSTANT_STRLEN(TYPE),FLAGS,OPTIMIZE,DOCODE)   #endif