Created
October 14, 2012 01:50
-
-
Save thomaslee/3886958 to your computer and use it in GitHub Desktop.
Pin a GC value to the machine stack.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define CHIMP_GC_MAKE_STACK_ROOT(p) \ | |
(*((ChimpRef **)alloca(sizeof(ChimpRef *)))) = (p) | |
/* http://github.com/thomaslee/chimp */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment