forked from aniani/vim
updated for version 7.2-191
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
/* #ifdef needed for "make depend" */
|
||||
#ifdef FEAT_MZSCHEME
|
||||
# include <schvers.h>
|
||||
# include <scheme.h>
|
||||
#endif
|
||||
|
||||
@@ -46,4 +47,31 @@
|
||||
# define scheme_byte_string_to_char_string(obj) (obj)
|
||||
#endif
|
||||
|
||||
/* Precise GC macros */
|
||||
#ifndef MZ_GC_DECL_REG
|
||||
# define MZ_GC_DECL_REG(size) /* empty */
|
||||
#endif
|
||||
#ifndef MZ_GC_VAR_IN_REG
|
||||
# define MZ_GC_VAR_IN_REG(x, v) /* empty */
|
||||
#endif
|
||||
#ifndef MZ_GC_ARRAY_VAR_IN_REG
|
||||
# define MZ_GC_ARRAY_VAR_IN_REG(x, v, l) /* empty */
|
||||
#endif
|
||||
#ifndef MZ_GC_REG
|
||||
# define MZ_GC_REG() /* empty */
|
||||
#endif
|
||||
#ifndef MZ_GC_UNREG
|
||||
# define MZ_GC_UNREG() /* empty */
|
||||
#endif
|
||||
|
||||
#ifdef MZSCHEME_FORCE_GC
|
||||
/*
|
||||
* force garbage collection to check all references are registered
|
||||
* seg faults will indicate not registered refs
|
||||
*/
|
||||
# define MZ_GC_CHECK() scheme_collect_garbage();
|
||||
#else
|
||||
# define MZ_GC_CHECK() /* empty */
|
||||
#endif
|
||||
|
||||
#endif /* _IF_MZSCH_H_ */
|
||||
|
Reference in New Issue
Block a user