diff options
author | Norbert Preining <norbert@preining.info> | 2022-02-06 03:01:17 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-02-06 03:01:17 +0000 |
commit | 350b3e35109171f0edd6fe9d697b91d5e76561f9 (patch) | |
tree | c6eac90d0b35dec36fa17ee58b736e55d6e42755 /graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/GCThreadContext.h | |
parent | 08ccf305ee79ab8e5ba9d1a8f3d22e74dccedd80 (diff) |
CTAN sync 202202060301
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 |