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.59 2008/05/11 02:35:22 mast Exp $ + || $Id: constants.c,v 1.60 2008/05/11 14:55:53 mast 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:183:    s.type=T_FUNCTION;    s.subtype=FUNCTION_BUILTIN;    add_ref(n);    ret=s.u.efun=low_make_callable(fun, n, t, flags, optimize, docode);    mapping_string_insert(builtin_constants, n, &s);    free_svalue(&s);    free_string(n);    return ret;   }    - void visit_callable (struct callable *c, int action) + PMOD_EXPORT void visit_callable (struct callable *c, int action)   {    switch (action) {   #ifdef PIKE_DEBUG    default:    Pike_fatal ("Unknown visit action %d.\n", action);    case VISIT_NORMAL:    case VISIT_COMPLEX_ONLY:    break;   #endif    case VISIT_COUNT_BYTES: