pike.git / src / constants.c

version» Context lines:

pike.git/src/constants.c:114: Inside #if defined(PIKE_DEBUG)
  #ifdef PIKE_DEBUG    {    struct pike_type *z = NULL;    add_ref(type);    type = check_splice_call(name, type, 1, mixed_type_string, NULL,    CALL_INHIBIT_WARNINGS);    if (type) {    z = new_get_return_type(type, CALL_INHIBIT_WARNINGS);    free_type(type);    } -  f->may_return_void = (z == void_type_string); +  f->may_return_void = pike_types_le(z, void_type_string);    if(!z) Pike_fatal("Function has no valid return type.\n");    free_type(z);    }    f->runs=0;   #endif    return f;   }      PMOD_EXPORT struct callable *make_callable(c_fun fun,    const char *name,