diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-06 00:37:39 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-06 00:37:39 +0000 |
commit | a234f9d642a03c91bebc73cbbe6d2f7b975ca2e2 (patch) | |
tree | 920c937fb69e359434ecb08384eb749c3e407f11 | |
parent | Enable gc-sections in release (diff) | |
download | slicer-a234f9d642a03c91bebc73cbbe6d2f7b975ca2e2.tar.bz2 slicer-a234f9d642a03c91bebc73cbbe6d2f7b975ca2e2.tar.xz slicer-a234f9d642a03c91bebc73cbbe6d2f7b975ca2e2.zip |
Fix visibility in Slicer parser
-rw-r--r-- | slicer/slicer/parser.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/slicer/slicer/parser.h b/slicer/slicer/parser.h index 9322bbd..744ffa7 100644 --- a/slicer/slicer/parser.h +++ b/slicer/slicer/parser.h @@ -20,15 +20,16 @@ namespace Slicer { typedef std::vector<ConversionSpec> Conversions; typedef std::vector<std::string> Args; -#pragma GCC visibility push(default) Slicer(FILE * c); static unsigned int Apply(const boost::filesystem::path & ice, const boost::filesystem::path & cpp); static unsigned int Apply(const boost::filesystem::path & ice, FILE *); static unsigned int Apply(const boost::filesystem::path & ice, const boost::filesystem::path & cpp, const Args &); static unsigned int Apply(const boost::filesystem::path & ice, FILE *, const Args &); -#pragma GCC visibility pop + unsigned int Components() const; + +#pragma GCC visibility push(hidden) virtual bool visitUnitStart(const Slice::UnitPtr&) override; virtual void visitUnitEnd(const Slice::UnitPtr&) override; @@ -47,8 +48,6 @@ namespace Slicer { virtual void visitModuleEnd(const Slice::ModulePtr & m) override; - unsigned int Components() const; - private: void createNewModelPartPtrFor(const Slice::TypePtr & type) const; @@ -60,6 +59,7 @@ namespace Slicer { void copyMetadata(const std::list<std::string> & metadata) const; static Conversions getAllConversions(Slice::DataMemberPtr dm); static Conversions getConversions(const std::list<std::string> & metadata); +#pragma GCC visibility pop unsigned int components; FILE * cpp; |