From 808e90b7a5b22511a1d9c15c2546ff5690c514a6 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 21 Oct 2011 10:15:15 -0500 Subject: [PATCH] add --- swig_common.i | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 swig_common.i diff --git a/swig_common.i b/swig_common.i new file mode 100644 index 0000000000..617b97551a --- /dev/null +++ b/swig_common.i @@ -0,0 +1,2 @@ +%typemap(newfree) char * "free($1);"; +%newobject getGlobalVariable;