diff options
author | Andy Wingo <wingo@pobox.com> | 2012-05-17 18:35:05 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2013-05-27 07:14:26 +0200 |
commit | a0ec1ca11650ad7c16cf1c3261ec1b8665d46ac8 (patch) | |
tree | b0de115042fb1cbdf6e5ab611944697c7718df35 /libguile/vm-engine.c | |
parent | c850a0ff4d0073364612ff5785bda8217ea9ae7f (diff) | |
download | guile-a0ec1ca11650ad7c16cf1c3261ec1b8665d46ac8.tar.gz |
cpp hygiene in the vm
* libguile/vm-engine.c:
* libguile/vm-i-scheme.c:
* libguile/vm-i-system.c: CPP hygiene: the code that #defines, #undefs.
Makes things cleaner given the multiple inclusion dance we do.
Diffstat (limited to 'libguile/vm-engine.c')
-rw-r--r-- | libguile/vm-engine.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libguile/vm-engine.c b/libguile/vm-engine.c index 1cd623d95..44546323b 100644 --- a/libguile/vm-engine.c +++ b/libguile/vm-engine.c @@ -433,8 +433,34 @@ VM_NAME (SCM vm, SCM program, SCM *argv, int nargs) abort (); /* never reached */ } +#undef ALIGNED_P +#undef CACHE_REGISTER +#undef CHECK_OVERFLOW +#undef FREE_VARIABLE_REF +#undef FUNC2 +#undef INIT +#undef INUM_MAX +#undef INUM_MIN +#undef jump_table +#undef LOCAL_REF +#undef LOCAL_SET +#undef NEXT +#undef NEXT_JUMP +#undef REL +#undef RETURN +#undef RETURN_ONE_VALUE +#undef RETURN_VALUE_LIST #undef RUN_HOOK #undef RUN_HOOK1 +#undef SYNC_ALL +#undef SYNC_BEFORE_GC +#undef SYNC_IP +#undef SYNC_REGISTER +#undef VARIABLE_BOUNDP +#undef VARIABLE_REF +#undef VARIABLE_SET +#undef VM_DEFINE_OP +#undef VM_INSTRUCTION_TO_LABEL #undef VM_USE_HOOKS /* |