Merge branch 'nightlark-preprocessor-docs'
* nightlark-preprocessor-docs: Correct preprocessor docs Preprocessor definitions doc update Remove BUILDING_NOTE_EXTENSION from docs Add missing preprocessor defines to the docs list
This commit is contained in:
commit
ae0efd3d74
1 changed files with 19 additions and 5 deletions
|
|
@ -110,11 +110,13 @@ SWIG_VERSION Hexadecimal (binary-coded decimal) number contai
|
|||
such as 0x010311 (corresponding to SWIG-1.3.11).
|
||||
|
||||
SWIGCSHARP Defined when using C#
|
||||
SWIGD Defined when using D
|
||||
SWIGGO Defined when using Go
|
||||
SWIGGUILE Defined when using Guile
|
||||
SWIGJAVA Defined when using Java
|
||||
SWIGJAVASCRIPT Defined when using Javascript
|
||||
SWIG_JAVASCRIPT_JSC Defined when using Javascript for JavascriptCore
|
||||
SWIG_JAVASCRIPT_V8 Defined when using Javascript for v8 or node.js
|
||||
SWIG_JAVASCRIPT_JSC Defined when using Javascript with -jsc
|
||||
SWIG_JAVASCRIPT_V8 Defined when using Javascript with -v8 or -node
|
||||
SWIGLUA Defined when using Lua
|
||||
SWIGMZSCHEME Defined when using Mzscheme
|
||||
SWIGOCAML Defined when using OCaml
|
||||
|
|
@ -143,12 +145,24 @@ __cplusplus Defined when -c++ option used
|
|||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
The following are language specific symbols that might be defined:
|
||||
</p>
|
||||
|
||||
<div class="code"><pre>
|
||||
SWIG_D_VERSION Unsigned integer target version when using D
|
||||
SWIGGO_CGO Defined when using Go for cgo
|
||||
SWIGGO_GCCGO Defined when using Go for gccgo
|
||||
SWIGGO_INTGO_SIZE Size of the Go type int when using Go (32 or 64)
|
||||
SWIGPYTHON_PY3 Defined when using Python with -py3
|
||||
SWIGPYTHON_BUILTIN Defined when using Python with -builtin
|
||||
SWIG_RUBY_AUTORENAME Defined when using Ruby with -autorename
|
||||
</pre></div>
|
||||
|
||||
<p>
|
||||
Interface files can look at these symbols as necessary to change the
|
||||
way in which an interface is generated or to mix SWIG directives with
|
||||
C code. These symbols are also defined within the C code generated by
|
||||
SWIG (except for the symbol `<tt>SWIG</tt>' which is only defined
|
||||
within the SWIG compiler).
|
||||
C code.
|
||||
</p>
|
||||
|
||||
<H2><a name="Preprocessor_nn5">11.4 Macro Expansion</a></H2>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue