pike.git / src / constants.h

version» Context lines:

pike.git/src/constants.h:68:    int flags,    optimize_fun optimize,    docode_fun docode);   PMOD_EXPORT void add_efun(const char *name, c_fun fun, const char *type, int flags);   PMOD_EXPORT void quick_add_efun(const char *name, ptrdiff_t name_length,    c_fun fun,    const char *type, ptrdiff_t type_length,    int flags,    optimize_fun optimize,    docode_fun docode); - PMOD_EXPORT void visit_callable (struct callable *c, int action); + PMOD_EXPORT void visit_callable (struct callable *c, int action, void *extra);   void init_builtin_constants(void);   void exit_builtin_constants(void);   /* Prototypes end here */    - #define visit_callable_ref(C, REF_TYPE) \ + #define visit_callable_ref(C, REF_TYPE, EXTRA) \    visit_ref (pass_callable (C), (REF_TYPE), \ -  (visit_thing_fn *) &visit_callable, NULL) +  (visit_thing_fn *) &visit_callable, (EXTRA))      #include "pike_macros.h"      #define ADD_EFUN2(NAME,FUN,TYPE,OPT_FLAGS,OPTIMIZE,DOCODE) \    quick_add_efun(NAME,CONSTANT_STRLEN(NAME),FUN, \    TYPE,CONSTANT_STRLEN(TYPE),OPT_FLAGS,OPTIMIZE,DOCODE)      #define ADD_EFUN(NAME,FUN,TYPE,OPT_FLAGS) \    ADD_EFUN2(NAME,FUN,TYPE,OPT_FLAGS,0,0)