Initial revision, contributed by Klaus Wiederaenders.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@1002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f01a131559
commit
4867f7938d
11 changed files with 6022 additions and 0 deletions
51
Examples/xml/example_const.expected-xml
Normal file
51
Examples/xml/example_const.expected-xml
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
<swigxml:swig name="namespaces" xmlns:swigxml="http://jniplusplus.sourceforge.net" xmlns:swig="http://swig.sourceforge.net" xmlns:c="http://www.ansi.org" >
|
||||
<swig:top >
|
||||
<swigxml:child >
|
||||
<swig:file name="../../Lib/swig.swg" >
|
||||
<swigxml:type string="include" />
|
||||
</swig:file>
|
||||
<swig:file name="example_const.i" >
|
||||
<swigxml:child >
|
||||
<swig:module name="example" />
|
||||
<swig:constant name="ICONST" >
|
||||
<swigxml:value string="42" />
|
||||
<swigxml:type string="int" />
|
||||
</swig:constant>
|
||||
<swig:constant name="FCONST" >
|
||||
<swigxml:value string="2.1828" />
|
||||
<swigxml:type string="double" />
|
||||
</swig:constant>
|
||||
<swig:constant name="CCONST" >
|
||||
<swigxml:value string="x" />
|
||||
<swigxml:type string="char" />
|
||||
</swig:constant>
|
||||
<swig:constant name="CCONST2" >
|
||||
<swigxml:value string="\n" />
|
||||
<swigxml:type string="char" />
|
||||
</swig:constant>
|
||||
<swig:constant name="SCONST" >
|
||||
<swigxml:value string="Hello World" />
|
||||
<swigxml:type string="p.char" />
|
||||
</swig:constant>
|
||||
<swig:constant name="SCONST2" >
|
||||
<swigxml:value string="\"Hello World\"" />
|
||||
<swigxml:type string="p.char" />
|
||||
</swig:constant>
|
||||
<swig:constant name="EXPR" >
|
||||
<swigxml:value string="42+3*(2.1828)" />
|
||||
<swigxml:type string="double" />
|
||||
</swig:constant>
|
||||
<c:variable name="iconst" >
|
||||
<swigxml:value string="37" />
|
||||
<swigxml:type string="q(const).int" />
|
||||
</c:variable>
|
||||
<c:variable name="fconst" >
|
||||
<swigxml:value string="3.14" />
|
||||
<swigxml:type string="q(const).double" />
|
||||
</c:variable>
|
||||
</swigxml:child>
|
||||
<swigxml:type string="include" />
|
||||
</swig:file>
|
||||
</swigxml:child>
|
||||
</swig:top>
|
||||
</swigxml:swig>
|
||||
Loading…
Add table
Add a link
Reference in a new issue