summaryrefslogtreecommitdiff
path: root/Lib/allegrocl/allegrocl.swg
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2008-05-14 22:12:31 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2008-05-14 22:12:31 +0000
commit336b50b43ddf1f3c63ca5aaa6e1f596203de3d5d (patch)
treece108b5031e89a1d26e5b0275f76307d285b736d /Lib/allegrocl/allegrocl.swg
parented0e1c7d90c6a6839de44de302bc79e664e6f91c (diff)
downloadswig-336b50b43ddf1f3c63ca5aaa6e1f596203de3d5d.tar.gz
Add the optimal attribute to the out typemap for more optimal code generation when returning objects by value
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/allegrocl/allegrocl.swg')
-rw-r--r--Lib/allegrocl/allegrocl.swg3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/allegrocl/allegrocl.swg b/Lib/allegrocl/allegrocl.swg
index 4355209b5..0ae8ed76c 100644
--- a/Lib/allegrocl/allegrocl.swg
+++ b/Lib/allegrocl/allegrocl.swg
@@ -137,12 +137,13 @@ SWIG_TYPECHECK_STRING_ARRAY 1140
%typemap(lispclass) double "cl:double-float";
%typemap(lispclass) char * "cl:string";
+%typemap(out) void "";
%typemap(out) bool "$result = (int)$1;";
%typemap(out) char, unsigned char, signed char,
short, signed short, unsigned short,
int, signed int, unsigned int,
long, signed long, unsigned long,
- float, double, long double, char *, void *, void,
+ float, double, long double, char *, void *,
enum SWIGTYPE, SWIGTYPE *,
SWIGTYPE[ANY], SWIGTYPE & "$result = $1;";
#ifdef __cplusplus