/[hyperestraier_wrappers]/0.0.13/doc/HyperEstraier__wrap_8cpp-source.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /0.0.13/doc/HyperEstraier__wrap_8cpp-source.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14 - (hide annotations)
Fri Sep 9 15:26:39 2005 UTC (18 years, 10 months ago) by dpavlin
File MIME type: text/html
File size: 454951 byte(s)
import of 0.0.13
1 dpavlin 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2     <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3     <title>HyperEstraierWrapper: HyperEstraier_wrap.cpp Source File</title>
4     <link href="doxygen.css" rel="stylesheet" type="text/css">
5     </head><body>
6     <!-- Generated by Doxygen 1.4.4 -->
7     <div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
8     <div class="nav">
9     <a class="el" href="dir_000000.html">perl</a></div>
10     <h1>HyperEstraier_wrap.cpp</h1><a href="HyperEstraier__wrap_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* ----------------------------------------------------------------------------</span>
11     <a name="l00002"></a>00002 <span class="comment"> * This file was automatically generated by SWIG (http://www.swig.org).</span>
12     <a name="l00003"></a>00003 <span class="comment"> * Version 1.3.24</span>
13     <a name="l00004"></a>00004 <span class="comment"> * </span>
14     <a name="l00005"></a>00005 <span class="comment"> * This file is not intended to be easily readable and contains a number of </span>
15     <a name="l00006"></a>00006 <span class="comment"> * coding conventions designed to improve portability and efficiency. Do not make</span>
16     <a name="l00007"></a>00007 <span class="comment"> * changes to this file unless you know what you are doing--modify the SWIG </span>
17     <a name="l00008"></a>00008 <span class="comment"> * interface file instead. </span>
18     <a name="l00009"></a>00009 <span class="comment"> * ----------------------------------------------------------------------------- */</span>
19     <a name="l00010"></a>00010
20     <a name="l00011"></a>00011
21     <a name="l00012"></a>00012 <span class="preprocessor">#ifdef __cplusplus</span>
22     <a name="l00013"></a>00013 <span class="preprocessor"></span><span class="keyword">template</span>&lt;<span class="keyword">class</span> T&gt; <span class="keyword">class </span>SwigValueWrapper {
23     <a name="l00014"></a>00014 T *tt;
24     <a name="l00015"></a>00015 <span class="keyword">public</span>:
25     <a name="l00016"></a>00016 SwigValueWrapper() : tt(0) { }
26     <a name="l00017"></a>00017 SwigValueWrapper(<span class="keyword">const</span> SwigValueWrapper&lt;T&gt;&amp; rhs) : tt(new T(*rhs.tt)) { }
27     <a name="l00018"></a>00018 SwigValueWrapper(<span class="keyword">const</span> T&amp; t) : tt(new T(t)) { }
28     <a name="l00019"></a>00019 ~SwigValueWrapper() { <span class="keyword">delete</span> tt; }
29     <a name="l00020"></a>00020 SwigValueWrapper&amp; operator=(<span class="keyword">const</span> T&amp; t) { <span class="keyword">delete</span> tt; tt = <span class="keyword">new</span> T(t); <span class="keywordflow">return</span> *<span class="keyword">this</span>; }
30     <a name="l00021"></a>00021 operator T&amp;()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> *tt; }
31     <a name="l00022"></a>00022 T *operator&amp;() { <span class="keywordflow">return</span> tt; }
32     <a name="l00023"></a>00023 <span class="keyword">private</span>:
33     <a name="l00024"></a>00024 SwigValueWrapper&amp; operator=(<span class="keyword">const</span> SwigValueWrapper&lt;T&gt;&amp; rhs);
34     <a name="l00025"></a>00025 };
35     <a name="l00026"></a>00026 <span class="preprocessor">#endif</span>
36     <a name="l00027"></a>00027 <span class="preprocessor"></span>
37     <a name="l00028"></a>00028
38     <a name="l00029"></a>00029 <span class="preprocessor">#ifndef SWIG_TEMPLATE_DISAMBIGUATOR</span>
39     <a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor"># if defined(__SUNPRO_CC) </span>
40     <a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor"># define SWIG_TEMPLATE_DISAMBIGUATOR template</span>
41     <a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor"># else</span>
42     <a name="l00033"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a0">00033</a> <span class="preprocessor"></span><span class="preprocessor"># define SWIG_TEMPLATE_DISAMBIGUATOR </span>
43     <a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
44     <a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
45     <a name="l00036"></a>00036 <span class="preprocessor"></span>
46     <a name="l00037"></a>00037 <span class="comment">/***********************************************************************</span>
47     <a name="l00038"></a>00038 <span class="comment"> * swigrun.swg</span>
48     <a name="l00039"></a>00039 <span class="comment"> *</span>
49     <a name="l00040"></a>00040 <span class="comment"> * This file contains generic CAPI SWIG runtime support for pointer</span>
50     <a name="l00041"></a>00041 <span class="comment"> * type checking.</span>
51     <a name="l00042"></a>00042 <span class="comment"> *</span>
52     <a name="l00043"></a>00043 <span class="comment"> ************************************************************************/</span>
53     <a name="l00044"></a>00044
54     <a name="l00045"></a>00045 <span class="comment">/* This should only be incremented when either the layout of swig_type_info changes,</span>
55     <a name="l00046"></a>00046 <span class="comment"> or for whatever reason, the runtime changes incompatibly */</span>
56     <a name="l00047"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a1">00047</a> <span class="preprocessor">#define SWIG_RUNTIME_VERSION "1"</span>
57     <a name="l00048"></a>00048 <span class="preprocessor"></span>
58     <a name="l00049"></a>00049 <span class="comment">/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */</span>
59     <a name="l00050"></a>00050 <span class="preprocessor">#ifdef SWIG_TYPE_TABLE</span>
60     <a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor">#define SWIG_QUOTE_STRING(x) #x</span>
61     <a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)</span>
62     <a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor">#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)</span>
63     <a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor">#else</span>
64     <a name="l00055"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a2">00055</a> <span class="preprocessor"></span><span class="preprocessor">#define SWIG_TYPE_TABLE_NAME</span>
65     <a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
66     <a name="l00057"></a>00057 <span class="preprocessor"></span>
67     <a name="l00058"></a>00058 <span class="preprocessor">#include &lt;string.h&gt;</span>
68     <a name="l00059"></a>00059
69     <a name="l00060"></a>00060 <span class="preprocessor">#ifndef SWIGINLINE</span>
70     <a name="l00061"></a>00061 <span class="preprocessor"></span><span class="preprocessor">#if defined(__cplusplus) || (defined(__GNUC__) &amp;&amp; !defined(__STRICT_ANSI__))</span>
71     <a name="l00062"></a>00062 <span class="preprocessor"></span><span class="preprocessor"># define SWIGINLINE inline</span>
72     <a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor">#else</span>
73     <a name="l00064"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a3">00064</a> <span class="preprocessor"></span><span class="preprocessor"># define SWIGINLINE</span>
74     <a name="l00065"></a>00065 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
75     <a name="l00066"></a>00066 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
76     <a name="l00067"></a>00067 <span class="preprocessor"></span>
77     <a name="l00068"></a>00068 <span class="comment">/*</span>
78     <a name="l00069"></a>00069 <span class="comment"> You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for</span>
79     <a name="l00070"></a>00070 <span class="comment"> creating a static or dynamic library from the swig runtime code.</span>
80     <a name="l00071"></a>00071 <span class="comment"> In 99.9% of the cases, swig just needs to declare them as 'static'.</span>
81     <a name="l00072"></a>00072 <span class="comment"> </span>
82     <a name="l00073"></a>00073 <span class="comment"> But only do this if is strictly necessary, ie, if you have problems</span>
83     <a name="l00074"></a>00074 <span class="comment"> with your compiler or so.</span>
84     <a name="l00075"></a>00075 <span class="comment">*/</span>
85     <a name="l00076"></a>00076 <span class="preprocessor">#ifndef SWIGRUNTIME</span>
86     <a name="l00077"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a4">00077</a> <span class="preprocessor"></span><span class="preprocessor">#define SWIGRUNTIME static</span>
87     <a name="l00078"></a>00078 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
88     <a name="l00079"></a>00079 <span class="preprocessor"></span><span class="preprocessor">#ifndef SWIGRUNTIMEINLINE</span>
89     <a name="l00080"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a5">00080</a> <span class="preprocessor"></span><span class="preprocessor">#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE</span>
90     <a name="l00081"></a>00081 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
91     <a name="l00082"></a>00082 <span class="preprocessor"></span>
92     <a name="l00083"></a>00083 <span class="preprocessor">#ifdef __cplusplus</span>
93     <a name="l00084"></a>00084 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
94     <a name="l00085"></a>00085 <span class="preprocessor">#endif</span>
95     <a name="l00086"></a>00086 <span class="preprocessor"></span>
96     <a name="l00087"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a64">00087</a> <span class="keyword">typedef</span> <span class="keywordtype">void</span> *(*swig_converter_func)(<span class="keywordtype">void</span> *);
97     <a name="l00088"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a65">00088</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structswig__type__info.html">swig_type_info</a> *(*swig_dycast_func)(<span class="keywordtype">void</span> **);
98     <a name="l00089"></a>00089
99     <a name="l00090"></a><a class="code" href="structswig__type__info.html">00090</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structswig__type__info.html">swig_type_info</a> {
100     <a name="l00091"></a><a class="code" href="structswig__type__info.html#o0">00091</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structswig__type__info.html#o0">name</a>;
101     <a name="l00092"></a><a class="code" href="structswig__type__info.html#o1">00092</a> swig_converter_func <a class="code" href="structswig__type__info.html#o1">converter</a>;
102     <a name="l00093"></a><a class="code" href="structswig__type__info.html#o2">00093</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structswig__type__info.html#o2">str</a>;
103     <a name="l00094"></a><a class="code" href="structswig__type__info.html#o3">00094</a> <span class="keywordtype">void</span> *<a class="code" href="structswig__type__info.html#o3">clientdata</a>;
104     <a name="l00095"></a><a class="code" href="structswig__type__info.html#o4">00095</a> swig_dycast_func <a class="code" href="structswig__type__info.html#o4">dcast</a>;
105     <a name="l00096"></a><a class="code" href="structswig__type__info.html#o5">00096</a> <span class="keyword">struct </span><a class="code" href="structswig__type__info.html">swig_type_info</a> *<a class="code" href="structswig__type__info.html#o5">next</a>;
106     <a name="l00097"></a><a class="code" href="structswig__type__info.html#o6">00097</a> <span class="keyword">struct </span><a class="code" href="structswig__type__info.html">swig_type_info</a> *<a class="code" href="structswig__type__info.html#o6">prev</a>;
107     <a name="l00098"></a>00098 } <a class="code" href="structswig__type__info.html">swig_type_info</a>;
108     <a name="l00099"></a>00099
109     <a name="l00100"></a>00100 <span class="comment">/* </span>
110     <a name="l00101"></a>00101 <span class="comment"> Compare two type names skipping the space characters, therefore</span>
111     <a name="l00102"></a>00102 <span class="comment"> "char*" == "char *" and "Class&lt;int&gt;" == "Class&lt;int &gt;", etc.</span>
112     <a name="l00103"></a>00103 <span class="comment"></span>
113     <a name="l00104"></a>00104 <span class="comment"> Return 0 when the two name types are equivalent, as in</span>
114     <a name="l00105"></a>00105 <span class="comment"> strncmp, but skipping ' '.</span>
115     <a name="l00106"></a>00106 <span class="comment">*/</span>
116     <a name="l00107"></a>00107 <a class="code" href="HyperEstraier__wrap_8cpp.html#a4">SWIGRUNTIME</a> <span class="keywordtype">int</span>
117     <a name="l00108"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a88">00108</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a88">SWIG_TypeNameComp</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *f1, <span class="keyword">const</span> <span class="keywordtype">char</span> *l1,
118     <a name="l00109"></a>00109 <span class="keyword">const</span> <span class="keywordtype">char</span> *f2, <span class="keyword">const</span> <span class="keywordtype">char</span> *l2) {
119     <a name="l00110"></a>00110 <span class="keywordflow">for</span> (;(f1 != l1) &amp;&amp; (f2 != l2); ++f1, ++f2) {
120     <a name="l00111"></a>00111 <span class="keywordflow">while</span> ((*f1 == <span class="charliteral">' '</span>) &amp;&amp; (f1 != l1)) ++f1;
121     <a name="l00112"></a>00112 <span class="keywordflow">while</span> ((*f2 == <span class="charliteral">' '</span>) &amp;&amp; (f2 != l2)) ++f2;
122     <a name="l00113"></a>00113 <span class="keywordflow">if</span> (*f1 != *f2) <span class="keywordflow">return</span> *f1 - *f2;
123     <a name="l00114"></a>00114 }
124     <a name="l00115"></a>00115 <span class="keywordflow">return</span> (l1 - f1) - (l2 - f2);
125     <a name="l00116"></a>00116 }
126     <a name="l00117"></a>00117
127     <a name="l00118"></a>00118 <span class="comment">/*</span>
128     <a name="l00119"></a>00119 <span class="comment"> Check type equivalence in a name list like &lt;name1&gt;|&lt;name2&gt;|...</span>
129     <a name="l00120"></a>00120 <span class="comment">*/</span>
130     <a name="l00121"></a>00121 <a class="code" href="HyperEstraier__wrap_8cpp.html#a4">SWIGRUNTIME</a> <span class="keywordtype">int</span>
131     <a name="l00122"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a89">00122</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a89">SWIG_TypeEquiv</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *nb, <span class="keyword">const</span> <span class="keywordtype">char</span> *tb) {
132     <a name="l00123"></a>00123 <span class="keywordtype">int</span> equiv = 0;
133     <a name="l00124"></a>00124 <span class="keyword">const</span> <span class="keywordtype">char</span>* te = tb + strlen(tb);
134     <a name="l00125"></a>00125 <span class="keyword">const</span> <span class="keywordtype">char</span>* ne = nb;
135     <a name="l00126"></a>00126 <span class="keywordflow">while</span> (!equiv &amp;&amp; *ne) {
136     <a name="l00127"></a>00127 <span class="keywordflow">for</span> (nb = ne; *ne; ++ne) {
137     <a name="l00128"></a>00128 <span class="keywordflow">if</span> (*ne == <span class="charliteral">'|'</span>) <span class="keywordflow">break</span>;
138     <a name="l00129"></a>00129 }
139     <a name="l00130"></a>00130 equiv = <a class="code" href="HyperEstraier__wrap_8cpp.html#a88">SWIG_TypeNameComp</a>(nb, ne, tb, te) == 0;
140     <a name="l00131"></a>00131 <span class="keywordflow">if</span> (*ne) ++ne;
141     <a name="l00132"></a>00132 }
142     <a name="l00133"></a>00133 <span class="keywordflow">return</span> equiv;
143     <a name="l00134"></a>00134 }
144     <a name="l00135"></a>00135
145     <a name="l00136"></a>00136 <span class="comment">/*</span>
146     <a name="l00137"></a>00137 <span class="comment"> Register a type mapping with the type-checking</span>
147     <a name="l00138"></a>00138 <span class="comment">*/</span>
148     <a name="l00139"></a>00139 <a class="code" href="HyperEstraier__wrap_8cpp.html#a4">SWIGRUNTIME</a> <a class="code" href="structswig__type__info.html">swig_type_info</a> *
149     <a name="l00140"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a90">00140</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a90">SWIG_TypeRegisterTL</a>(<a class="code" href="structswig__type__info.html">swig_type_info</a> **tl, <a class="code" href="structswig__type__info.html">swig_type_info</a> *ti) {
150     <a name="l00141"></a>00141 <a class="code" href="structswig__type__info.html">swig_type_info</a> *tc, *head, *ret, *<a class="code" href="structswig__type__info.html#o5">next</a>;
151     <a name="l00142"></a>00142 <span class="comment">/* Check to see if this type has already been registered */</span>
152     <a name="l00143"></a>00143 tc = *tl;
153     <a name="l00144"></a>00144 <span class="keywordflow">while</span> (tc) {
154     <a name="l00145"></a>00145 <span class="comment">/* check simple type equivalence */</span>
155     <a name="l00146"></a>00146 <span class="keywordtype">int</span> typeequiv = (strcmp(tc-&gt;<a class="code" href="structswig__type__info.html#o0">name</a>, ti-&gt;<a class="code" href="structswig__type__info.html#o0">name</a>) == 0);
156     <a name="l00147"></a>00147 <span class="comment">/* check full type equivalence, resolving typedefs */</span>
157     <a name="l00148"></a>00148 <span class="keywordflow">if</span> (!typeequiv) {
158     <a name="l00149"></a>00149 <span class="comment">/* only if tc is not a typedef (no '|' on it) */</span>
159     <a name="l00150"></a>00150 <span class="keywordflow">if</span> (tc-&gt;<a class="code" href="structswig__type__info.html#o2">str</a> &amp;&amp; ti-&gt;<a class="code" href="structswig__type__info.html#o2">str</a> &amp;&amp; !strstr(tc-&gt;<a class="code" href="structswig__type__info.html#o2">str</a>,<span class="stringliteral">"|"</span>)) {
160     <a name="l00151"></a>00151 typeequiv = <a class="code" href="HyperEstraier__wrap_8cpp.html#a89">SWIG_TypeEquiv</a>(ti-&gt;<a class="code" href="structswig__type__info.html#o2">str</a>,tc-&gt;<a class="code" href="structswig__type__info.html#o2">str</a>);
161     <a name="l00152"></a>00152 }
162     <a name="l00153"></a>00153 }
163     <a name="l00154"></a>00154 <span class="keywordflow">if</span> (typeequiv) {
164     <a name="l00155"></a>00155 <span class="comment">/* Already exists in the table. Just add additional types to the list */</span>
165     <a name="l00156"></a>00156 <span class="keywordflow">if</span> (ti-&gt;<a class="code" href="structswig__type__info.html#o3">clientdata</a>) tc-&gt;<a class="code" href="structswig__type__info.html#o3">clientdata</a> = ti-&gt;<a class="code" href="structswig__type__info.html#o3">clientdata</a>;
166     <a name="l00157"></a>00157 head = tc;
167     <a name="l00158"></a>00158 next = tc-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>;
168     <a name="l00159"></a>00159 <span class="keywordflow">goto</span> l1;
169     <a name="l00160"></a>00160 }
170     <a name="l00161"></a>00161 tc = tc-&gt;<a class="code" href="structswig__type__info.html#o6">prev</a>;
171     <a name="l00162"></a>00162 }
172     <a name="l00163"></a>00163 head = ti;
173     <a name="l00164"></a>00164 next = 0;
174     <a name="l00165"></a>00165
175     <a name="l00166"></a>00166 <span class="comment">/* Place in list */</span>
176     <a name="l00167"></a>00167 ti-&gt;<a class="code" href="structswig__type__info.html#o6">prev</a> = *tl;
177     <a name="l00168"></a>00168 *tl = ti;
178     <a name="l00169"></a>00169
179     <a name="l00170"></a>00170 <span class="comment">/* Build linked lists */</span>
180     <a name="l00171"></a>00171 l1:
181     <a name="l00172"></a>00172 ret = head;
182     <a name="l00173"></a>00173 tc = ti + 1;
183     <a name="l00174"></a>00174 <span class="comment">/* Patch up the rest of the links */</span>
184     <a name="l00175"></a>00175 <span class="keywordflow">while</span> (tc-&gt;<a class="code" href="structswig__type__info.html#o0">name</a>) {
185     <a name="l00176"></a>00176 head-&gt;<a class="code" href="structswig__type__info.html#o5">next</a> = tc;
186     <a name="l00177"></a>00177 tc-&gt;<a class="code" href="structswig__type__info.html#o6">prev</a> = head;
187     <a name="l00178"></a>00178 head = tc;
188     <a name="l00179"></a>00179 tc++;
189     <a name="l00180"></a>00180 }
190     <a name="l00181"></a>00181 <span class="keywordflow">if</span> (next) next-&gt;<a class="code" href="structswig__type__info.html#o6">prev</a> = head;
191     <a name="l00182"></a>00182 head-&gt;<a class="code" href="structswig__type__info.html#o5">next</a> = next;
192     <a name="l00183"></a>00183
193     <a name="l00184"></a>00184 <span class="keywordflow">return</span> ret;
194     <a name="l00185"></a>00185 }
195     <a name="l00186"></a>00186
196     <a name="l00187"></a>00187 <span class="comment">/*</span>
197     <a name="l00188"></a>00188 <span class="comment"> Check the typename</span>
198     <a name="l00189"></a>00189 <span class="comment">*/</span>
199     <a name="l00190"></a>00190 <a class="code" href="HyperEstraier__wrap_8cpp.html#a4">SWIGRUNTIME</a> <a class="code" href="structswig__type__info.html">swig_type_info</a> *
200     <a name="l00191"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a91">00191</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a91">SWIG_TypeCheck</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *c, <a class="code" href="structswig__type__info.html">swig_type_info</a> *ty) {
201     <a name="l00192"></a>00192 <a class="code" href="structswig__type__info.html">swig_type_info</a> *s;
202     <a name="l00193"></a>00193 <span class="keywordflow">if</span> (!ty) <span class="keywordflow">return</span> 0; <span class="comment">/* Void pointer */</span>
203     <a name="l00194"></a>00194 s = ty-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>; <span class="comment">/* First element always just a name */</span>
204     <a name="l00195"></a>00195 <span class="keywordflow">do</span> {
205     <a name="l00196"></a>00196 <span class="keywordflow">if</span> (strcmp(s-&gt;<a class="code" href="structswig__type__info.html#o0">name</a>,c) == 0) {
206     <a name="l00197"></a>00197 <span class="keywordflow">if</span> (s == ty-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>) <span class="keywordflow">return</span> s;
207     <a name="l00198"></a>00198 <span class="comment">/* Move s to the top of the linked list */</span>
208     <a name="l00199"></a>00199 s-&gt;<a class="code" href="structswig__type__info.html#o6">prev</a>-&gt;<a class="code" href="structswig__type__info.html#o5">next</a> = s-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>;
209     <a name="l00200"></a>00200 <span class="keywordflow">if</span> (s-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>) {
210     <a name="l00201"></a>00201 s-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>-&gt;<a class="code" href="structswig__type__info.html#o6">prev</a> = s-&gt;<a class="code" href="structswig__type__info.html#o6">prev</a>;
211     <a name="l00202"></a>00202 }
212     <a name="l00203"></a>00203 <span class="comment">/* Insert s as second element in the list */</span>
213     <a name="l00204"></a>00204 s-&gt;<a class="code" href="structswig__type__info.html#o5">next</a> = ty-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>;
214     <a name="l00205"></a>00205 <span class="keywordflow">if</span> (ty-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>) ty-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>-&gt;<a class="code" href="structswig__type__info.html#o6">prev</a> = s;
215     <a name="l00206"></a>00206 ty-&gt;<a class="code" href="structswig__type__info.html#o5">next</a> = s;
216     <a name="l00207"></a>00207 s-&gt;<a class="code" href="structswig__type__info.html#o6">prev</a> = ty;
217     <a name="l00208"></a>00208 <span class="keywordflow">return</span> s;
218     <a name="l00209"></a>00209 }
219     <a name="l00210"></a>00210 s = s-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>;
220     <a name="l00211"></a>00211 } <span class="keywordflow">while</span> (s &amp;&amp; (s != ty-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>));
221     <a name="l00212"></a>00212 <span class="keywordflow">return</span> 0;
222     <a name="l00213"></a>00213 }
223     <a name="l00214"></a>00214
224     <a name="l00215"></a>00215 <span class="comment">/*</span>
225     <a name="l00216"></a>00216 <span class="comment"> Cast a pointer up an inheritance hierarchy</span>
226     <a name="l00217"></a>00217 <span class="comment">*/</span>
227     <a name="l00218"></a>00218 <a class="code" href="HyperEstraier__wrap_8cpp.html#a5">SWIGRUNTIMEINLINE</a> <span class="keywordtype">void</span> *
228     <a name="l00219"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a92">00219</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a92">SWIG_TypeCast</a>(<a class="code" href="structswig__type__info.html">swig_type_info</a> *ty, <span class="keywordtype">void</span> *ptr) {
229     <a name="l00220"></a>00220 <span class="keywordflow">return</span> ((!ty) || (!ty-&gt;<a class="code" href="structswig__type__info.html#o1">converter</a>)) ? ptr : (*ty-&gt;<a class="code" href="structswig__type__info.html#o1">converter</a>)(ptr);
230     <a name="l00221"></a>00221 }
231     <a name="l00222"></a>00222
232     <a name="l00223"></a>00223 <span class="comment">/* </span>
233     <a name="l00224"></a>00224 <span class="comment"> Dynamic pointer casting. Down an inheritance hierarchy</span>
234     <a name="l00225"></a>00225 <span class="comment">*/</span>
235     <a name="l00226"></a>00226 <a class="code" href="HyperEstraier__wrap_8cpp.html#a4">SWIGRUNTIME</a> <a class="code" href="structswig__type__info.html">swig_type_info</a> *
236     <a name="l00227"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a93">00227</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a93">SWIG_TypeDynamicCast</a>(<a class="code" href="structswig__type__info.html">swig_type_info</a> *ty, <span class="keywordtype">void</span> **ptr) {
237     <a name="l00228"></a>00228 <a class="code" href="structswig__type__info.html">swig_type_info</a> *lastty = ty;
238     <a name="l00229"></a>00229 <span class="keywordflow">if</span> (!ty || !ty-&gt;<a class="code" href="structswig__type__info.html#o4">dcast</a>) <span class="keywordflow">return</span> ty;
239     <a name="l00230"></a>00230 <span class="keywordflow">while</span> (ty &amp;&amp; (ty-&gt;<a class="code" href="structswig__type__info.html#o4">dcast</a>)) {
240     <a name="l00231"></a>00231 ty = (*ty-&gt;<a class="code" href="structswig__type__info.html#o4">dcast</a>)(ptr);
241     <a name="l00232"></a>00232 <span class="keywordflow">if</span> (ty) lastty = ty;
242     <a name="l00233"></a>00233 }
243     <a name="l00234"></a>00234 <span class="keywordflow">return</span> lastty;
244     <a name="l00235"></a>00235 }
245     <a name="l00236"></a>00236
246     <a name="l00237"></a>00237 <span class="comment">/*</span>
247     <a name="l00238"></a>00238 <span class="comment"> Return the name associated with this type</span>
248     <a name="l00239"></a>00239 <span class="comment">*/</span>
249     <a name="l00240"></a>00240 <a class="code" href="HyperEstraier__wrap_8cpp.html#a5">SWIGRUNTIMEINLINE</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *
250     <a name="l00241"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a94">00241</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a94">SWIG_TypeName</a>(<span class="keyword">const</span> <a class="code" href="structswig__type__info.html">swig_type_info</a> *ty) {
251     <a name="l00242"></a>00242 <span class="keywordflow">return</span> ty-&gt;<a class="code" href="structswig__type__info.html#o0">name</a>;
252     <a name="l00243"></a>00243 }
253     <a name="l00244"></a>00244
254     <a name="l00245"></a>00245 <span class="comment">/*</span>
255     <a name="l00246"></a>00246 <span class="comment"> Return the pretty name associated with this type,</span>
256     <a name="l00247"></a>00247 <span class="comment"> that is an unmangled type name in a form presentable to the user.</span>
257     <a name="l00248"></a>00248 <span class="comment">*/</span>
258     <a name="l00249"></a>00249 <a class="code" href="HyperEstraier__wrap_8cpp.html#a4">SWIGRUNTIME</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *
259     <a name="l00250"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a95">00250</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a95">SWIG_TypePrettyName</a>(<span class="keyword">const</span> <a class="code" href="structswig__type__info.html">swig_type_info</a> *type) {
260     <a name="l00251"></a>00251 <span class="comment">/* The "str" field contains the equivalent pretty names of the</span>
261     <a name="l00252"></a>00252 <span class="comment"> type, separated by vertical-bar characters. We choose</span>
262     <a name="l00253"></a>00253 <span class="comment"> to print the last name, as it is often (?) the most</span>
263     <a name="l00254"></a>00254 <span class="comment"> specific. */</span>
264     <a name="l00255"></a>00255 <span class="keywordflow">if</span> (type-&gt;<a class="code" href="structswig__type__info.html#o2">str</a> != NULL) {
265     <a name="l00256"></a>00256 <span class="keyword">const</span> <span class="keywordtype">char</span> *last_name = type-&gt;<a class="code" href="structswig__type__info.html#o2">str</a>;
266     <a name="l00257"></a>00257 <span class="keyword">const</span> <span class="keywordtype">char</span> *s;
267     <a name="l00258"></a>00258 <span class="keywordflow">for</span> (s = type-&gt;<a class="code" href="structswig__type__info.html#o2">str</a>; *s; s++)
268     <a name="l00259"></a>00259 <span class="keywordflow">if</span> (*s == <span class="charliteral">'|'</span>) last_name = s+1;
269     <a name="l00260"></a>00260 <span class="keywordflow">return</span> last_name;
270     <a name="l00261"></a>00261 }
271     <a name="l00262"></a>00262 <span class="keywordflow">else</span>
272     <a name="l00263"></a>00263 <span class="keywordflow">return</span> type-&gt;<a class="code" href="structswig__type__info.html#o0">name</a>;
273     <a name="l00264"></a>00264 }
274     <a name="l00265"></a>00265
275     <a name="l00266"></a>00266 <span class="comment">/*</span>
276     <a name="l00267"></a>00267 <span class="comment"> Search for a swig_type_info structure</span>
277     <a name="l00268"></a>00268 <span class="comment">*/</span>
278     <a name="l00269"></a>00269 <a class="code" href="HyperEstraier__wrap_8cpp.html#a4">SWIGRUNTIME</a> <a class="code" href="structswig__type__info.html">swig_type_info</a> *
279     <a name="l00270"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a96">00270</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a96">SWIG_TypeQueryTL</a>(<a class="code" href="structswig__type__info.html">swig_type_info</a> *tl, <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structswig__type__info.html#o0">name</a>) {
280     <a name="l00271"></a>00271 <a class="code" href="structswig__type__info.html">swig_type_info</a> *ty = tl;
281     <a name="l00272"></a>00272 <span class="keywordflow">while</span> (ty) {
282     <a name="l00273"></a>00273 <span class="keywordflow">if</span> (ty-&gt;<a class="code" href="structswig__type__info.html#o2">str</a> &amp;&amp; (<a class="code" href="HyperEstraier__wrap_8cpp.html#a89">SWIG_TypeEquiv</a>(ty-&gt;<a class="code" href="structswig__type__info.html#o2">str</a>,name))) <span class="keywordflow">return</span> ty;
283     <a name="l00274"></a>00274 <span class="keywordflow">if</span> (ty-&gt;<a class="code" href="structswig__type__info.html#o0">name</a> &amp;&amp; (strcmp(name,ty-&gt;<a class="code" href="structswig__type__info.html#o0">name</a>) == 0)) <span class="keywordflow">return</span> ty;
284     <a name="l00275"></a>00275 ty = ty-&gt;<a class="code" href="structswig__type__info.html#o6">prev</a>;
285     <a name="l00276"></a>00276 }
286     <a name="l00277"></a>00277 <span class="keywordflow">return</span> 0;
287     <a name="l00278"></a>00278 }
288     <a name="l00279"></a>00279
289     <a name="l00280"></a>00280 <span class="comment">/* </span>
290     <a name="l00281"></a>00281 <span class="comment"> Set the clientdata field for a type</span>
291     <a name="l00282"></a>00282 <span class="comment">*/</span>
292     <a name="l00283"></a>00283 <a class="code" href="HyperEstraier__wrap_8cpp.html#a4">SWIGRUNTIME</a> <span class="keywordtype">void</span>
293     <a name="l00284"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a97">00284</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a97">SWIG_TypeClientDataTL</a>(<a class="code" href="structswig__type__info.html">swig_type_info</a> *tl, <a class="code" href="structswig__type__info.html">swig_type_info</a> *ti, <span class="keywordtype">void</span> *<a class="code" href="structswig__type__info.html#o3">clientdata</a>) {
294     <a name="l00285"></a>00285 <a class="code" href="structswig__type__info.html">swig_type_info</a> *tc, *equiv;
295     <a name="l00286"></a>00286 <span class="keywordflow">if</span> (ti-&gt;<a class="code" href="structswig__type__info.html#o3">clientdata</a>) <span class="keywordflow">return</span>;
296     <a name="l00287"></a>00287 <span class="comment">/* if (ti-&gt;clientdata == clientdata) return; */</span>
297     <a name="l00288"></a>00288 ti-&gt;<a class="code" href="structswig__type__info.html#o3">clientdata</a> = clientdata;
298     <a name="l00289"></a>00289 equiv = ti-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>;
299     <a name="l00290"></a>00290 <span class="keywordflow">while</span> (equiv) {
300     <a name="l00291"></a>00291 <span class="keywordflow">if</span> (!equiv-&gt;<a class="code" href="structswig__type__info.html#o1">converter</a>) {
301     <a name="l00292"></a>00292 tc = tl;
302     <a name="l00293"></a>00293 <span class="keywordflow">while</span> (tc) {
303     <a name="l00294"></a>00294 <span class="keywordflow">if</span> ((strcmp(tc-&gt;<a class="code" href="structswig__type__info.html#o0">name</a>, equiv-&gt;<a class="code" href="structswig__type__info.html#o0">name</a>) == 0))
304     <a name="l00295"></a>00295 <a class="code" href="HyperEstraier__wrap_8cpp.html#a97">SWIG_TypeClientDataTL</a>(tl,tc,clientdata);
305     <a name="l00296"></a>00296 tc = tc-&gt;<a class="code" href="structswig__type__info.html#o6">prev</a>;
306     <a name="l00297"></a>00297 }
307     <a name="l00298"></a>00298 }
308     <a name="l00299"></a>00299 equiv = equiv-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>;
309     <a name="l00300"></a>00300 }
310     <a name="l00301"></a>00301 }
311     <a name="l00302"></a>00302
312     <a name="l00303"></a>00303 <span class="comment">/* </span>
313     <a name="l00304"></a>00304 <span class="comment"> Pack binary data into a string</span>
314     <a name="l00305"></a>00305 <span class="comment">*/</span>
315     <a name="l00306"></a>00306 <a class="code" href="HyperEstraier__wrap_8cpp.html#a4">SWIGRUNTIME</a> <span class="keywordtype">char</span> *
316     <a name="l00307"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a98">00307</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a98">SWIG_PackData</a>(<span class="keywordtype">char</span> *c, <span class="keywordtype">void</span> *ptr, size_t sz) {
317     <a name="l00308"></a>00308 <span class="keyword">static</span> <span class="keywordtype">char</span> hex[17] = <span class="stringliteral">"0123456789abcdef"</span>;
318     <a name="l00309"></a>00309 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *u = (<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *) ptr;
319     <a name="l00310"></a>00310 <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *eu = u + sz;
320     <a name="l00311"></a>00311 <span class="keyword">register</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> uu;
321     <a name="l00312"></a>00312 <span class="keywordflow">for</span> (; u != eu; ++u) {
322     <a name="l00313"></a>00313 uu = *u;
323     <a name="l00314"></a>00314 *(c++) = hex[(uu &amp; 0xf0) &gt;&gt; 4];
324     <a name="l00315"></a>00315 *(c++) = hex[uu &amp; 0xf];
325     <a name="l00316"></a>00316 }
326     <a name="l00317"></a>00317 <span class="keywordflow">return</span> c;
327     <a name="l00318"></a>00318 }
328     <a name="l00319"></a>00319
329     <a name="l00320"></a>00320 <span class="comment">/* </span>
330     <a name="l00321"></a>00321 <span class="comment"> Unpack binary data from a string</span>
331     <a name="l00322"></a>00322 <span class="comment">*/</span>
332     <a name="l00323"></a>00323 <a class="code" href="HyperEstraier__wrap_8cpp.html#a4">SWIGRUNTIME</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *
333     <a name="l00324"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a99">00324</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a99">SWIG_UnpackData</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *c, <span class="keywordtype">void</span> *ptr, size_t sz) {
334     <a name="l00325"></a>00325 <span class="keyword">register</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *u = (<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *) ptr;
335     <a name="l00326"></a>00326 <span class="keyword">register</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *eu = u + sz;
336     <a name="l00327"></a>00327 <span class="keywordflow">for</span> (; u != eu; ++u) {
337     <a name="l00328"></a>00328 <span class="keyword">register</span> <span class="keywordtype">int</span> d = *(c++);
338     <a name="l00329"></a>00329 <span class="keyword">register</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> uu = 0;
339     <a name="l00330"></a>00330 <span class="keywordflow">if</span> ((d &gt;= <span class="charliteral">'0'</span>) &amp;&amp; (d &lt;= <span class="charliteral">'9'</span>))
340     <a name="l00331"></a>00331 uu = ((d - <span class="charliteral">'0'</span>) &lt;&lt; 4);
341     <a name="l00332"></a>00332 <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((d &gt;= <span class="charliteral">'a'</span>) &amp;&amp; (d &lt;= <span class="charliteral">'f'</span>))
342     <a name="l00333"></a>00333 uu = ((d - (<span class="charliteral">'a'</span>-10)) &lt;&lt; 4);
343     <a name="l00334"></a>00334 <span class="keywordflow">else</span>
344     <a name="l00335"></a>00335 <span class="keywordflow">return</span> (<span class="keywordtype">char</span> *) 0;
345     <a name="l00336"></a>00336 d = *(c++);
346     <a name="l00337"></a>00337 <span class="keywordflow">if</span> ((d &gt;= <span class="charliteral">'0'</span>) &amp;&amp; (d &lt;= <span class="charliteral">'9'</span>))
347     <a name="l00338"></a>00338 uu |= (d - <span class="charliteral">'0'</span>);
348     <a name="l00339"></a>00339 <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((d &gt;= <span class="charliteral">'a'</span>) &amp;&amp; (d &lt;= <span class="charliteral">'f'</span>))
349     <a name="l00340"></a>00340 uu |= (d - (<span class="charliteral">'a'</span>-10));
350     <a name="l00341"></a>00341 <span class="keywordflow">else</span>
351     <a name="l00342"></a>00342 <span class="keywordflow">return</span> (<span class="keywordtype">char</span> *) 0;
352     <a name="l00343"></a>00343 *u = uu;
353     <a name="l00344"></a>00344 }
354     <a name="l00345"></a>00345 <span class="keywordflow">return</span> c;
355     <a name="l00346"></a>00346 }
356     <a name="l00347"></a>00347
357     <a name="l00348"></a>00348 <span class="comment">/*</span>
358     <a name="l00349"></a>00349 <span class="comment"> This function will propagate the clientdata field of type to any new</span>
359     <a name="l00350"></a>00350 <span class="comment"> swig_type_info structures that have been added into the list of</span>
360     <a name="l00351"></a>00351 <span class="comment"> equivalent types. It is like calling SWIG_TypeClientData(type,</span>
361     <a name="l00352"></a>00352 <span class="comment"> clientdata) a second time.</span>
362     <a name="l00353"></a>00353 <span class="comment">*/</span>
363     <a name="l00354"></a>00354 <a class="code" href="HyperEstraier__wrap_8cpp.html#a4">SWIGRUNTIME</a> <span class="keywordtype">void</span>
364     <a name="l00355"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a100">00355</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a100">SWIG_PropagateClientDataTL</a>(<a class="code" href="structswig__type__info.html">swig_type_info</a> *tl, <a class="code" href="structswig__type__info.html">swig_type_info</a> *type) {
365     <a name="l00356"></a>00356 <a class="code" href="structswig__type__info.html">swig_type_info</a> *equiv = type-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>;
366     <a name="l00357"></a>00357 <a class="code" href="structswig__type__info.html">swig_type_info</a> *tc;
367     <a name="l00358"></a>00358 <span class="keywordflow">if</span> (!type-&gt;<a class="code" href="structswig__type__info.html#o3">clientdata</a>) <span class="keywordflow">return</span>;
368     <a name="l00359"></a>00359 <span class="keywordflow">while</span> (equiv) {
369     <a name="l00360"></a>00360 <span class="keywordflow">if</span> (!equiv-&gt;<a class="code" href="structswig__type__info.html#o1">converter</a>) {
370     <a name="l00361"></a>00361 tc = tl;
371     <a name="l00362"></a>00362 <span class="keywordflow">while</span> (tc) {
372     <a name="l00363"></a>00363 <span class="keywordflow">if</span> ((strcmp(tc-&gt;<a class="code" href="structswig__type__info.html#o0">name</a>, equiv-&gt;<a class="code" href="structswig__type__info.html#o0">name</a>) == 0) &amp;&amp; !tc-&gt;<a class="code" href="structswig__type__info.html#o3">clientdata</a>)
373     <a name="l00364"></a>00364 <a class="code" href="HyperEstraier__wrap_8cpp.html#a97">SWIG_TypeClientDataTL</a>(tl,tc, type-&gt;<a class="code" href="structswig__type__info.html#o3">clientdata</a>);
374     <a name="l00365"></a>00365 tc = tc-&gt;<a class="code" href="structswig__type__info.html#o6">prev</a>;
375     <a name="l00366"></a>00366 }
376     <a name="l00367"></a>00367 }
377     <a name="l00368"></a>00368 equiv = equiv-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>;
378     <a name="l00369"></a>00369 }
379     <a name="l00370"></a>00370 }
380     <a name="l00371"></a>00371
381     <a name="l00372"></a>00372 <span class="comment">/* </span>
382     <a name="l00373"></a>00373 <span class="comment"> Pack 'void *' into a string buffer.</span>
383     <a name="l00374"></a>00374 <span class="comment">*/</span>
384     <a name="l00375"></a>00375 <a class="code" href="HyperEstraier__wrap_8cpp.html#a4">SWIGRUNTIME</a> <span class="keywordtype">char</span> *
385     <a name="l00376"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a101">00376</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a101">SWIG_PackVoidPtr</a>(<span class="keywordtype">char</span> *buff, <span class="keywordtype">void</span> *ptr, <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structswig__type__info.html#o0">name</a>, size_t bsz) {
386     <a name="l00377"></a>00377 <span class="keywordtype">char</span> *r = buff;
387     <a name="l00378"></a>00378 <span class="keywordflow">if</span> ((2*<span class="keyword">sizeof</span>(<span class="keywordtype">void</span> *) + 2) &gt; bsz) <span class="keywordflow">return</span> 0;
388     <a name="l00379"></a>00379 *(r++) = <span class="charliteral">'_'</span>;
389     <a name="l00380"></a>00380 r = <a class="code" href="HyperEstraier__wrap_8cpp.html#a98">SWIG_PackData</a>(r,&amp;ptr,<span class="keyword">sizeof</span>(<span class="keywordtype">void</span> *));
390     <a name="l00381"></a>00381 <span class="keywordflow">if</span> (strlen(name) + 1 &gt; (bsz - (r - buff))) <span class="keywordflow">return</span> 0;
391     <a name="l00382"></a>00382 strcpy(r,name);
392     <a name="l00383"></a>00383 <span class="keywordflow">return</span> buff;
393     <a name="l00384"></a>00384 }
394     <a name="l00385"></a>00385
395     <a name="l00386"></a>00386 <a class="code" href="HyperEstraier__wrap_8cpp.html#a4">SWIGRUNTIME</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *
396     <a name="l00387"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a102">00387</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a102">SWIG_UnpackVoidPtr</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *c, <span class="keywordtype">void</span> **ptr, <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structswig__type__info.html#o0">name</a>) {
397     <a name="l00388"></a>00388 <span class="keywordflow">if</span> (*c != <span class="charliteral">'_'</span>) {
398     <a name="l00389"></a>00389 <span class="keywordflow">if</span> (strcmp(c,<span class="stringliteral">"NULL"</span>) == 0) {
399     <a name="l00390"></a>00390 *ptr = (<span class="keywordtype">void</span> *) 0;
400     <a name="l00391"></a>00391 <span class="keywordflow">return</span> name;
401     <a name="l00392"></a>00392 } <span class="keywordflow">else</span> {
402     <a name="l00393"></a>00393 <span class="keywordflow">return</span> 0;
403     <a name="l00394"></a>00394 }
404     <a name="l00395"></a>00395 }
405     <a name="l00396"></a>00396 <span class="keywordflow">return</span> <a class="code" href="HyperEstraier__wrap_8cpp.html#a99">SWIG_UnpackData</a>(++c,ptr,<span class="keyword">sizeof</span>(<span class="keywordtype">void</span> *));
406     <a name="l00397"></a>00397 }
407     <a name="l00398"></a>00398
408     <a name="l00399"></a>00399 <a class="code" href="HyperEstraier__wrap_8cpp.html#a4">SWIGRUNTIME</a> <span class="keywordtype">char</span> *
409     <a name="l00400"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a103">00400</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a103">SWIG_PackDataName</a>(<span class="keywordtype">char</span> *buff, <span class="keywordtype">void</span> *ptr, size_t sz, <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structswig__type__info.html#o0">name</a>, size_t bsz) {
410     <a name="l00401"></a>00401 <span class="keywordtype">char</span> *r = buff;
411     <a name="l00402"></a>00402 size_t lname = (name ? strlen(name) : 0);
412     <a name="l00403"></a>00403 <span class="keywordflow">if</span> ((2*sz + 2 + lname) &gt; bsz) <span class="keywordflow">return</span> 0;
413     <a name="l00404"></a>00404 *(r++) = <span class="charliteral">'_'</span>;
414     <a name="l00405"></a>00405 r = <a class="code" href="HyperEstraier__wrap_8cpp.html#a98">SWIG_PackData</a>(r,ptr,sz);
415     <a name="l00406"></a>00406 <span class="keywordflow">if</span> (lname) {
416     <a name="l00407"></a>00407 strncpy(r,name,lname+1);
417     <a name="l00408"></a>00408 } <span class="keywordflow">else</span> {
418     <a name="l00409"></a>00409 *r = 0;
419     <a name="l00410"></a>00410 }
420     <a name="l00411"></a>00411 <span class="keywordflow">return</span> buff;
421     <a name="l00412"></a>00412 }
422     <a name="l00413"></a>00413
423     <a name="l00414"></a>00414 <a class="code" href="HyperEstraier__wrap_8cpp.html#a4">SWIGRUNTIME</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *
424     <a name="l00415"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a104">00415</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a104">SWIG_UnpackDataName</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *c, <span class="keywordtype">void</span> *ptr, size_t sz, <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structswig__type__info.html#o0">name</a>) {
425     <a name="l00416"></a>00416 <span class="keywordflow">if</span> (*c != <span class="charliteral">'_'</span>) {
426     <a name="l00417"></a>00417 <span class="keywordflow">if</span> (strcmp(c,<span class="stringliteral">"NULL"</span>) == 0) {
427     <a name="l00418"></a>00418 memset(ptr,0,sz);
428     <a name="l00419"></a>00419 <span class="keywordflow">return</span> name;
429     <a name="l00420"></a>00420 } <span class="keywordflow">else</span> {
430     <a name="l00421"></a>00421 <span class="keywordflow">return</span> 0;
431     <a name="l00422"></a>00422 }
432     <a name="l00423"></a>00423 }
433     <a name="l00424"></a>00424 <span class="keywordflow">return</span> <a class="code" href="HyperEstraier__wrap_8cpp.html#a99">SWIG_UnpackData</a>(++c,ptr,sz);
434     <a name="l00425"></a>00425 }
435     <a name="l00426"></a>00426
436     <a name="l00427"></a>00427 <span class="preprocessor">#ifdef __cplusplus</span>
437     <a name="l00428"></a>00428 <span class="preprocessor"></span>}
438     <a name="l00429"></a>00429 <span class="preprocessor">#endif</span>
439     <a name="l00430"></a>00430 <span class="preprocessor"></span>
440     <a name="l00431"></a>00431 <span class="comment">/***********************************************************************</span>
441     <a name="l00432"></a>00432 <span class="comment"> * common.swg</span>
442     <a name="l00433"></a>00433 <span class="comment"> *</span>
443     <a name="l00434"></a>00434 <span class="comment"> * This file contains generic SWIG runtime support for pointer</span>
444     <a name="l00435"></a>00435 <span class="comment"> * type checking as well as a few commonly used macros to control</span>
445     <a name="l00436"></a>00436 <span class="comment"> * external linkage.</span>
446     <a name="l00437"></a>00437 <span class="comment"> *</span>
447     <a name="l00438"></a>00438 <span class="comment"> * Author : David Beazley (beazley@cs.uchicago.edu)</span>
448     <a name="l00439"></a>00439 <span class="comment"> *</span>
449     <a name="l00440"></a>00440 <span class="comment"> * Copyright (c) 1999-2000, The University of Chicago</span>
450     <a name="l00441"></a>00441 <span class="comment"> * </span>
451     <a name="l00442"></a>00442 <span class="comment"> * This file may be freely redistributed without license or fee provided</span>
452     <a name="l00443"></a>00443 <span class="comment"> * this copyright message remains intact.</span>
453     <a name="l00444"></a>00444 <span class="comment"> ************************************************************************/</span>
454     <a name="l00445"></a>00445
455     <a name="l00446"></a>00446
456     <a name="l00447"></a>00447 <span class="preprocessor">#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)</span>
457     <a name="l00448"></a>00448 <span class="preprocessor"></span><span class="preprocessor"># if !defined(STATIC_LINKED)</span>
458     <a name="l00449"></a>00449 <span class="preprocessor"></span><span class="preprocessor"># define SWIGEXPORT(a) __declspec(dllexport) a</span>
459     <a name="l00450"></a>00450 <span class="preprocessor"></span><span class="preprocessor"># else</span>
460     <a name="l00451"></a>00451 <span class="preprocessor"></span><span class="preprocessor"># define SWIGEXPORT(a) a</span>
461     <a name="l00452"></a>00452 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
462     <a name="l00453"></a>00453 <span class="preprocessor"></span><span class="preprocessor">#else</span>
463     <a name="l00454"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a6">00454</a> <span class="preprocessor"></span><span class="preprocessor"># define SWIGEXPORT(a) a</span>
464     <a name="l00455"></a>00455 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
465     <a name="l00456"></a>00456 <span class="preprocessor"></span>
466     <a name="l00457"></a>00457 <span class="preprocessor">#ifdef __cplusplus</span>
467     <a name="l00458"></a>00458 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
468     <a name="l00459"></a>00459 <span class="preprocessor">#endif</span>
469     <a name="l00460"></a>00460 <span class="preprocessor"></span>
470     <a name="l00461"></a>00461
471     <a name="l00462"></a>00462 <span class="comment">/*************************************************************************/</span>
472     <a name="l00463"></a>00463
473     <a name="l00464"></a>00464
474     <a name="l00465"></a>00465 <span class="comment">/* The static type info list */</span>
475     <a name="l00466"></a>00466
476     <a name="l00467"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a67">00467</a> <span class="keyword">static</span> <a class="code" href="structswig__type__info.html">swig_type_info</a> *<a class="code" href="HyperEstraier__wrap_8cpp.html#a67">swig_type_list</a> = 0;
477     <a name="l00468"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a68">00468</a> <span class="keyword">static</span> <a class="code" href="structswig__type__info.html">swig_type_info</a> **<a class="code" href="HyperEstraier__wrap_8cpp.html#a68">swig_type_list_handle</a> = &amp;swig_type_list;
478     <a name="l00469"></a>00469
479     <a name="l00470"></a>00470
480     <a name="l00471"></a>00471 <span class="comment">/* Register a type mapping with the type-checking */</span>
481     <a name="l00472"></a>00472 <span class="keyword">static</span> <a class="code" href="structswig__type__info.html">swig_type_info</a> *
482     <a name="l00473"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a105">00473</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a105">SWIG_TypeRegister</a>(<a class="code" href="structswig__type__info.html">swig_type_info</a> *ti) {
483     <a name="l00474"></a>00474 <span class="keywordflow">return</span> <a class="code" href="HyperEstraier__wrap_8cpp.html#a90">SWIG_TypeRegisterTL</a>(swig_type_list_handle, ti);
484     <a name="l00475"></a>00475 }
485     <a name="l00476"></a>00476
486     <a name="l00477"></a>00477 <span class="comment">/* Search for a swig_type_info structure */</span>
487     <a name="l00478"></a>00478 <span class="keyword">static</span> <a class="code" href="structswig__type__info.html">swig_type_info</a> *
488     <a name="l00479"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a106">00479</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a106">SWIG_TypeQuery</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structswig__type__info.html#o0">name</a>) {
489     <a name="l00480"></a>00480 <span class="keywordflow">return</span> <a class="code" href="HyperEstraier__wrap_8cpp.html#a96">SWIG_TypeQueryTL</a>(*swig_type_list_handle, name);
490     <a name="l00481"></a>00481 }
491     <a name="l00482"></a>00482
492     <a name="l00483"></a>00483 <span class="comment">/* Set the clientdata field for a type */</span>
493     <a name="l00484"></a>00484 <span class="keyword">static</span> <span class="keywordtype">void</span>
494     <a name="l00485"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a107">00485</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a107">SWIG_TypeClientData</a>(<a class="code" href="structswig__type__info.html">swig_type_info</a> *ti, <span class="keywordtype">void</span> *<a class="code" href="structswig__type__info.html#o3">clientdata</a>) {
495     <a name="l00486"></a>00486 <a class="code" href="HyperEstraier__wrap_8cpp.html#a97">SWIG_TypeClientDataTL</a>(*swig_type_list_handle, ti, clientdata);
496     <a name="l00487"></a>00487 }
497     <a name="l00488"></a>00488
498     <a name="l00489"></a>00489 <span class="comment">/* This function will propagate the clientdata field of type to</span>
499     <a name="l00490"></a>00490 <span class="comment">* any new swig_type_info structures that have been added into the list</span>
500     <a name="l00491"></a>00491 <span class="comment">* of equivalent types. It is like calling</span>
501     <a name="l00492"></a>00492 <span class="comment">* SWIG_TypeClientData(type, clientdata) a second time.</span>
502     <a name="l00493"></a>00493 <span class="comment">*/</span>
503     <a name="l00494"></a>00494 <span class="keyword">static</span> <span class="keywordtype">void</span>
504     <a name="l00495"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a108">00495</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a108">SWIG_PropagateClientData</a>(<a class="code" href="structswig__type__info.html">swig_type_info</a> *type) {
505     <a name="l00496"></a>00496 <a class="code" href="HyperEstraier__wrap_8cpp.html#a100">SWIG_PropagateClientDataTL</a>(*swig_type_list_handle, type);
506     <a name="l00497"></a>00497 }
507     <a name="l00498"></a>00498
508     <a name="l00499"></a>00499 <span class="preprocessor">#ifdef __cplusplus</span>
509     <a name="l00500"></a>00500 <span class="preprocessor"></span>}
510     <a name="l00501"></a>00501 <span class="preprocessor">#endif</span>
511     <a name="l00502"></a>00502 <span class="preprocessor"></span>
512     <a name="l00503"></a>00503 <span class="comment">/* ---------------------------------------------------------------------- -*- c -*-</span>
513     <a name="l00504"></a>00504 <span class="comment"> * perl5.swg</span>
514     <a name="l00505"></a>00505 <span class="comment"> *</span>
515     <a name="l00506"></a>00506 <span class="comment"> * Perl5 runtime library</span>
516     <a name="l00507"></a>00507 <span class="comment"> * $Header: /cvsroot/swig/SWIG/Lib/perl5/perlrun.swg,v 1.20 2004/11/29 23:13:57 wuzzeb Exp $</span>
517     <a name="l00508"></a>00508 <span class="comment"> * ----------------------------------------------------------------------------- */</span>
518     <a name="l00509"></a>00509
519     <a name="l00510"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a7">00510</a> <span class="preprocessor">#define SWIGPERL</span>
520     <a name="l00511"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a8">00511</a> <span class="preprocessor"></span><span class="preprocessor">#define SWIGPERL5</span>
521     <a name="l00512"></a>00512 <span class="preprocessor"></span><span class="preprocessor">#ifdef __cplusplus</span>
522     <a name="l00513"></a>00513 <span class="preprocessor"></span><span class="comment">/* Needed on some windows machines---since MS plays funny games with the header files under C++ */</span>
523     <a name="l00514"></a>00514 <span class="preprocessor">#include &lt;math.h&gt;</span>
524     <a name="l00515"></a>00515 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
525     <a name="l00516"></a>00516 <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
526     <a name="l00517"></a>00517 <span class="preprocessor">#endif</span>
527     <a name="l00518"></a>00518 <span class="preprocessor"></span><span class="preprocessor">#include "EXTERN.h"</span>
528     <a name="l00519"></a>00519 <span class="preprocessor">#include "perl.h"</span>
529     <a name="l00520"></a>00520 <span class="preprocessor">#include "XSUB.h"</span>
530     <a name="l00521"></a>00521
531     <a name="l00522"></a>00522 <span class="comment">/* Get rid of free and malloc defined by perl */</span>
532     <a name="l00523"></a>00523 <span class="preprocessor">#undef free</span>
533     <a name="l00524"></a>00524 <span class="preprocessor"></span><span class="preprocessor">#undef malloc</span>
534     <a name="l00525"></a>00525 <span class="preprocessor"></span>
535     <a name="l00526"></a>00526 <span class="preprocessor">#ifndef pTHX_</span>
536     <a name="l00527"></a>00527 <span class="preprocessor"></span><span class="preprocessor">#define pTHX_</span>
537     <a name="l00528"></a>00528 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
538     <a name="l00529"></a>00529 <span class="preprocessor"></span>
539     <a name="l00530"></a>00530 <span class="preprocessor">#include &lt;string.h&gt;</span>
540     <a name="l00531"></a>00531 <span class="preprocessor">#ifdef __cplusplus</span>
541     <a name="l00532"></a>00532 <span class="preprocessor"></span>}
542     <a name="l00533"></a>00533 <span class="preprocessor">#endif</span>
543     <a name="l00534"></a>00534 <span class="preprocessor"></span>
544     <a name="l00535"></a>00535 <span class="comment">/* Macro to call an XS function */</span>
545     <a name="l00536"></a>00536
546     <a name="l00537"></a>00537 <span class="preprocessor">#ifdef PERL_OBJECT </span>
547     <a name="l00538"></a>00538 <span class="preprocessor"></span><span class="preprocessor"># define SWIG_CALLXS(_name) _name(cv,pPerl) </span>
548     <a name="l00539"></a>00539 <span class="preprocessor"></span><span class="preprocessor">#else </span>
549     <a name="l00540"></a>00540 <span class="preprocessor"></span><span class="preprocessor"># ifndef MULTIPLICITY </span>
550     <a name="l00541"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a9">00541</a> <span class="preprocessor"></span><span class="preprocessor"># define SWIG_CALLXS(_name) _name(cv) </span>
551     <a name="l00542"></a>00542 <span class="preprocessor"></span><span class="preprocessor"># else </span>
552     <a name="l00543"></a>00543 <span class="preprocessor"></span><span class="preprocessor"># define SWIG_CALLXS(_name) _name(PERL_GET_THX, cv) </span>
553     <a name="l00544"></a>00544 <span class="preprocessor"></span><span class="preprocessor"># endif </span>
554     <a name="l00545"></a>00545 <span class="preprocessor"></span><span class="preprocessor">#endif </span>
555     <a name="l00546"></a>00546 <span class="preprocessor"></span>
556     <a name="l00547"></a>00547 <span class="comment">/* Contract support */</span>
557     <a name="l00548"></a>00548
558     <a name="l00549"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a10">00549</a> <span class="preprocessor">#define SWIG_contract_assert(expr,msg) if (!(expr)) { SWIG_croak(msg); } else</span>
559     <a name="l00550"></a>00550 <span class="preprocessor"></span>
560     <a name="l00551"></a>00551 <span class="comment">/* Note: SwigMagicFuncHack is a typedef used to get the C++ compiler to just shut up already */</span>
561     <a name="l00552"></a>00552
562     <a name="l00553"></a>00553 <span class="preprocessor">#ifdef PERL_OBJECT</span>
563     <a name="l00554"></a>00554 <span class="preprocessor"></span><span class="preprocessor">#define MAGIC_PPERL CPerlObj *pPerl = (CPerlObj *) this;</span>
564     <a name="l00555"></a>00555 <span class="preprocessor"></span><span class="keyword">typedef</span> int (CPerlObj::*<a class="code" href="HyperEstraier__wrap_8cpp.html#a69">SwigMagicFunc</a>)(SV *, MAGIC *);
565     <a name="l00556"></a>00556
566     <a name="l00557"></a>00557 <span class="preprocessor">#ifdef __cplusplus</span>
567     <a name="l00558"></a>00558 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
568     <a name="l00559"></a>00559 <span class="preprocessor">#endif</span>
569     <a name="l00560"></a>00560 <span class="preprocessor"></span><span class="keyword">typedef</span> int (CPerlObj::*<a class="code" href="HyperEstraier__wrap_8cpp.html#a70">SwigMagicFuncHack</a>)(SV *, MAGIC *);
570     <a name="l00561"></a>00561 <span class="preprocessor">#ifdef __cplusplus</span>
571     <a name="l00562"></a>00562 <span class="preprocessor"></span>}
572     <a name="l00563"></a>00563 <span class="preprocessor">#endif</span>
573     <a name="l00564"></a>00564 <span class="preprocessor"></span>
574     <a name="l00565"></a>00565 <span class="preprocessor">#define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)</span>
575     <a name="l00566"></a>00566 <span class="preprocessor"></span><span class="preprocessor">#define SWIGCLASS_STATIC</span>
576     <a name="l00567"></a>00567 <span class="preprocessor"></span><span class="preprocessor">#else</span>
577     <a name="l00568"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a11">00568</a> <span class="preprocessor"></span><span class="preprocessor">#define MAGIC_PPERL</span>
578     <a name="l00569"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a12">00569</a> <span class="preprocessor"></span><span class="preprocessor">#define SWIGCLASS_STATIC static</span>
579     <a name="l00570"></a>00570 <span class="preprocessor"></span><span class="preprocessor">#ifndef MULTIPLICITY</span>
580     <a name="l00571"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a13">00571</a> <span class="preprocessor"></span><span class="preprocessor">#define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)</span>
581     <a name="l00572"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a69">00572</a> <span class="preprocessor"></span><span class="keyword">typedef</span> int (*<a class="code" href="HyperEstraier__wrap_8cpp.html#a69">SwigMagicFunc</a>)(SV *, MAGIC *);
582     <a name="l00573"></a>00573
583     <a name="l00574"></a>00574 <span class="preprocessor">#ifdef __cplusplus</span>
584     <a name="l00575"></a>00575 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
585     <a name="l00576"></a>00576 <span class="preprocessor">#endif</span>
586     <a name="l00577"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a70">00577</a> <span class="preprocessor"></span><span class="keyword">typedef</span> int (*<a class="code" href="HyperEstraier__wrap_8cpp.html#a70">SwigMagicFuncHack</a>)(SV *, MAGIC *);
587     <a name="l00578"></a>00578 <span class="preprocessor">#ifdef __cplusplus</span>
588     <a name="l00579"></a>00579 <span class="preprocessor"></span>}
589     <a name="l00580"></a>00580 <span class="preprocessor">#endif</span>
590     <a name="l00581"></a>00581 <span class="preprocessor"></span>
591     <a name="l00582"></a>00582
592     <a name="l00583"></a>00583 <span class="preprocessor">#else</span>
593     <a name="l00584"></a>00584 <span class="preprocessor"></span><span class="preprocessor">#define SWIG_MAGIC(a,b) (struct interpreter *interp, SV *a, MAGIC *b)</span>
594     <a name="l00585"></a>00585 <span class="preprocessor"></span><span class="keyword">typedef</span> int (*<a class="code" href="HyperEstraier__wrap_8cpp.html#a69">SwigMagicFunc</a>)(<span class="keyword">struct </span>interpreter *, SV *, MAGIC *);
595     <a name="l00586"></a>00586 <span class="preprocessor">#ifdef __cplusplus</span>
596     <a name="l00587"></a>00587 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
597     <a name="l00588"></a>00588 <span class="preprocessor">#endif</span>
598     <a name="l00589"></a>00589 <span class="preprocessor"></span><span class="keyword">typedef</span> int (*<a class="code" href="HyperEstraier__wrap_8cpp.html#a70">SwigMagicFuncHack</a>)(<span class="keyword">struct </span>interpreter *, SV *, MAGIC *);
599     <a name="l00590"></a>00590 <span class="preprocessor">#ifdef __cplusplus</span>
600     <a name="l00591"></a>00591 <span class="preprocessor"></span>}
601     <a name="l00592"></a>00592 <span class="preprocessor">#endif</span>
602     <a name="l00593"></a>00593 <span class="preprocessor"></span>
603     <a name="l00594"></a>00594 <span class="preprocessor">#endif</span>
604     <a name="l00595"></a>00595 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
605     <a name="l00596"></a>00596 <span class="preprocessor"></span>
606     <a name="l00597"></a>00597 <span class="preprocessor">#if defined(WIN32) &amp;&amp; defined(PERL_OBJECT) &amp;&amp; !defined(PerlIO_exportFILE)</span>
607     <a name="l00598"></a>00598 <span class="preprocessor"></span><span class="preprocessor">#define PerlIO_exportFILE(fh,fl) (FILE*)(fh)</span>
608     <a name="l00599"></a>00599 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
609     <a name="l00600"></a>00600 <span class="preprocessor"></span>
610     <a name="l00601"></a>00601 <span class="comment">/* Modifications for newer Perl 5.005 releases */</span>
611     <a name="l00602"></a>00602
612     <a name="l00603"></a>00603 <span class="preprocessor">#if !defined(PERL_REVISION) || ((PERL_REVISION &gt;= 5) &amp;&amp; ((PERL_VERSION &lt; 5) || ((PERL_VERSION == 5) &amp;&amp; (PERL_SUBVERSION &lt; 50))))</span>
613     <a name="l00604"></a>00604 <span class="preprocessor"></span><span class="preprocessor"># ifndef PL_sv_yes</span>
614     <a name="l00605"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a14">00605</a> <span class="preprocessor"></span><span class="preprocessor"># define PL_sv_yes sv_yes</span>
615     <a name="l00606"></a>00606 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
616     <a name="l00607"></a>00607 <span class="preprocessor"></span><span class="preprocessor"># ifndef PL_sv_undef</span>
617     <a name="l00608"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a15">00608</a> <span class="preprocessor"></span><span class="preprocessor"># define PL_sv_undef sv_undef</span>
618     <a name="l00609"></a>00609 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
619     <a name="l00610"></a>00610 <span class="preprocessor"></span><span class="preprocessor"># ifndef PL_na</span>
620     <a name="l00611"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a16">00611</a> <span class="preprocessor"></span><span class="preprocessor"># define PL_na na</span>
621     <a name="l00612"></a>00612 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
622     <a name="l00613"></a>00613 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
623     <a name="l00614"></a>00614 <span class="preprocessor"></span>
624     <a name="l00615"></a>00615 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
625     <a name="l00616"></a>00616
626     <a name="l00617"></a>00617 <span class="preprocessor">#ifdef __cplusplus</span>
627     <a name="l00618"></a>00618 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
628     <a name="l00619"></a>00619 <span class="preprocessor">#endif</span>
629     <a name="l00620"></a>00620 <span class="preprocessor"></span>
630     <a name="l00621"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a17">00621</a> <span class="preprocessor">#define SWIG_OWNER 1</span>
631     <a name="l00622"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a18">00622</a> <span class="preprocessor"></span><span class="preprocessor">#define SWIG_SHADOW 2</span>
632     <a name="l00623"></a>00623 <span class="preprocessor"></span>
633     <a name="l00624"></a>00624 <span class="comment">/* Common SWIG API */</span>
634     <a name="l00625"></a>00625
635     <a name="l00626"></a>00626 <span class="preprocessor">#ifdef PERL_OBJECT</span>
636     <a name="l00627"></a>00627 <span class="preprocessor"></span><span class="preprocessor"># define SWIG_ConvertPtr(obj, pp, type, flags) \</span>
637     <a name="l00628"></a>00628 <span class="preprocessor"> SWIG_Perl_ConvertPtr(pPerl, obj, pp, type, flags)</span>
638     <a name="l00629"></a>00629 <span class="preprocessor"></span><span class="preprocessor"># define SWIG_NewPointerObj(p, type, flags) \</span>
639     <a name="l00630"></a>00630 <span class="preprocessor"> SWIG_Perl_NewPointerObj(pPerl, p, type, flags)</span>
640     <a name="l00631"></a>00631 <span class="preprocessor"></span><span class="preprocessor"># define SWIG_MakePackedObj(sv, p, s, type) \</span>
641     <a name="l00632"></a>00632 <span class="preprocessor"> SWIG_Perl_MakePackedObj(pPerl, sv, p, s, type)</span>
642     <a name="l00633"></a>00633 <span class="preprocessor"></span><span class="preprocessor"># define SWIG_ConvertPacked(obj, p, s, type, flags) \</span>
643     <a name="l00634"></a>00634 <span class="preprocessor"> SWIG_Perl_ConvertPacked(pPerl, obj, p, s, type, flags)</span>
644     <a name="l00635"></a>00635 <span class="preprocessor"></span>
645     <a name="l00636"></a>00636 <span class="preprocessor">#else</span>
646     <a name="l00637"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a19">00637</a> <span class="preprocessor"></span><span class="preprocessor"># define SWIG_ConvertPtr(obj, pp, type, flags) \</span>
647     <a name="l00638"></a>00638 <span class="preprocessor"> SWIG_Perl_ConvertPtr(obj, pp, type, flags)</span>
648     <a name="l00639"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a20">00639</a> <span class="preprocessor"></span><span class="preprocessor"># define SWIG_NewPointerObj(p, type, flags) \</span>
649     <a name="l00640"></a>00640 <span class="preprocessor"> SWIG_Perl_NewPointerObj(p, type, flags)</span>
650     <a name="l00641"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a21">00641</a> <span class="preprocessor"></span><span class="preprocessor"># define SWIG_MakePackedObj(sv, p, s, type) \</span>
651     <a name="l00642"></a>00642 <span class="preprocessor"> SWIG_Perl_MakePackedObj(sv, p, s, type )</span>
652     <a name="l00643"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a22">00643</a> <span class="preprocessor"></span><span class="preprocessor"># define SWIG_ConvertPacked(obj, p, s, type, flags) \</span>
653     <a name="l00644"></a>00644 <span class="preprocessor"> SWIG_Perl_ConvertPacked(obj, p, s, type, flags)</span>
654     <a name="l00645"></a>00645 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
655     <a name="l00646"></a>00646 <span class="preprocessor"></span>
656     <a name="l00647"></a>00647 <span class="comment">/* Perl-specific API */</span>
657     <a name="l00648"></a>00648 <span class="preprocessor">#ifdef PERL_OBJECT</span>
658     <a name="l00649"></a>00649 <span class="preprocessor"></span><span class="preprocessor"># define SWIG_MakePtr(sv, ptr, type, flags) \</span>
659     <a name="l00650"></a>00650 <span class="preprocessor"> SWIG_Perl_MakePtr(pPerl, sv, ptr, type, flags)</span>
660     <a name="l00651"></a>00651 <span class="preprocessor"></span><span class="preprocessor"># define SWIG_SetError(str) \</span>
661     <a name="l00652"></a>00652 <span class="preprocessor"> SWIG_Perl_SetError(pPerl, str)</span>
662     <a name="l00653"></a>00653 <span class="preprocessor"></span><span class="preprocessor">#else</span>
663     <a name="l00654"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a23">00654</a> <span class="preprocessor"></span><span class="preprocessor"># define SWIG_MakePtr(sv, ptr, type, flags) \</span>
664     <a name="l00655"></a>00655 <span class="preprocessor"> SWIG_Perl_MakePtr(sv, ptr, type, flags)</span>
665     <a name="l00656"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a24">00656</a> <span class="preprocessor"></span><span class="preprocessor"># define SWIG_SetError(str) \</span>
666     <a name="l00657"></a>00657 <span class="preprocessor"> SWIG_Perl_SetError(str)</span>
667     <a name="l00658"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a25">00658</a> <span class="preprocessor"></span><span class="preprocessor"># define SWIG_SetErrorSV(str) \</span>
668     <a name="l00659"></a>00659 <span class="preprocessor"> SWIG_Perl_SetErrorSV(str)</span>
669     <a name="l00660"></a>00660 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
670     <a name="l00661"></a>00661 <span class="preprocessor"></span>
671     <a name="l00662"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a26">00662</a> <span class="preprocessor">#define SWIG_SetErrorf SWIG_Perl_SetErrorf</span>
672     <a name="l00663"></a>00663 <span class="preprocessor"></span>
673     <a name="l00664"></a>00664
674     <a name="l00665"></a>00665 <span class="preprocessor">#ifdef PERL_OBJECT</span>
675     <a name="l00666"></a>00666 <span class="preprocessor"></span><span class="preprocessor"># define SWIG_MAYBE_PERL_OBJECT CPerlObj *pPerl,</span>
676     <a name="l00667"></a>00667 <span class="preprocessor"></span><span class="preprocessor">#else</span>
677     <a name="l00668"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a27">00668</a> <span class="preprocessor"></span><span class="preprocessor"># define SWIG_MAYBE_PERL_OBJECT</span>
678     <a name="l00669"></a>00669 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
679     <a name="l00670"></a>00670 <span class="preprocessor"></span>
680     <a name="l00671"></a>00671 <span class="keyword">static</span> <a class="code" href="structswig__type__info.html">swig_type_info</a> **
681     <a name="l00672"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a109">00672</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a109">SWIG_Perl_GetTypeListHandle</a>() {
682     <a name="l00673"></a>00673 <span class="keyword">static</span> <span class="keywordtype">void</span> *type_pointer = (<span class="keywordtype">void</span> *)0;
683     <a name="l00674"></a>00674 SV *pointer;
684     <a name="l00675"></a>00675
685     <a name="l00676"></a>00676 <span class="comment">/* first check if pointer already created */</span>
686     <a name="l00677"></a>00677 <span class="keywordflow">if</span> (!type_pointer) {
687     <a name="l00678"></a>00678 pointer = get_sv(<span class="stringliteral">"swig_runtime_data::type_pointer"</span> <a class="code" href="HyperEstraier__wrap_8cpp.html#a1">SWIG_RUNTIME_VERSION</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a2">SWIG_TYPE_TABLE_NAME</a>, FALSE);
688     <a name="l00679"></a>00679 <span class="keywordflow">if</span> (pointer &amp;&amp; SvOK(pointer)) {
689     <a name="l00680"></a>00680 type_pointer = INT2PTR(<a class="code" href="structswig__type__info.html">swig_type_info</a> **, SvIV(pointer));
690     <a name="l00681"></a>00681 }
691     <a name="l00682"></a>00682 }
692     <a name="l00683"></a>00683
693     <a name="l00684"></a>00684 <span class="keywordflow">return</span> (<a class="code" href="structswig__type__info.html">swig_type_info</a> **) type_pointer;
694     <a name="l00685"></a>00685 }
695     <a name="l00686"></a>00686
696     <a name="l00687"></a>00687 <span class="comment">/*</span>
697     <a name="l00688"></a>00688 <span class="comment"> Search for a swig_type_info structure</span>
698     <a name="l00689"></a>00689 <span class="comment"> */</span>
699     <a name="l00690"></a>00690 <a class="code" href="HyperEstraier__wrap_8cpp.html#a5">SWIGRUNTIMEINLINE</a> <a class="code" href="structswig__type__info.html">swig_type_info</a> *
700     <a name="l00691"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a110">00691</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a110">SWIG_Perl_GetTypeList</a>() {
701     <a name="l00692"></a>00692 <a class="code" href="structswig__type__info.html">swig_type_info</a> **tlh = <a class="code" href="HyperEstraier__wrap_8cpp.html#a109">SWIG_Perl_GetTypeListHandle</a>();
702     <a name="l00693"></a>00693 <span class="keywordflow">return</span> tlh ? *tlh : (<a class="code" href="structswig__type__info.html">swig_type_info</a>*)0;
703     <a name="l00694"></a>00694 }
704     <a name="l00695"></a>00695
705     <a name="l00696"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a28">00696</a> <span class="preprocessor">#define SWIG_Runtime_GetTypeList SWIG_Perl_GetTypeList </span>
706     <a name="l00697"></a>00697 <span class="preprocessor"></span>
707     <a name="l00698"></a>00698 <span class="keyword">static</span> <a class="code" href="structswig__type__info.html">swig_type_info</a> *
708     <a name="l00699"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a111">00699</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a111">SWIG_Perl_TypeCheckRV</a>(<a class="code" href="HyperEstraier__wrap_8cpp.html#a27">SWIG_MAYBE_PERL_OBJECT</a> SV *rv, <a class="code" href="structswig__type__info.html">swig_type_info</a> *ty) {
709     <a name="l00700"></a>00700 <a class="code" href="structswig__type__info.html">swig_type_info</a> *s;
710     <a name="l00701"></a>00701 <span class="keywordflow">if</span> (!ty) <span class="keywordflow">return</span> 0; <span class="comment">/* Void pointer */</span>
711     <a name="l00702"></a>00702 s = ty-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>; <span class="comment">/* First element always just a name */</span>
712     <a name="l00703"></a>00703 <span class="keywordflow">do</span> {
713     <a name="l00704"></a>00704 <span class="keywordflow">if</span> (sv_derived_from(rv, (<span class="keywordtype">char</span> *) s-&gt;<a class="code" href="structswig__type__info.html#o0">name</a>)) {
714     <a name="l00705"></a>00705 <span class="keywordflow">if</span> (s == ty-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>) <span class="keywordflow">return</span> s;
715     <a name="l00706"></a>00706 <span class="comment">/* Move s to the top of the linked list */</span>
716     <a name="l00707"></a>00707 s-&gt;<a class="code" href="structswig__type__info.html#o6">prev</a>-&gt;<a class="code" href="structswig__type__info.html#o5">next</a> = s-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>;
717     <a name="l00708"></a>00708 <span class="keywordflow">if</span> (s-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>) {
718     <a name="l00709"></a>00709 s-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>-&gt;<a class="code" href="structswig__type__info.html#o6">prev</a> = s-&gt;<a class="code" href="structswig__type__info.html#o6">prev</a>;
719     <a name="l00710"></a>00710 }
720     <a name="l00711"></a>00711 <span class="comment">/* Insert s as second element in the list */</span>
721     <a name="l00712"></a>00712 s-&gt;<a class="code" href="structswig__type__info.html#o5">next</a> = ty-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>;
722     <a name="l00713"></a>00713 <span class="keywordflow">if</span> (ty-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>) ty-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>-&gt;<a class="code" href="structswig__type__info.html#o6">prev</a> = s;
723     <a name="l00714"></a>00714 ty-&gt;<a class="code" href="structswig__type__info.html#o5">next</a> = s;
724     <a name="l00715"></a>00715 s-&gt;<a class="code" href="structswig__type__info.html#o6">prev</a> = ty;
725     <a name="l00716"></a>00716 <span class="keywordflow">return</span> s;
726     <a name="l00717"></a>00717 }
727     <a name="l00718"></a>00718 s = s-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>;
728     <a name="l00719"></a>00719 } <span class="keywordflow">while</span> (s &amp;&amp; (s != ty-&gt;<a class="code" href="structswig__type__info.html#o5">next</a>));
729     <a name="l00720"></a>00720 <span class="keywordflow">return</span> 0;
730     <a name="l00721"></a>00721 }
731     <a name="l00722"></a>00722
732     <a name="l00723"></a>00723 <span class="comment">/* Function for getting a pointer value */</span>
733     <a name="l00724"></a>00724
734     <a name="l00725"></a>00725 <span class="keyword">static</span> <span class="keywordtype">int</span>
735     <a name="l00726"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a112">00726</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a112">SWIG_Perl_ConvertPtr</a>(<a class="code" href="HyperEstraier__wrap_8cpp.html#a27">SWIG_MAYBE_PERL_OBJECT</a> SV *sv, <span class="keywordtype">void</span> **ptr, <a class="code" href="structswig__type__info.html">swig_type_info</a> *_t, <span class="keywordtype">int</span> flags) {
736     <a name="l00727"></a>00727 <a class="code" href="structswig__type__info.html">swig_type_info</a> *tc;
737     <a name="l00728"></a>00728 <span class="keywordtype">void</span> *voidptr = (<span class="keywordtype">void</span> *)0;
738     <a name="l00729"></a>00729
739     <a name="l00730"></a>00730 <span class="comment">/* If magical, apply more magic */</span>
740     <a name="l00731"></a>00731 <span class="keywordflow">if</span> (SvGMAGICAL(sv))
741     <a name="l00732"></a>00732 mg_get(sv);
742     <a name="l00733"></a>00733
743     <a name="l00734"></a>00734 <span class="comment">/* Check to see if this is an object */</span>
744     <a name="l00735"></a>00735 <span class="keywordflow">if</span> (sv_isobject(sv)) {
745     <a name="l00736"></a>00736 SV *tsv = (SV*) SvRV(sv);
746     <a name="l00737"></a>00737 IV tmp = 0;
747     <a name="l00738"></a>00738 <span class="keywordflow">if</span> ((SvTYPE(tsv) == SVt_PVHV)) {
748     <a name="l00739"></a>00739 MAGIC *mg;
749     <a name="l00740"></a>00740 <span class="keywordflow">if</span> (SvMAGICAL(tsv)) {
750     <a name="l00741"></a>00741 mg = mg_find(tsv,<span class="charliteral">'P'</span>);
751     <a name="l00742"></a>00742 <span class="keywordflow">if</span> (mg) {
752     <a name="l00743"></a>00743 sv = mg-&gt;mg_obj;
753     <a name="l00744"></a>00744 <span class="keywordflow">if</span> (sv_isobject(sv)) {
754     <a name="l00745"></a>00745 tmp = SvIV((SV*)SvRV(sv));
755     <a name="l00746"></a>00746 }
756     <a name="l00747"></a>00747 }
757     <a name="l00748"></a>00748 } <span class="keywordflow">else</span> {
758     <a name="l00749"></a>00749 <span class="keywordflow">return</span> -1;
759     <a name="l00750"></a>00750 }
760     <a name="l00751"></a>00751 } <span class="keywordflow">else</span> {
761     <a name="l00752"></a>00752 tmp = SvIV((SV*)SvRV(sv));
762     <a name="l00753"></a>00753 }
763     <a name="l00754"></a>00754 voidptr = (<span class="keywordtype">void</span> *)tmp;
764     <a name="l00755"></a>00755 <span class="keywordflow">if</span> (!_t) {
765     <a name="l00756"></a>00756 *(ptr) = voidptr;
766     <a name="l00757"></a>00757 <span class="keywordflow">return</span> 0;
767     <a name="l00758"></a>00758 }
768     <a name="l00759"></a>00759 } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (! SvOK(sv)) { <span class="comment">/* Check for undef */</span>
769     <a name="l00760"></a>00760 *(ptr) = (<span class="keywordtype">void</span> *) 0;
770     <a name="l00761"></a>00761 <span class="keywordflow">return</span> 0;
771     <a name="l00762"></a>00762 } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (SvTYPE(sv) == SVt_RV) { <span class="comment">/* Check for NULL pointer */</span>
772     <a name="l00763"></a>00763 *(ptr) = (<span class="keywordtype">void</span> *) 0;
773     <a name="l00764"></a>00764 <span class="keywordflow">if</span> (!SvROK(sv))
774     <a name="l00765"></a>00765 <span class="keywordflow">return</span> 0;
775     <a name="l00766"></a>00766 <span class="keywordflow">else</span>
776     <a name="l00767"></a>00767 <span class="keywordflow">return</span> -1;
777     <a name="l00768"></a>00768 } <span class="keywordflow">else</span> { <span class="comment">/* Don't know what it is */</span>
778     <a name="l00769"></a>00769 *(ptr) = (<span class="keywordtype">void</span> *) 0;
779     <a name="l00770"></a>00770 <span class="keywordflow">return</span> -1;
780     <a name="l00771"></a>00771 }
781     <a name="l00772"></a>00772 <span class="keywordflow">if</span> (_t) {
782     <a name="l00773"></a>00773 <span class="comment">/* Now see if the types match */</span>
783     <a name="l00774"></a>00774 <span class="keywordtype">char</span> *_c = HvNAME(SvSTASH(SvRV(sv)));
784     <a name="l00775"></a>00775 tc = <a class="code" href="HyperEstraier__wrap_8cpp.html#a91">SWIG_TypeCheck</a>(_c,_t);
785     <a name="l00776"></a>00776 <span class="keywordflow">if</span> (!tc) {
786     <a name="l00777"></a>00777 *ptr = voidptr;
787     <a name="l00778"></a>00778 <span class="keywordflow">return</span> -1;
788     <a name="l00779"></a>00779 }
789     <a name="l00780"></a>00780 *ptr = <a class="code" href="HyperEstraier__wrap_8cpp.html#a92">SWIG_TypeCast</a>(tc,voidptr);
790     <a name="l00781"></a>00781 <span class="keywordflow">return</span> 0;
791     <a name="l00782"></a>00782 }
792     <a name="l00783"></a>00783 *ptr = voidptr;
793     <a name="l00784"></a>00784 <span class="keywordflow">return</span> 0;
794     <a name="l00785"></a>00785 }
795     <a name="l00786"></a>00786
796     <a name="l00787"></a>00787 <span class="keyword">static</span> <span class="keywordtype">void</span>
797     <a name="l00788"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a113">00788</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a113">SWIG_Perl_MakePtr</a>(<a class="code" href="HyperEstraier__wrap_8cpp.html#a27">SWIG_MAYBE_PERL_OBJECT</a> SV *sv, <span class="keywordtype">void</span> *ptr, <a class="code" href="structswig__type__info.html">swig_type_info</a> *t, <span class="keywordtype">int</span> flags) {
798     <a name="l00789"></a>00789 <span class="keywordflow">if</span> (ptr &amp;&amp; (flags &amp; <a class="code" href="HyperEstraier__wrap_8cpp.html#a18">SWIG_SHADOW</a>)) {
799     <a name="l00790"></a>00790 SV *<span class="keyword">self</span>;
800     <a name="l00791"></a>00791 SV *obj=newSV(0);
801     <a name="l00792"></a>00792 HV *hash=newHV();
802     <a name="l00793"></a>00793 HV *stash;
803     <a name="l00794"></a>00794 sv_setref_pv(obj, (<span class="keywordtype">char</span> *) t-&gt;<a class="code" href="structswig__type__info.html#o0">name</a>, ptr);
804     <a name="l00795"></a>00795 stash=SvSTASH(SvRV(obj));
805     <a name="l00796"></a>00796 <span class="keywordflow">if</span> (flags &amp; <a class="code" href="HyperEstraier__wrap_8cpp.html#a17">SWIG_OWNER</a>) {
806     <a name="l00797"></a>00797 HV *hv;
807     <a name="l00798"></a>00798 GV *gv=*(GV**)hv_fetch(stash, <span class="stringliteral">"OWNER"</span>, 5, TRUE);
808     <a name="l00799"></a>00799 <span class="keywordflow">if</span> (!isGV(gv))
809     <a name="l00800"></a>00800 gv_init(gv, stash, <span class="stringliteral">"OWNER"</span>, 5, FALSE);
810     <a name="l00801"></a>00801 hv=GvHVn(gv);
811     <a name="l00802"></a>00802 hv_store_ent(hv, obj, newSViv(1), 0);
812     <a name="l00803"></a>00803 }
813     <a name="l00804"></a>00804 sv_magic((SV *)hash, (SV *)obj, <span class="charliteral">'P'</span>, Nullch, 0);
814     <a name="l00805"></a>00805 SvREFCNT_dec(obj);
815     <a name="l00806"></a>00806 <span class="keyword">self</span>=newRV_noinc((SV *)hash);
816     <a name="l00807"></a>00807 sv_setsv(sv, <span class="keyword">self</span>);
817     <a name="l00808"></a>00808 SvREFCNT_dec((SV *)<span class="keyword">self</span>);
818     <a name="l00809"></a>00809 sv_bless(sv, stash);
819     <a name="l00810"></a>00810 }
820     <a name="l00811"></a>00811 <span class="keywordflow">else</span> {
821     <a name="l00812"></a>00812 sv_setref_pv(sv, (<span class="keywordtype">char</span> *) t-&gt;<a class="code" href="structswig__type__info.html#o0">name</a>, ptr);
822     <a name="l00813"></a>00813 }
823     <a name="l00814"></a>00814 }
824     <a name="l00815"></a>00815
825     <a name="l00816"></a>00816 <span class="keyword">static</span> <a class="code" href="HyperEstraier__wrap_8cpp.html#a3">SWIGINLINE</a> SV *
826     <a name="l00817"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a114">00817</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a114">SWIG_Perl_NewPointerObj</a>(<a class="code" href="HyperEstraier__wrap_8cpp.html#a27">SWIG_MAYBE_PERL_OBJECT</a> <span class="keywordtype">void</span> *ptr, <a class="code" href="structswig__type__info.html">swig_type_info</a> *t, <span class="keywordtype">int</span> flags) {
827     <a name="l00818"></a>00818 SV *result = sv_newmortal();
828     <a name="l00819"></a>00819 <a class="code" href="HyperEstraier__wrap_8cpp.html#a23">SWIG_MakePtr</a>(result, ptr, t, flags);
829     <a name="l00820"></a>00820 <span class="keywordflow">return</span> result;
830     <a name="l00821"></a>00821 }
831     <a name="l00822"></a>00822
832     <a name="l00823"></a>00823 <span class="keyword">static</span> <span class="keywordtype">void</span>
833     <a name="l00824"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a115">00824</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a115">SWIG_Perl_MakePackedObj</a>(<a class="code" href="HyperEstraier__wrap_8cpp.html#a27">SWIG_MAYBE_PERL_OBJECT</a> SV *sv, <span class="keywordtype">void</span> *ptr, <span class="keywordtype">int</span> sz, <a class="code" href="structswig__type__info.html">swig_type_info</a> *type) {
834     <a name="l00825"></a>00825 <span class="keywordtype">char</span> result[1024];
835     <a name="l00826"></a>00826 <span class="keywordtype">char</span> *r = result;
836     <a name="l00827"></a>00827 <span class="keywordflow">if</span> ((2*sz + 1 + strlen(type-&gt;<a class="code" href="structswig__type__info.html#o0">name</a>)) &gt; 1000) <span class="keywordflow">return</span>;
837     <a name="l00828"></a>00828 *(r++) = <span class="charliteral">'_'</span>;
838     <a name="l00829"></a>00829 r = <a class="code" href="HyperEstraier__wrap_8cpp.html#a98">SWIG_PackData</a>(r,ptr,sz);
839     <a name="l00830"></a>00830 strcpy(r,type-&gt;<a class="code" href="structswig__type__info.html#o0">name</a>);
840     <a name="l00831"></a>00831 sv_setpv(sv, result);
841     <a name="l00832"></a>00832 }
842     <a name="l00833"></a>00833
843     <a name="l00834"></a>00834 <span class="comment">/* Convert a packed value value */</span>
844     <a name="l00835"></a>00835 <span class="keyword">static</span> <span class="keywordtype">int</span>
845     <a name="l00836"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a116">00836</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a116">SWIG_Perl_ConvertPacked</a>(<a class="code" href="HyperEstraier__wrap_8cpp.html#a27">SWIG_MAYBE_PERL_OBJECT</a> SV *obj, <span class="keywordtype">void</span> *ptr, <span class="keywordtype">int</span> sz, <a class="code" href="structswig__type__info.html">swig_type_info</a> *ty, <span class="keywordtype">int</span> flags) {
846     <a name="l00837"></a>00837 <a class="code" href="structswig__type__info.html">swig_type_info</a> *tc;
847     <a name="l00838"></a>00838 <span class="keyword">const</span> <span class="keywordtype">char</span> *c = 0;
848     <a name="l00839"></a>00839
849     <a name="l00840"></a>00840 <span class="keywordflow">if</span> ((!obj) || (!SvOK(obj))) <span class="keywordflow">return</span> -1;
850     <a name="l00841"></a>00841 c = SvPV(obj, <a class="code" href="HyperEstraier__wrap_8cpp.html#a16">PL_na</a>);
851     <a name="l00842"></a>00842 <span class="comment">/* Pointer values must start with leading underscore */</span>
852     <a name="l00843"></a>00843 <span class="keywordflow">if</span> (*c != <span class="charliteral">'_'</span>) <span class="keywordflow">return</span> -1;
853     <a name="l00844"></a>00844 c++;
854     <a name="l00845"></a>00845 c = <a class="code" href="HyperEstraier__wrap_8cpp.html#a99">SWIG_UnpackData</a>(c,ptr,sz);
855     <a name="l00846"></a>00846 <span class="keywordflow">if</span> (ty) {
856     <a name="l00847"></a>00847 tc = <a class="code" href="HyperEstraier__wrap_8cpp.html#a91">SWIG_TypeCheck</a>(c,ty);
857     <a name="l00848"></a>00848 <span class="keywordflow">if</span> (!tc) <span class="keywordflow">return</span> -1;
858     <a name="l00849"></a>00849 }
859     <a name="l00850"></a>00850 <span class="keywordflow">return</span> 0;
860     <a name="l00851"></a>00851 }
861     <a name="l00852"></a>00852
862     <a name="l00853"></a>00853 <span class="keyword">static</span> <a class="code" href="HyperEstraier__wrap_8cpp.html#a3">SWIGINLINE</a> <span class="keywordtype">void</span>
863     <a name="l00854"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a117">00854</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a117">SWIG_Perl_SetError</a>(<a class="code" href="HyperEstraier__wrap_8cpp.html#a27">SWIG_MAYBE_PERL_OBJECT</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *error) {
864     <a name="l00855"></a>00855 <span class="keywordflow">if</span> (error) sv_setpv(perl_get_sv(<span class="stringliteral">"@"</span>, TRUE), error);
865     <a name="l00856"></a>00856 }
866     <a name="l00857"></a>00857
867     <a name="l00858"></a>00858 <span class="keyword">static</span> <a class="code" href="HyperEstraier__wrap_8cpp.html#a3">SWIGINLINE</a> <span class="keywordtype">void</span>
868     <a name="l00859"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a118">00859</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a118">SWIG_Perl_SetErrorSV</a>(<a class="code" href="HyperEstraier__wrap_8cpp.html#a27">SWIG_MAYBE_PERL_OBJECT</a> SV *error) {
869     <a name="l00860"></a>00860 <span class="keywordflow">if</span> (error) sv_setsv(perl_get_sv(<span class="stringliteral">"@"</span>, TRUE), error);
870     <a name="l00861"></a>00861 }
871     <a name="l00862"></a>00862
872     <a name="l00863"></a>00863 <span class="keyword">static</span> <span class="keywordtype">void</span>
873     <a name="l00864"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a119">00864</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a119">SWIG_Perl_SetErrorf</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, ...) {
874     <a name="l00865"></a>00865 va_list args;
875     <a name="l00866"></a>00866 va_start(args, fmt);
876     <a name="l00867"></a>00867 sv_vsetpvfn(perl_get_sv(<span class="stringliteral">"@"</span>, TRUE), fmt, strlen(fmt), &amp;args, Null(SV**), 0, Null(<span class="keywordtype">bool</span>*));
877     <a name="l00868"></a>00868 va_end(args);
878     <a name="l00869"></a>00869 }
879     <a name="l00870"></a>00870
880     <a name="l00871"></a>00871 <span class="comment">/* Macros for low-level exception handling */</span>
881     <a name="l00872"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a29">00872</a> <span class="preprocessor">#define SWIG_fail goto fail</span>
882     <a name="l00873"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a30">00873</a> <span class="preprocessor"></span><span class="preprocessor">#define SWIG_croak(x) { SWIG_SetError(x); goto fail; }</span>
883     <a name="l00874"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a31">00874</a> <span class="preprocessor"></span><span class="preprocessor">#define SWIG_croakSV(x) { SWIG_SetErrorSV(x); goto fail; }</span>
884     <a name="l00875"></a>00875 <span class="preprocessor"></span><span class="comment">/* most preprocessors do not support vararg macros :-( */</span>
885     <a name="l00876"></a>00876 <span class="comment">/* #define SWIG_croakf(x...) { SWIG_SetErrorf(x); goto fail; } */</span>
886     <a name="l00877"></a>00877
887     <a name="l00878"></a>00878
888     <a name="l00879"></a>00879 <span class="keyword">typedef</span> <a class="code" href="HyperEstraier__wrap_8cpp.html#a120">XS</a>(SwigPerlWrapper);
889     <a name="l00880"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a71">00880</a> <span class="keyword">typedef</span> SwigPerlWrapper *<a class="code" href="HyperEstraier__wrap_8cpp.html#a71">SwigPerlWrapperPtr</a>;
890     <a name="l00881"></a>00881
891     <a name="l00882"></a>00882 <span class="comment">/* Structure for command table */</span>
892     <a name="l00883"></a><a class="code" href="structswig__command__info.html">00883</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
893     <a name="l00884"></a><a class="code" href="structswig__command__info.html#o0">00884</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *name;
894     <a name="l00885"></a><a class="code" href="structswig__command__info.html#o1">00885</a> SwigPerlWrapperPtr wrapper;
895     <a name="l00886"></a>00886 } <a class="code" href="structswig__command__info.html">swig_command_info</a>;
896     <a name="l00887"></a>00887
897     <a name="l00888"></a>00888 <span class="comment">/* Information for constant table */</span>
898     <a name="l00889"></a>00889
899     <a name="l00890"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a32">00890</a> <span class="preprocessor">#define SWIG_INT 1</span>
900     <a name="l00891"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a33">00891</a> <span class="preprocessor"></span><span class="preprocessor">#define SWIG_FLOAT 2</span>
901     <a name="l00892"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a34">00892</a> <span class="preprocessor"></span><span class="preprocessor">#define SWIG_STRING 3</span>
902     <a name="l00893"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a35">00893</a> <span class="preprocessor"></span><span class="preprocessor">#define SWIG_POINTER 4</span>
903     <a name="l00894"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a36">00894</a> <span class="preprocessor"></span><span class="preprocessor">#define SWIG_BINARY 5</span>
904     <a name="l00895"></a>00895 <span class="preprocessor"></span>
905     <a name="l00896"></a>00896 <span class="comment">/* Constant information structure */</span>
906     <a name="l00897"></a><a class="code" href="structswig__constant__info.html">00897</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structswig__constant__info.html">swig_constant_info</a> {
907     <a name="l00898"></a><a class="code" href="structswig__constant__info.html#o0">00898</a> <span class="keywordtype">int</span> <a class="code" href="structswig__constant__info.html#o0">type</a>;
908     <a name="l00899"></a><a class="code" href="structswig__constant__info.html#o1">00899</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structswig__constant__info.html#o1">name</a>;
909     <a name="l00900"></a><a class="code" href="structswig__constant__info.html#o2">00900</a> <span class="keywordtype">long</span> <a class="code" href="structswig__constant__info.html#o2">lvalue</a>;
910     <a name="l00901"></a><a class="code" href="structswig__constant__info.html#o3">00901</a> <span class="keywordtype">double</span> <a class="code" href="structswig__constant__info.html#o3">dvalue</a>;
911     <a name="l00902"></a><a class="code" href="structswig__constant__info.html#o4">00902</a> <span class="keywordtype">void</span> *<a class="code" href="structswig__constant__info.html#o4">pvalue</a>;
912     <a name="l00903"></a><a class="code" href="structswig__constant__info.html#o5">00903</a> <a class="code" href="structswig__type__info.html">swig_type_info</a> **<a class="code" href="structswig__constant__info.html#o5">ptype</a>;
913     <a name="l00904"></a>00904 } <a class="code" href="structswig__constant__info.html">swig_constant_info</a>;
914     <a name="l00905"></a>00905
915     <a name="l00906"></a>00906 <span class="preprocessor">#ifdef __cplusplus</span>
916     <a name="l00907"></a>00907 <span class="preprocessor"></span>}
917     <a name="l00908"></a>00908 <span class="preprocessor">#endif</span>
918     <a name="l00909"></a>00909 <span class="preprocessor"></span>
919     <a name="l00910"></a>00910 <span class="comment">/* Structure for variable table */</span>
920     <a name="l00911"></a><a class="code" href="structswig__variable__info.html">00911</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
921     <a name="l00912"></a><a class="code" href="structswig__variable__info.html#o0">00912</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *name;
922     <a name="l00913"></a><a class="code" href="structswig__variable__info.html#o1">00913</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a69">SwigMagicFunc</a> set;
923     <a name="l00914"></a><a class="code" href="structswig__variable__info.html#o2">00914</a> <a class="code" href="HyperEstraier__wrap_8cpp.html#a69">SwigMagicFunc</a> get;
924     <a name="l00915"></a><a class="code" href="structswig__variable__info.html#o3">00915</a> <a class="code" href="structswig__type__info.html">swig_type_info</a> **type;
925     <a name="l00916"></a>00916 } <a class="code" href="structswig__variable__info.html">swig_variable_info</a>;
926     <a name="l00917"></a>00917
927     <a name="l00918"></a>00918 <span class="comment">/* Magic variable code */</span>
928     <a name="l00919"></a>00919 <span class="preprocessor">#ifndef PERL_OBJECT</span>
929     <a name="l00920"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a37">00920</a> <span class="preprocessor"></span><span class="preprocessor">#define swig_create_magic(s,a,b,c) _swig_create_magic(s,a,b,c)</span>
930     <a name="l00921"></a>00921 <span class="preprocessor"></span><span class="preprocessor"> #ifndef MULTIPLICITY</span>
931     <a name="l00922"></a><a class="code" href="HyperEstraier__wrap_8cpp.html#a121">00922</a> <span class="preprocessor"></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="HyperEstraier__wrap_8cpp.html#a121">_swig_create_magic</a>(SV *sv, <span class="keywordtype">char</span> *name, <span class="keywordtype">int</span> (*set)(SV *, MAGIC *), <span class="keywordtype">int</span> (*get)(SV *,MAGIC *)) {
932     <a name="l00923"></a>00923 <span class="preprocessor"> #else</span>
933     <a name="l00924"></a>00924 <span class="preprocessor"></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="HyperEstraier__wrap_8cpp.html#a121">_swig_create_magic</a>(SV *sv, <span class="keywordtype">char</span> *name, <span class="keywordtype">int</span> (*set)(<span class="keyword">struct</span> interpreter*, SV *, MAGIC *), <span class="keywordtype">int</span> (*get)(<span class="keyword">struct</span> interpreter*, SV *,MAGIC *)) {
934     <a name="l00925"></a>00925 <span class="preprocessor"> #endif</span>
935     <a name="l00926"></a>00926 <span class="preprocessor"></span><span class="preprocessor">#else</span>
936     <a name="l00927"></a>00927 <span class="preprocessor"></span><span class="preprocessor"># define swig_create_magic(s,a,b,c) _swig_create_magic(pPerl,s,a,b,c)</span>
937     <a name="l00928"></a>00928 <span class="preprocessor"></span><span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="HyperEstraier__wrap_8cpp.html#a121">_swig_create_magic</a>(CPerlObj *pPerl, SV *sv, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">int</span> (CPerlObj::*set)(SV *, MAGIC *), <span class="keywordtype">int</span> (CPerlObj::*get)(SV *, MAGIC *)) {
938     <a name="l00929"></a>00929 <span class="preprocessor">#endif</span>
939     <a name="l00930"></a>00930 <span class="preprocessor"></span> MAGIC *mg;
940     <a name="l00931"></a>00931 sv_magic(sv,sv,<span class="charliteral">'U'</span>,(<span class="keywordtype">char</span> *) name,strlen(name));
941     <a name="l00932"></a>00932 mg = mg_find(sv,<span class="charliteral">'U'</span>);
942     <a name="l00933"></a>00933 mg-&gt;mg_virtual = (MGVTBL *) malloc(<span class="keyword">sizeof</span>(MGVTBL));
943     <a name="l00934"></a>00934 mg-&gt;mg_virtual-&gt;svt_get = (<a class="code" href="HyperEstraier__wrap_8cpp.html#a70">SwigMagicFuncHack</a>) get;
944     <a name="l00935"></a>00935 mg-&gt;mg_virtual-&gt;svt_set = (<a class="code" href="HyperEstraier__wrap_8cpp.html#a70">SwigMagicFuncHack</a>) set;
945     <a name="l00936"></a>00936 mg-&gt;mg_virtual-&gt;svt_len = 0;
946     <a name="l00937"></a>00937 mg-&gt;mg_virtual-&gt;svt_clear = 0;
947     <a name="l00938"></a>00938 mg-&gt;mg_virtual-&gt;svt_free = 0;
948     <a name="l00939"></a>00939 }
949     <a name="l00940"></a>00940
950     <a name="l00941"></a>00941
951     <a name="l00942"></a>00942
952     <a name="l00943"></a>00943
953     <a name="l00944"></a>00944
954     <a name="l00945"></a>00945
955     <a name="l00946"></a>00946 <span class="preprocessor">#ifdef do_open</span>
956     <a name="l00947"></a>00947 <span class="preprocessor"