diff --git a/src/module_support.c b/src/module_support.c index 1d6ad222dd69a8b6fb6d99ef51ed26f981148f28..1347413e970e98a80178a49ed0f2a504f9c78a3a 100644 --- a/src/module_support.c +++ b/src/module_support.c @@ -2,7 +2,7 @@ || 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: module_support.c,v 1.68 2007/12/24 15:43:10 grubba Exp $ +|| $Id: module_support.c,v 1.69 2008/03/28 22:08:45 mast Exp $ */ #include "global.h" @@ -555,7 +555,7 @@ PMOD_EXPORT void pike_module_export_symbol(const char *name, if(!exported_symbols) exported_symbols=allocate_mapping(10); s.u.ptr=ptr; s.type=T_INT; - s.subtype=4711; + s.subtype=NUMBER_NUMBER; mapping_string_insert(exported_symbols, str, &s); free_string(str); } @@ -573,7 +573,7 @@ PMOD_EXPORT void *pike_module_import_symbol(const char *name, if(s) { #ifdef PIKE_DEBUG - if (s->type != T_INT || s->subtype != 4711) + if (s->type != T_INT || s->subtype != NUMBER_NUMBER) Pike_fatal("Unexpected value in exported_symbols.\n"); #endif free_string(str); @@ -593,7 +593,7 @@ PMOD_EXPORT void *pike_module_import_symbol(const char *name, if(s) { #ifdef PIKE_DEBUG - if (s->type != T_INT || s->subtype != 4711) + if (s->type != T_INT || s->subtype != NUMBER_NUMBER) Pike_fatal("Unexpected value in exported_symbols.\n"); #endif free_string(str);