diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2016-10-21 19:14:32 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2016-10-23 20:16:35 +0100 |
commit | 268b942865b42fb942723b177d160453abb7e6a4 (patch) | |
tree | 70b02541ed1dfbb4ff2904ed653b9e27cfe8bde6 /Doc/Manual/Mzscheme.html | |
parent | 129ef8ea8f2e037d913209fe3e5706cbb453d442 (diff) | |
download | swig-268b942865b42fb942723b177d160453abb7e6a4.tar.gz |
Consistent formatting of example code in the docs
Diffstat (limited to 'Doc/Manual/Mzscheme.html')
-rw-r--r-- | Doc/Manual/Mzscheme.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/Manual/Mzscheme.html b/Doc/Manual/Mzscheme.html index c5c199262..08402b68c 100644 --- a/Doc/Manual/Mzscheme.html +++ b/Doc/Manual/Mzscheme.html @@ -36,12 +36,12 @@ Example interface file: /* define a macro for the struct creation */ %define handle_ptr(TYPE,NAME) %typemap(argout) TYPE *NAME{ - Scheme_Object *o = SWIG_NewStructFromPtr($1, $*1_mangle); - SWIG_APPEND_VALUE(o); + Scheme_Object *o = SWIG_NewStructFromPtr($1, $*1_mangle); + SWIG_APPEND_VALUE(o); } %typemap(in,numinputs=0) TYPE *NAME (TYPE temp) { - $1 = &temp; + $1 = &temp; } %enddef |