summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJosh Blum2013-07-07 22:46:18 -0700
committerJosh Blum2013-07-07 22:46:18 -0700
commitd4d411ba6103f3075b7270d741bc5df406714d54 (patch)
treee440f098617b064c299f13aab91e92dcf37dfd30 /python
parentdd3872720fcd35dc6e9e95eb597901902bea1ec5 (diff)
downloadsandhi-d4d411ba6103f3075b7270d741bc5df406714d54.tar.gz
sandhi-d4d411ba6103f3075b7270d741bc5df406714d54.tar.bz2
sandhi-d4d411ba6103f3075b7270d741bc5df406714d54.zip
gras: %newobject for factory gives python ownership
Diffstat (limited to 'python')
-rw-r--r--python/gras/GRAS_Factory.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/gras/GRAS_Factory.i b/python/gras/GRAS_Factory.i
index b3ba44b..01b51b9 100644
--- a/python/gras/GRAS_Factory.i
+++ b/python/gras/GRAS_Factory.i
@@ -13,6 +13,8 @@ namespace gras
%ignore Factory::make;
}
+%newobject gras::Factory::_handle_make;
+
////////////////////////////////////////////////////////////////////////
// Export swig element comprehension
////////////////////////////////////////////////////////////////////////