pike.git / src / constants.c

version» Context lines:

pike.git/src/constants.c:176:    struct pike_string *n;    struct pike_type *t;      #ifdef PIKE_DEBUG    if(simple_mapping_string_lookup(builtin_constants, name))    Pike_fatal("%s added as efun more than once.\n", name);   #endif       n = make_shared_binary_string(name, name_length);    t = make_pike_type(type); - #ifdef DEBUG -  check_type_string(t); - #endif +     add_ref(n);    SET_SVAL(s, T_FUNCTION, FUNCTION_BUILTIN, efun,    low_make_callable(fun, n, t, flags, optimize, docode));    mapping_string_insert(builtin_constants, n, &s);    free_svalue(&s);    free_string(n);   }      PMOD_EXPORT void visit_callable (struct callable *c, int action, void *extra)   {