pike.git / src / constants.c

version» Context lines:

pike.git/src/constants.c:84:    char *type,    INT16 flags,    optimize_fun optimize,    docode_fun docode)   {    struct svalue s;    struct pike_string *n;       n=make_shared_string(name);    s.type=T_FUNCTION; -  s.subtype=-1; +  s.subtype=FUNCTION_BUILTIN;    s.u.efun=make_callable(fun, name, type, flags, optimize, docode);    low_add_efun(n, &s);    free_svalue(&s);    free_string(n);   }      void add_efun(char *name, c_fun fun, char *type, INT16 flags)   {    add_efun2(name,fun,type,flags,0,0);   }