summaryrefslogtreecommitdiff
path: root/Doc/Manual/Mzscheme.html
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2016-10-21 19:14:32 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2016-10-23 20:16:35 +0100
commit268b942865b42fb942723b177d160453abb7e6a4 (patch)
tree70b02541ed1dfbb4ff2904ed653b9e27cfe8bde6 /Doc/Manual/Mzscheme.html
parent129ef8ea8f2e037d913209fe3e5706cbb453d442 (diff)
downloadswig-268b942865b42fb942723b177d160453abb7e6a4.tar.gz
Consistent formatting of example code in the docs
Diffstat (limited to 'Doc/Manual/Mzscheme.html')
-rw-r--r--Doc/Manual/Mzscheme.html6
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 = &amp;temp;
+ $1 = &amp;temp;
}
%enddef