diff options
Diffstat (limited to 'graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/GCThreadContext.h')
-rw-r--r-- | graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/GCThreadContext.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/GCThreadContext.h b/graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/GCThreadContext.h new file mode 100644 index 0000000000..a0f7db288d --- /dev/null +++ b/graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/GCThreadContext.h @@ -0,0 +1,19 @@ +#pragma once + +#if defined(USEGC) +#define GC_THREADS +#include <gc.h> +#endif + +class GCThreadContext +{ +public: + GCThreadContext(); + ~GCThreadContext(); + +private: +#if defined(USEGC) + GC_stack_base gsb; +#endif + +};
\ No newline at end of file |