diff options
author | Josh Blum | 2013-07-04 19:46:58 -0700 |
---|---|---|
committer | Josh Blum | 2013-07-04 19:46:58 -0700 |
commit | 1298bcd1e421ccfefafa78c6d33760818902f399 (patch) | |
tree | e4c57bbcf98f9e7502850e5ab481ba7b9d4c11fc /lib/gras_impl | |
parent | fbec0c405a1fec4e8ee82d065fdc657cdd333f52 (diff) | |
download | sandhi-1298bcd1e421ccfefafa78c6d33760818902f399.tar.gz sandhi-1298bcd1e421ccfefafa78c6d33760818902f399.tar.bz2 sandhi-1298bcd1e421ccfefafa78c6d33760818902f399.zip |
gras: function registry is more flexible
Diffstat (limited to 'lib/gras_impl')
-rw-r--r-- | lib/gras_impl/block_data.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gras_impl/block_data.hpp b/lib/gras_impl/block_data.hpp index cbc657e..664ee5a 100644 --- a/lib/gras_impl/block_data.hpp +++ b/lib/gras_impl/block_data.hpp @@ -18,6 +18,7 @@ namespace gras { +typedef boost::shared_ptr<FunctionRegistry> FunctionRegistrySptr; typedef boost::shared_ptr<PropertyRegistry> PropertyRegistrySptr; struct PropertyRegistryPair { @@ -82,6 +83,7 @@ struct BlockData //property stuff std::map<std::string, PropertyRegistryPair> property_registry; + std::map<std::string, FunctionRegistrySptr> function_registry; BlockStats stats; }; |