pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:6782:    id=make_shared_binary_string(name,namelen);    ret=add_constant(id, &tmp, flags);    /* The following is not really true, but it helps encode_value()... */    Pike_compiler->new_program->flags |=    tmp.u.program->flags & PROGRAM_HAS_C_METHODS;    free_string(id);    free_svalue(&tmp);    return ret;   }    + int is_lfun_name(struct pike_string *name) + { +  if (low_mapping_string_lookup(lfun_types, name)) { +  return 1; +  } +  return 0; + } +    /**    * Define a new function.    *    * if func isn't given, it is supposed to be a prototype.    */   INT32 define_function(struct pike_string *name,    struct pike_type *type,    unsigned flags,    unsigned function_flags,    union idptr *func,