Skip to content

Commit 9727083

Browse files
committed
Preprocessor definitions doc update
Move language specific definitions into separate section in docs.
1 parent 853987e commit 9727083

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

Doc/Manual/Preprocessor.html

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,12 @@ <H2><a name="Preprocessor_condition_compilation">10.3 Conditional Compilation</a
111111

112112
SWIGCSHARP Defined when using C#
113113
SWIGD Defined when using D
114-
SWIG_D_VERSION Unsigned integer target version when using D
115114
SWIGGO Defined when using Go
116-
SWIGGO_CGO Defined when using Go for cgo
117-
SWIGGO_GCCGO Defined when using Go for gccgo
118-
SWIGGO_INTGO_SIZE Size of the Go type int when using Go (32 or 64)
119115
SWIGGUILE Defined when using Guile
120116
SWIGJAVA Defined when using Java
121117
SWIGJAVASCRIPT Defined when using Javascript
122-
SWIG_JAVASCRIPT_JSC Defined when using Javascript for JavascriptCore
123-
SWIG_JAVASCRIPT_V8 Defined when using Javascript for v8 or node.js
118+
SWIG_JAVASCRIPT_JSC Defined when using Javascript with -jsc
119+
SWIG_JAVASCRIPT_V8 Defined when using Javascript with -v8 or -node
124120
SWIGLUA Defined when using Lua
125121
SWIGMZSCHEME Defined when using Mzscheme
126122
SWIGOCAML Defined when using OCaml
@@ -129,11 +125,8 @@ <H2><a name="Preprocessor_condition_compilation">10.3 Conditional Compilation</a
129125
SWIGPHP Defined when using PHP (any version)
130126
SWIGPHP7 Defined when using PHP7
131127
SWIGPYTHON Defined when using Python
132-
SWIGPYTHON_PY3 Defined when using Python with -py3
133-
SWIGPYTHON_BUILTIN Defined when using Python with -builtin
134128
SWIGR Defined when using R
135129
SWIGRUBY Defined when using Ruby
136-
SWIG_RUBY_AUTORENAME Defined when using Ruby with -autorename
137130
SWIGSCILAB Defined when using Scilab
138131
SWIGTCL Defined when using Tcl
139132
SWIGXML Defined when using XML
@@ -152,6 +145,20 @@ <H2><a name="Preprocessor_condition_compilation">10.3 Conditional Compilation</a
152145
</pre>
153146
</div>
154147

148+
<p>
149+
The following are language specific symbols that might be defined:
150+
</p>
151+
152+
<div class="code"><pre>
153+
SWIG_D_VERSION Unsigned integer target version when using D
154+
SWIGGO_CGO Defined when using Go for cgo
155+
SWIGGO_GCCGO Defined when using Go for gccgo
156+
SWIGGO_INTGO_SIZE Size of the Go type int when using Go (32 or 64)
157+
SWIGPYTHON_PY3 Defined when using Python with -py3
158+
SWIGPYTHON_BUILTIN Defined when using Python with -builtin
159+
SWIG_RUBY_AUTORENAME Defined when using Ruby with -autorename
160+
</pre></div>
161+
155162
<p>
156163
Interface files can look at these symbols as necessary to change the
157164
way in which an interface is generated or to mix SWIG directives with

0 commit comments

Comments
 (0)