diff options
author | Norbert Preining <norbert@preining.info> | 2021-12-28 03:01:00 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-12-28 03:01:00 +0000 |
commit | ecdf859b6ce481abfd530425dcf6f0f764bd0001 (patch) | |
tree | 13bc161dc046876ac6c92fce5f9f5034ba9aa573 /graphics/asymptote/symbol.h | |
parent | 790995b7e79697514364450bf9c04f1b8d500838 (diff) |
CTAN sync 202112280300
Diffstat (limited to 'graphics/asymptote/symbol.h')
-rw-r--r-- | graphics/asymptote/symbol.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/asymptote/symbol.h b/graphics/asymptote/symbol.h index 4386a510aa..b16d311934 100644 --- a/graphics/asymptote/symbol.h +++ b/graphics/asymptote/symbol.h @@ -29,6 +29,7 @@ struct GCInit { GC_set_free_space_divisor(2); mem::compact(0); GC_INIT(); + GC_allow_register_threads(); #endif // Put the symbol table into a state where symbols can be translated. @@ -112,6 +113,10 @@ struct symbol { operator string () const; +#ifdef USEGC + explicit operator std::string() const; +#endif + friend ostream& operator<< (ostream& out, const symbol sym); }; |