diff --git a/src/operators.c b/src/operators.c index f8a65ab0ab173c825ece4101e45d1f1a326f683a..c5bffec4f1159a333c3061fad0f29788e2441ce9 100644 --- a/src/operators.c +++ b/src/operators.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: operators.c,v 1.222 2007/09/24 19:18:24 grubba Exp $ +|| $Id: operators.c,v 1.223 2007/12/28 10:29:43 grubba Exp $ */ #include "global.h" @@ -202,7 +202,7 @@ void o_index(void) */ /* Special case for casting to int. */ -void o_cast_to_int(void) +PMOD_EXPORT void o_cast_to_int(void) { switch(sp[-1].type) { @@ -465,7 +465,7 @@ PMOD_EXPORT void o_cast_to_string(void) sp[-1].u.string = make_shared_string(buf); } -void o_cast(struct pike_type *type, INT32 run_time_type) +PMOD_EXPORT void o_cast(struct pike_type *type, INT32 run_time_type) { if(run_time_type != sp[-1].type) { diff --git a/src/operators.h b/src/operators.h index b591c3dc083c16cfb7ab5d99c3a9faf35c59c4bb..475a5609245c38c553a4c5cbc961ed8a848fd5f0 100644 --- a/src/operators.h +++ b/src/operators.h @@ -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: operators.h,v 1.20 2006/08/15 10:43:25 grubba Exp $ +|| $Id: operators.h,v 1.21 2007/12/28 10:29:58 grubba Exp $ */ #ifndef OPERATORS_H @@ -36,9 +36,9 @@ struct string_assignment_storage /* Prototypes begin here */ void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind); void o_index(void); -void o_cast_to_int(void); +PMOD_EXPORT void o_cast_to_int(void); PMOD_EXPORT void o_cast_to_string(void); -void o_cast(struct pike_type *type, INT32 run_time_type); +PMOD_EXPORT void o_cast(struct pike_type *type, INT32 run_time_type); PMOD_EXPORT void f_cast(void); void o_check_soft_cast(struct svalue *s, struct pike_type *type);