Branch: Tag:

2008-05-11

2008-05-11 02:36:00 by Martin Stjernholm <mast@lysator.liu.se>

Implemented visit functions for the visit_thing_fn interface. The gc
check/mark functions are restored to how they were before the
GC_PASS_COUNT_MEMORY stuff.

Rev: src/array.c:1.206
Rev: src/array.h:1.74
Rev: src/constants.c:1.59
Rev: src/constants.h:1.36
Rev: src/mapping.c:1.200
Rev: src/mapping.h:1.67
Rev: src/multiset.c:1.110
Rev: src/multiset.h:1.43
Rev: src/object.c:1.290
Rev: src/object.h:1.95
Rev: src/pike_types.c:1.331
Rev: src/pike_types.h:1.114
Rev: src/program.c:1.691
Rev: src/program.h:1.242
Rev: src/stralloc.c:1.218
Rev: src/stralloc.h:1.103

2:   || 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.35 2008/04/26 16:07:39 grubba Exp $ + || $Id: constants.h,v 1.36 2008/05/11 02:35:22 mast Exp $   */      #ifndef ADD_EFUN_H
75:    int flags,    optimize_fun optimize,    docode_fun docode); + void visit_callable (struct callable *c, int action);   void init_builtin_constants(void);   void exit_builtin_constants(void);   /* Prototypes end here */    -  + #define visit_callable_ref(C, REF_TYPE) \ +  visit_ref (pass_callable (C), (REF_TYPE), \ +  (visit_thing_fn *) &visit_callable, NULL)      #include "pike_macros.h"