summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJosh Blum2013-07-27 20:45:38 -0700
committerJosh Blum2013-07-27 20:45:38 -0700
commit68d1ba60dc7b38ec4571a2e957c4136d3170177a (patch)
tree6dd7e3f12565427e60e3890267f8e4fe0782db18 /include
parent147ae8c83b6237afaafe076feeedf50cc0d374fa (diff)
downloadsandhi-68d1ba60dc7b38ec4571a2e957c4136d3170177a.tar.gz
sandhi-68d1ba60dc7b38ec4571a2e957c4136d3170177a.tar.bz2
sandhi-68d1ba60dc7b38ec4571a2e957c4136d3170177a.zip
gras: factory docstrings -- more realistic example
Diffstat (limited to 'include')
-rw-r--r--include/gras/factory.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gras/factory.hpp b/include/gras/factory.hpp
index cffd4b1..13524a6 100644
--- a/include/gras/factory.hpp
+++ b/include/gras/factory.hpp
@@ -26,10 +26,10 @@ namespace gras
* - Call make() to create element from global factory.
*
* Example register a factory function:
- * gras::Factory::register_make("make_my_block", &make_my_block);
+ * gras::Factory::register_make("/proj/my_block", &make_my_block);
*
* Example call into the factory:
- * gras::Element *my_block = gras::Factory::make("make_my_block", arg0, arg1);
+ * gras::Element *my_block = gras::Factory::make("/proj/my_block", arg0, arg1);
*/
struct GRAS_API Factory
{