summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJosh Blum2013-03-06 02:39:51 -0600
committerJosh Blum2013-03-06 02:39:51 -0600
commit83d78cdcaefe18555e83dc7cc810422616054527 (patch)
tree8718ae0b697b0c46c6f2c90552627a87ca91cba6 /include
parent9f7169ecd0c8349fc33ad933c9dc5f23ac538146 (diff)
downloadsandhi-83d78cdcaefe18555e83dc7cc810422616054527.tar.gz
sandhi-83d78cdcaefe18555e83dc7cc810422616054527.tar.bz2
sandhi-83d78cdcaefe18555e83dc7cc810422616054527.zip
gras: top block gets same config style as block
Diffstat (limited to 'include')
-rw-r--r--include/gras/top_block.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/gras/top_block.hpp b/include/gras/top_block.hpp
index fc86e30..e288d95 100644
--- a/include/gras/top_block.hpp
+++ b/include/gras/top_block.hpp
@@ -37,10 +37,10 @@ struct GRAS_API TopBlock : HierBlock
TopBlock(const std::string &name);
//! Get the global block config settings
- GlobalBlockConfig get_global_config(void) const;
+ const GlobalBlockConfig &global_config(void) const;
- //! Set the global block config settings
- void set_global_config(const GlobalBlockConfig &config);
+ //! Get the global block config settings
+ GlobalBlockConfig &global_config(void);
/*!
* Commit changes to the overall flow graph.