From cfd9e8146f7589f3f04fea979c741267b0454546 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sun, 7 Jul 2013 12:21:36 -0700 Subject: gras: python hooks for factory --- include/gras/detail/factory.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/gras/detail') diff --git a/include/gras/detail/factory.hpp b/include/gras/detail/factory.hpp index 0487e76..632e09d 100644 --- a/include/gras/detail/factory.hpp +++ b/include/gras/detail/factory.hpp @@ -116,7 +116,7 @@ inline Element *Factory::make(const std::string &name) { PMCList args(0); - return Factory::_make(name, PMC_M(args)); + return Factory::_handle_make(name, PMC_M(args)); } template @@ -124,7 +124,7 @@ Element *Factory::make(const std::string &name, const Arg0 &a0) { PMCList args(1); args[0] = PMC_M(a0); - return Factory::_make(name, PMC_M(args)); + return Factory::_handle_make(name, PMC_M(args)); } template @@ -133,7 +133,7 @@ Element *Factory::make(const std::string &name, const Arg0 &a0, const Arg1 &a1) PMCList args(2); args[0] = PMC_M(a0); args[1] = PMC_M(a1); - return Factory::_make(name, PMC_M(args)); + return Factory::_handle_make(name, PMC_M(args)); } template @@ -143,7 +143,7 @@ Element *Factory::make(const std::string &name, const Arg0 &a0, const Arg1 &a1, args[0] = PMC_M(a0); args[1] = PMC_M(a1); args[2] = PMC_M(a2); - return Factory::_make(name, PMC_M(args)); + return Factory::_handle_make(name, PMC_M(args)); } } -- cgit