From e7a29aac0bcb3a27fa211bc9d227085a355052b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Fri, 28 Dec 2007 11:29:58 +0100 Subject: [PATCH] o_cast() and o_cast_to_int() are now PMOD_EXPORT-ed. Rev: src/operators.c:1.223 Rev: src/operators.h:1.21 --- src/operators.c | 6 +++--- src/operators.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/operators.c b/src/operators.c index f8a65ab0ab..c5bffec4f1 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 b591c3dc08..475a560924 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); -- GitLab