From 1eb9851bfd7d8b008a86656d36e75ec7d5956380 Mon Sep 17 00:00:00 2001 From: Martin Stjernholm <mast@lysator.liu.se> Date: Sun, 11 May 2008 16:55:54 +0200 Subject: [PATCH] Fixed missing PMOD_EXPORT on the visit functions. Rev: src/array.c:1.207 Rev: src/array.h:1.75 Rev: src/constants.c:1.60 Rev: src/constants.h:1.37 Rev: src/mapping.c:1.201 Rev: src/mapping.h:1.68 Rev: src/multiset.c:1.111 Rev: src/multiset.h:1.44 Rev: src/object.c:1.291 Rev: src/object.h:1.96 Rev: src/pike_types.c:1.332 Rev: src/pike_types.h:1.115 Rev: src/program.c:1.692 Rev: src/program.h:1.243 Rev: src/stralloc.c:1.219 Rev: src/stralloc.h:1.104 --- src/array.c | 4 ++-- src/array.h | 4 ++-- src/constants.c | 4 ++-- src/constants.h | 4 ++-- src/mapping.c | 4 ++-- src/mapping.h | 4 ++-- src/multiset.c | 4 ++-- src/multiset.h | 4 ++-- src/object.c | 4 ++-- src/object.h | 4 ++-- src/pike_types.c | 4 ++-- src/pike_types.h | 4 ++-- src/program.c | 4 ++-- src/program.h | 4 ++-- src/stralloc.c | 4 ++-- src/stralloc.h | 4 ++-- 16 files changed, 32 insertions(+), 32 deletions(-) diff --git a/src/array.c b/src/array.c index 7e2afa65e9..481df495f0 100644 --- a/src/array.c +++ b/src/array.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: array.c,v 1.206 2008/05/11 02:35:21 mast Exp $ +|| $Id: array.c,v 1.207 2008/05/11 14:55:52 mast Exp $ */ #include "global.h" @@ -2595,7 +2595,7 @@ void check_all_arrays(void) #endif /* PIKE_DEBUG */ -void visit_array (struct array *a, int action) +PMOD_EXPORT void visit_array (struct array *a, int action) { switch (action) { #ifdef PIKE_DEBUG diff --git a/src/array.h b/src/array.h index 745fc7726a..05408556fe 100644 --- a/src/array.h +++ b/src/array.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: array.h,v 1.74 2008/05/11 02:35:21 mast Exp $ +|| $Id: array.h,v 1.75 2008/05/11 14:55:53 mast Exp $ */ #ifndef ARRAY_H @@ -192,7 +192,7 @@ void array_replace(struct array *a, PMOD_EXPORT void check_array(struct array *a); void check_all_arrays(void); #endif -void visit_array (struct array *a, int action); +PMOD_EXPORT void visit_array (struct array *a, int action); void gc_mark_array_as_referenced(struct array *a); void real_gc_cycle_check_array(struct array *a, int weak); unsigned gc_touch_all_arrays(void); diff --git a/src/constants.c b/src/constants.c index 811c8b0441..13d0a3098e 100644 --- a/src/constants.c +++ b/src/constants.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: 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" @@ -190,7 +190,7 @@ PMOD_EXPORT struct callable *quick_add_efun(const char *name, ptrdiff_t name_len 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 diff --git a/src/constants.h b/src/constants.h index f0c03be31f..5a42c5a8a2 100644 --- a/src/constants.h +++ b/src/constants.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: constants.h,v 1.36 2008/05/11 02:35:22 mast Exp $ +|| $Id: constants.h,v 1.37 2008/05/11 14:55:53 mast Exp $ */ #ifndef ADD_EFUN_H @@ -75,7 +75,7 @@ PMOD_EXPORT struct callable *quick_add_efun(const char *name, ptrdiff_t name_len int flags, optimize_fun optimize, docode_fun docode); -void visit_callable (struct callable *c, int action); +PMOD_EXPORT void visit_callable (struct callable *c, int action); void init_builtin_constants(void); void exit_builtin_constants(void); /* Prototypes end here */ diff --git a/src/mapping.c b/src/mapping.c index 1b2a917863..1fcc52f839 100644 --- a/src/mapping.c +++ b/src/mapping.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: mapping.c,v 1.200 2008/05/11 02:35:22 mast Exp $ +|| $Id: mapping.c,v 1.201 2008/05/11 14:55:53 mast Exp $ */ #include "global.h" @@ -2347,7 +2347,7 @@ static void visit_mapping_data (struct mapping_data *md, int action, } } -void visit_mapping (struct mapping *m, int action) +PMOD_EXPORT void visit_mapping (struct mapping *m, int action) { switch (action) { #ifdef PIKE_DEBUG diff --git a/src/mapping.h b/src/mapping.h index 0f648ff9c8..ff26ede77c 100644 --- a/src/mapping.h +++ b/src/mapping.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: mapping.h,v 1.67 2008/05/11 02:35:22 mast Exp $ +|| $Id: mapping.h,v 1.68 2008/05/11 14:55:53 mast Exp $ */ #ifndef MAPPING_H @@ -372,7 +372,7 @@ PMOD_EXPORT void mapping_search_no_free(struct svalue *to, void check_mapping(const struct mapping *m); void check_all_mappings(void); #endif -void visit_mapping (struct mapping *m, int action); +PMOD_EXPORT void visit_mapping (struct mapping *m, int action); void gc_mark_mapping_as_referenced(struct mapping *m); void real_gc_cycle_check_mapping(struct mapping *m, int weak); unsigned gc_touch_all_mappings(void); diff --git a/src/multiset.c b/src/multiset.c index 1e192cef81..5eaedef7ae 100644 --- a/src/multiset.c +++ b/src/multiset.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: multiset.c,v 1.110 2008/05/11 02:35:22 mast Exp $ +|| $Id: multiset.c,v 1.111 2008/05/11 14:55:53 mast Exp $ */ #include "global.h" @@ -3847,7 +3847,7 @@ static void visit_multiset_data (struct multiset_data *msd, int action, } } -void visit_multiset (struct multiset *l, int action) +PMOD_EXPORT void visit_multiset (struct multiset *l, int action) { switch (action) { #ifdef PIKE_DEBUG diff --git a/src/multiset.h b/src/multiset.h index 71ac914e9c..def5c367f7 100644 --- a/src/multiset.h +++ b/src/multiset.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: multiset.h,v 1.43 2008/05/11 02:35:22 mast Exp $ +|| $Id: multiset.h,v 1.44 2008/05/11 14:55:53 mast Exp $ */ #ifndef MULTISET_H @@ -429,7 +429,7 @@ struct multiset *copy_multiset_recursively (struct multiset *l, struct mapping *p); PMOD_EXPORT ptrdiff_t multiset_get_nth (struct multiset *l, size_t n); -void visit_multiset (struct multiset *l, int action); +PMOD_EXPORT void visit_multiset (struct multiset *l, int action); unsigned gc_touch_all_multisets (void); void gc_check_all_multisets (void); void gc_mark_multiset_as_referenced (struct multiset *l); diff --git a/src/object.c b/src/object.c index 1b74da3f84..70b8a6f31a 100644 --- a/src/object.c +++ b/src/object.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: object.c,v 1.290 2008/05/11 02:35:22 mast Exp $ +|| $Id: object.c,v 1.291 2008/05/11 14:55:53 mast Exp $ */ #include "global.h" @@ -1822,7 +1822,7 @@ PMOD_EXPORT struct array *object_values(struct object *o) } -void visit_object (struct object *o, int action) +PMOD_EXPORT void visit_object (struct object *o, int action) { struct program *p = o->prog; diff --git a/src/object.h b/src/object.h index ec8b589e29..55b37bad2b 100644 --- a/src/object.h +++ b/src/object.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: object.h,v 1.95 2008/05/11 02:35:22 mast Exp $ +|| $Id: object.h,v 1.96 2008/05/11 14:55:53 mast Exp $ */ #ifndef OBJECT_H @@ -123,7 +123,7 @@ union anything *object_get_item_ptr(struct object *o, PMOD_EXPORT int object_equal_p(struct object *a, struct object *b, struct processing *p); PMOD_EXPORT struct array *object_indices(struct object *o); PMOD_EXPORT struct array *object_values(struct object *o); -void visit_object (struct object *o, int action); +PMOD_EXPORT void visit_object (struct object *o, int action); PMOD_EXPORT void visit_function (struct svalue *s, int ref_type); PMOD_EXPORT void gc_mark_object_as_referenced(struct object *o); PMOD_EXPORT void real_gc_cycle_check_object(struct object *o, int weak); diff --git a/src/pike_types.c b/src/pike_types.c index 6a6c2eed88..b1d446ddfe 100644 --- a/src/pike_types.c +++ b/src/pike_types.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: pike_types.c,v 1.331 2008/05/11 02:35:22 mast Exp $ +|| $Id: pike_types.c,v 1.332 2008/05/11 14:55:53 mast Exp $ */ #include "global.h" @@ -7837,7 +7837,7 @@ void cleanup_pike_type_table(void) #endif /* DO_PIKE_CLEANUP */ } -void visit_type (struct pike_type *t, int action) +PMOD_EXPORT void visit_type (struct pike_type *t, int action) { switch (action) { #ifdef PIKE_DEBUG diff --git a/src/pike_types.h b/src/pike_types.h index 74663359de..6e19449ed7 100644 --- a/src/pike_types.h +++ b/src/pike_types.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: pike_types.h,v 1.114 2008/05/11 02:35:22 mast Exp $ +|| $Id: pike_types.h,v 1.115 2008/05/11 14:55:54 mast Exp $ */ #ifndef PIKE_TYPES_H @@ -275,7 +275,7 @@ struct pike_type *object_type_to_program_type(struct pike_type *obj_t); PMOD_EXPORT char *get_name_of_type(TYPE_T t); void cleanup_pike_types(void); void cleanup_pike_type_table(void); -void visit_type (struct pike_type *t, int action); +PMOD_EXPORT void visit_type (struct pike_type *t, int action); void gc_mark_type_as_referenced(struct pike_type *t); void gc_check_type (struct pike_type *t); void gc_check_all_types (void); diff --git a/src/program.c b/src/program.c index 406a25a487..fb4285f800 100644 --- a/src/program.c +++ b/src/program.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: program.c,v 1.691 2008/05/11 02:35:22 mast Exp $ +|| $Id: program.c,v 1.692 2008/05/11 14:55:54 mast Exp $ */ #include "global.h" @@ -9416,7 +9416,7 @@ void cleanup_program(void) } -void visit_program (struct program *p, int action) +PMOD_EXPORT void visit_program (struct program *p, int action) { switch (action) { #ifdef PIKE_DEBUG diff --git a/src/program.h b/src/program.h index 52c7dda909..5d066d1510 100644 --- a/src/program.h +++ b/src/program.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: program.h,v 1.242 2008/05/11 02:35:23 mast Exp $ +|| $Id: program.h,v 1.243 2008/05/11 14:55:54 mast Exp $ */ #ifndef PROGRAM_H @@ -905,7 +905,7 @@ void check_all_programs(void); void placeholder_index(INT32 args); void init_program(void); void cleanup_program(void); -void visit_program (struct program *p, int action); +PMOD_EXPORT void visit_program (struct program *p, int action); void gc_mark_program_as_referenced(struct program *p); void real_gc_cycle_check_program(struct program *p, int weak); unsigned gc_touch_all_programs(void); diff --git a/src/stralloc.c b/src/stralloc.c index 497a1692c5..f83c5fd6fc 100644 --- a/src/stralloc.c +++ b/src/stralloc.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: stralloc.c,v 1.218 2008/05/11 02:36:00 mast Exp $ +|| $Id: stralloc.c,v 1.219 2008/05/11 14:55:54 mast Exp $ */ #include "global.h" @@ -2134,7 +2134,7 @@ void count_memory_in_strings(size_t *num, size_t *size) size[0]=size_; } -void visit_string (struct pike_string *s, int action) +PMOD_EXPORT void visit_string (struct pike_string *s, int action) { switch (action) { #ifdef PIKE_DEBUG diff --git a/src/stralloc.h b/src/stralloc.h index 36e638a71a..5e1050a47d 100644 --- a/src/stralloc.h +++ b/src/stralloc.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: stralloc.h,v 1.103 2008/05/11 02:36:00 mast Exp $ +|| $Id: stralloc.h,v 1.104 2008/05/11 14:55:54 mast Exp $ */ #ifndef STRALLOC_H @@ -330,7 +330,7 @@ PMOD_EXPORT struct pike_string *string_replace(struct pike_string *str, void init_shared_string_table(void); void cleanup_shared_string_table(void); void count_memory_in_strings(size_t *num, size_t *size); -void visit_string (struct pike_string *s, int action); +PMOD_EXPORT void visit_string (struct pike_string *s, int action); void gc_mark_string_as_referenced (struct pike_string *s); unsigned gc_touch_all_strings(void); void gc_mark_all_strings(void); -- GitLab