pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:1972:    /* Check if getter or setter and skip, as they are handled above. */    if (id->name->len && (index_shared_string(id->name, 0) == '`') &&    !is_lfun_name(id->name)) {    /* Name starting with `, but not an lfun.    * This is thus probably a getter or setter.    */    continue;    }    if ((id->name == lfun_strings[LFUN_CREATE]) ||    (id->name == lfun_strings[LFUN__DESTRUCT]) || -  (id->name == compat_lfun_destroy_string) || +  (id->name == lfun_compat_strings[LFUN__DESTRUCT]) ||    (id->name == lfun_strings[LFUN__SPRINTF])) {    /* Skip. We add a custom create() and _sprintf() below. */    continue;    }    ptr.c_fun = f_proxy_fun;    j = define_function(id->name, id->type, ref->id_flags,    IDENTIFIER_C_FUNCTION | ID_LOCAL, &ptr, 0);    SET_SVAL(ITEM(a)[PTR_FROM_INT(Pike_compiler->new_program, j)->    identifier_offset], T_INT, NUMBER_NUMBER, integer, i);    }