pike.git / src / constants.c

version» Context lines:

pike.git/src/constants.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: constants.c,v 1.57 2007/04/17 12:20:46 grubba Exp $ + || $Id: constants.c,v 1.58 2008/04/26 16:07:39 grubba Exp $   */      #include "global.h"   #include "constants.h"   #include "pike_macros.h"   #include "program.h"   #include "pike_types.h"   #include "stralloc.h"   #include "pike_memory.h"   #include "interpret.h"
pike.git/src/constants.c:108:    f->optimize=optimize;    f->internal_flags = global_callable_flags;   #ifdef PIKE_DEBUG    {    struct pike_type *z = check_call(function_type_string, type, 0);    f->may_return_void = (z == void_type_string);    if(!z) Pike_fatal("Function has no valid return type.\n");    free_type(z);    }    f->runs=0; -  f->compiles=0; +    #endif    return f;   }      PMOD_EXPORT struct callable *make_callable(c_fun fun,    const char *name,    const char *type,    int flags,    optimize_fun optimize,    docode_fun docode)