pike.git / src / program.h

version» Context lines:

pike.git/src/program.h:1017:    struct program *prog,    INT_TYPE *linep);   PMOD_EXPORT struct pike_string *low_get_function_line (struct object *o,    int fun,    INT_TYPE *linep);   PMOD_EXPORT struct pike_string *get_identifier_line(struct program *p,    int fun,    INT_TYPE *linep);   struct supporter_marker;   void count_memory_in_supporter_markers(size_t *num, size_t *size); - PMOD_EXPORT int low_quick_add_function(struct pike_string *name_tmp, + PMOD_EXPORT int quick_add_function(const char *name, int name_length,    void (*cfun)(INT32),    const char *type,    int type_length,    unsigned flags,    unsigned opt_flags);   void check_all_programs(void);   void init_program(void);   void cleanup_program(void);   PMOD_EXPORT void visit_program (struct program *p, int action, void *extra);   void gc_mark_program_as_referenced(struct program *p);
pike.git/src/program.h:1089:    */   static inline int PIKE_UNUSED_ATTRIBUTE FIND_LFUN(struct program * p, enum LFUN lfun) {   #ifdef PIKE_DEBUG    dmalloc_touch(struct program*, p);    if ((int)lfun < 0) return find_lfun_fatal(p, lfun);   #endif    if (p->flags & PROGRAM_FIXED && lfun < NUM_LFUNS) return p->lfuns[lfun];    return low_find_lfun(p, lfun);   }    - #define quick_add_function(NAME, NLEN, FUNC, TYPE, TLEN, FLAGS, OPT) \ -  low_quick_add_function(STATIC_IS_CONSTANT(NAME) \ -  ? make_shared_static_string(NAME, NLEN, eightbit) \ -  : make_shared_binary_string(NAME, NLEN), \ -  FUNC, TYPE, TLEN, FLAGS, OPT) +     -  +    #ifndef PIKE_USE_MACHINE_CODE   #define make_program_executable(X)   #endif      #define ADD_FUNCTION(NAME, FUNC, TYPE, FLAGS) \    quick_add_function(NAME, CONSTANT_STRLEN(NAME), FUNC, TYPE,\    CONSTANT_STRLEN(TYPE), FLAGS, \    OPT_SIDE_EFFECT|OPT_EXTERNAL_DEPEND)      #define ADD_PROTOTYPE(NAME, TYPE, FLAGS) \