diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-11-28 13:47:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-11-28 13:47:35 +0200 |
commit | 77d6727eddc64a95ccbdf87984e22270fce61b35 (patch) | |
tree | 8c119200e3e6c70c9a158a4212b4c93565a0bba9 /odb/context.hxx | |
parent | 9ad0acf37561de9bf359a561faed53de17c2ca3b (diff) |
Add support for DLL exporting of generated code
New options: --export-symbol, --extern-symbol.
Diffstat (limited to 'odb/context.hxx')
-rw-r--r-- | odb/context.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/odb/context.hxx b/odb/context.hxx index fc1b3bd..7c7ca71 100644 --- a/odb/context.hxx +++ b/odb/context.hxx @@ -712,6 +712,13 @@ public: static string strlit (string const&); +public: + // Generate explicit instantiation headers with all the necessary + // extern and export symbols. + // + void + inst_header (bool decl); + // Counts and other information. // public: @@ -964,6 +971,8 @@ protected: semantics::class_* top_object_; semantics::class_* cur_object_; + string exp_; + keyword_set_type keyword_set_; type_map_type type_map_; @@ -984,6 +993,8 @@ public: features_type& features; database const db; + string& exp; + keyword_set_type const& keyword_set; regex_mapping const& include_regex; |