summaryrefslogtreecommitdiff
path: root/lib/gras_impl
diff options
context:
space:
mode:
authorJosh Blum2013-07-04 19:46:58 -0700
committerJosh Blum2013-07-04 19:46:58 -0700
commit1298bcd1e421ccfefafa78c6d33760818902f399 (patch)
treee4c57bbcf98f9e7502850e5ab481ba7b9d4c11fc /lib/gras_impl
parentfbec0c405a1fec4e8ee82d065fdc657cdd333f52 (diff)
downloadsandhi-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.hpp2
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;
};