1 /*
2  * Interface wrapper code.
3  *
4  * Generated by SIP 4.19.16
5  *
6  *     Copyright: (c) 2018 by Total Control Software
7  *     License:   wxWindows License
8  */
9 
10 #include "sipAPI_html.h"
11 
12         #include <wx/html/htmltag.h>
13 
14         #include <wx/colour.h>
15 
16 
17 PyDoc_STRVAR(doc_wxHtmlTag_GetAllParams, "GetAllParams() -> String\n"
18 "\n"
19 "Returns a string containing all parameters.");
20 
21 extern "C" {static PyObject *meth_wxHtmlTag_GetAllParams(PyObject *, PyObject *);}
meth_wxHtmlTag_GetAllParams(PyObject * sipSelf,PyObject * sipArgs)22 static PyObject *meth_wxHtmlTag_GetAllParams(PyObject *sipSelf, PyObject *sipArgs)
23 {
24     PyObject *sipParseErr = SIP_NULLPTR;
25 
26     {
27         const  ::wxHtmlTag *sipCpp;
28 
29         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHtmlTag, &sipCpp))
30         {
31              ::wxString*sipRes;
32 
33             PyErr_Clear();
34 
35             Py_BEGIN_ALLOW_THREADS
36             sipRes = new  ::wxString(sipCpp->GetAllParams());
37             Py_END_ALLOW_THREADS
38 
39             if (PyErr_Occurred())
40                 return 0;
41 
42             return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
43         }
44     }
45 
46     /* Raise an exception if the arguments couldn't be parsed. */
47     sipNoMethod(sipParseErr, sipName_HtmlTag, sipName_GetAllParams, SIP_NULLPTR);
48 
49     return SIP_NULLPTR;
50 }
51 
52 
53 PyDoc_STRVAR(doc_wxHtmlTag_GetBeginPos, "GetBeginPos() -> int\n"
54 "\n"
55 "Returns beginning position of the text between this tag and paired\n"
56 "ending tag.");
57 
58 extern "C" {static PyObject *meth_wxHtmlTag_GetBeginPos(PyObject *, PyObject *);}
meth_wxHtmlTag_GetBeginPos(PyObject * sipSelf,PyObject * sipArgs)59 static PyObject *meth_wxHtmlTag_GetBeginPos(PyObject *sipSelf, PyObject *sipArgs)
60 {
61     PyObject *sipParseErr = SIP_NULLPTR;
62 
63     {
64         const  ::wxHtmlTag *sipCpp;
65 
66         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHtmlTag, &sipCpp))
67         {
68             int sipRes;
69 
70             if (sipDeprecated(sipName_HtmlTag,sipName_GetBeginPos) < 0)
71                 return SIP_NULLPTR;
72 
73             PyErr_Clear();
74 
75             Py_BEGIN_ALLOW_THREADS
76             sipRes = sipCpp->GetBeginPos();
77             Py_END_ALLOW_THREADS
78 
79             if (PyErr_Occurred())
80                 return 0;
81 
82             return SIPLong_FromLong(sipRes);
83         }
84     }
85 
86     /* Raise an exception if the arguments couldn't be parsed. */
87     sipNoMethod(sipParseErr, sipName_HtmlTag, sipName_GetBeginPos, SIP_NULLPTR);
88 
89     return SIP_NULLPTR;
90 }
91 
92 
93 PyDoc_STRVAR(doc_wxHtmlTag_GetEndPos1, "GetEndPos1() -> int\n"
94 "\n"
95 "Returns ending position of the text between this tag and paired ending\n"
96 "tag.");
97 
98 extern "C" {static PyObject *meth_wxHtmlTag_GetEndPos1(PyObject *, PyObject *);}
meth_wxHtmlTag_GetEndPos1(PyObject * sipSelf,PyObject * sipArgs)99 static PyObject *meth_wxHtmlTag_GetEndPos1(PyObject *sipSelf, PyObject *sipArgs)
100 {
101     PyObject *sipParseErr = SIP_NULLPTR;
102 
103     {
104         const  ::wxHtmlTag *sipCpp;
105 
106         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHtmlTag, &sipCpp))
107         {
108             int sipRes;
109 
110             if (sipDeprecated(sipName_HtmlTag,sipName_GetEndPos1) < 0)
111                 return SIP_NULLPTR;
112 
113             PyErr_Clear();
114 
115             Py_BEGIN_ALLOW_THREADS
116             sipRes = sipCpp->GetEndPos1();
117             Py_END_ALLOW_THREADS
118 
119             if (PyErr_Occurred())
120                 return 0;
121 
122             return SIPLong_FromLong(sipRes);
123         }
124     }
125 
126     /* Raise an exception if the arguments couldn't be parsed. */
127     sipNoMethod(sipParseErr, sipName_HtmlTag, sipName_GetEndPos1, SIP_NULLPTR);
128 
129     return SIP_NULLPTR;
130 }
131 
132 
133 PyDoc_STRVAR(doc_wxHtmlTag_GetEndPos2, "GetEndPos2() -> int\n"
134 "\n"
135 "Returns ending position 2 of the text between this tag and paired\n"
136 "ending tag.");
137 
138 extern "C" {static PyObject *meth_wxHtmlTag_GetEndPos2(PyObject *, PyObject *);}
meth_wxHtmlTag_GetEndPos2(PyObject * sipSelf,PyObject * sipArgs)139 static PyObject *meth_wxHtmlTag_GetEndPos2(PyObject *sipSelf, PyObject *sipArgs)
140 {
141     PyObject *sipParseErr = SIP_NULLPTR;
142 
143     {
144         const  ::wxHtmlTag *sipCpp;
145 
146         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHtmlTag, &sipCpp))
147         {
148             int sipRes;
149 
150             if (sipDeprecated(sipName_HtmlTag,sipName_GetEndPos2) < 0)
151                 return SIP_NULLPTR;
152 
153             PyErr_Clear();
154 
155             Py_BEGIN_ALLOW_THREADS
156             sipRes = sipCpp->GetEndPos2();
157             Py_END_ALLOW_THREADS
158 
159             if (PyErr_Occurred())
160                 return 0;
161 
162             return SIPLong_FromLong(sipRes);
163         }
164     }
165 
166     /* Raise an exception if the arguments couldn't be parsed. */
167     sipNoMethod(sipParseErr, sipName_HtmlTag, sipName_GetEndPos2, SIP_NULLPTR);
168 
169     return SIP_NULLPTR;
170 }
171 
172 
173 PyDoc_STRVAR(doc_wxHtmlTag_GetName, "GetName() -> String\n"
174 "\n"
175 "Returns tag's name.");
176 
177 extern "C" {static PyObject *meth_wxHtmlTag_GetName(PyObject *, PyObject *);}
meth_wxHtmlTag_GetName(PyObject * sipSelf,PyObject * sipArgs)178 static PyObject *meth_wxHtmlTag_GetName(PyObject *sipSelf, PyObject *sipArgs)
179 {
180     PyObject *sipParseErr = SIP_NULLPTR;
181 
182     {
183         const  ::wxHtmlTag *sipCpp;
184 
185         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHtmlTag, &sipCpp))
186         {
187              ::wxString*sipRes;
188 
189             PyErr_Clear();
190 
191             Py_BEGIN_ALLOW_THREADS
192             sipRes = new  ::wxString(sipCpp->GetName());
193             Py_END_ALLOW_THREADS
194 
195             if (PyErr_Occurred())
196                 return 0;
197 
198             return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
199         }
200     }
201 
202     /* Raise an exception if the arguments couldn't be parsed. */
203     sipNoMethod(sipParseErr, sipName_HtmlTag, sipName_GetName, SIP_NULLPTR);
204 
205     return SIP_NULLPTR;
206 }
207 
208 
209 PyDoc_STRVAR(doc_wxHtmlTag_GetParam, "GetParam(par, with_quotes=False) -> String\n"
210 "\n"
211 "Returns the value of the parameter.");
212 
213 extern "C" {static PyObject *meth_wxHtmlTag_GetParam(PyObject *, PyObject *, PyObject *);}
meth_wxHtmlTag_GetParam(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)214 static PyObject *meth_wxHtmlTag_GetParam(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
215 {
216     PyObject *sipParseErr = SIP_NULLPTR;
217 
218     {
219         const  ::wxString* par;
220         int parState = 0;
221         bool with_quotes = 0;
222         const  ::wxHtmlTag *sipCpp;
223 
224         static const char *sipKwdList[] = {
225             sipName_par,
226             sipName_with_quotes,
227         };
228 
229         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1|b", &sipSelf, sipType_wxHtmlTag, &sipCpp, sipType_wxString,&par, &parState, &with_quotes))
230         {
231              ::wxString*sipRes;
232 
233             PyErr_Clear();
234 
235             Py_BEGIN_ALLOW_THREADS
236             sipRes = new  ::wxString(sipCpp->GetParam(*par,with_quotes));
237             Py_END_ALLOW_THREADS
238             sipReleaseType(const_cast< ::wxString *>(par),sipType_wxString,parState);
239 
240             if (PyErr_Occurred())
241                 return 0;
242 
243             return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
244         }
245     }
246 
247     /* Raise an exception if the arguments couldn't be parsed. */
248     sipNoMethod(sipParseErr, sipName_HtmlTag, sipName_GetParam, SIP_NULLPTR);
249 
250     return SIP_NULLPTR;
251 }
252 
253 
254 PyDoc_STRVAR(doc_wxHtmlTag_GetParamAsColour, "GetParamAsColour(par) -> (bool, clr)\n"
255 "\n"
256 "Interprets tag parameter par as colour specification and saves its\n"
257 "value into wxColour variable pointed by clr.");
258 
259 extern "C" {static PyObject *meth_wxHtmlTag_GetParamAsColour(PyObject *, PyObject *, PyObject *);}
meth_wxHtmlTag_GetParamAsColour(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)260 static PyObject *meth_wxHtmlTag_GetParamAsColour(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
261 {
262     PyObject *sipParseErr = SIP_NULLPTR;
263 
264     {
265         const  ::wxString* par;
266         int parState = 0;
267          ::wxColour* clr;
268         const  ::wxHtmlTag *sipCpp;
269 
270         static const char *sipKwdList[] = {
271             sipName_par,
272         };
273 
274         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxHtmlTag, &sipCpp, sipType_wxString,&par, &parState))
275         {
276             bool sipRes;
277             clr = new  ::wxColour();
278 
279             PyErr_Clear();
280 
281             Py_BEGIN_ALLOW_THREADS
282             sipRes = sipCpp->GetParamAsColour(*par,clr);
283             Py_END_ALLOW_THREADS
284             sipReleaseType(const_cast< ::wxString *>(par),sipType_wxString,parState);
285 
286             if (PyErr_Occurred())
287                 return 0;
288 
289             return sipBuildResult(0,"(bN)",sipRes,clr,sipType_wxColour,SIP_NULLPTR);
290         }
291     }
292 
293     /* Raise an exception if the arguments couldn't be parsed. */
294     sipNoMethod(sipParseErr, sipName_HtmlTag, sipName_GetParamAsColour, SIP_NULLPTR);
295 
296     return SIP_NULLPTR;
297 }
298 
299 
300 PyDoc_STRVAR(doc_wxHtmlTag_GetParamAsInt, "GetParamAsInt(par) -> (bool, value)\n"
301 "\n"
302 "Interprets tag parameter par as an integer and saves its value into\n"
303 "int variable pointed by value.");
304 
305 extern "C" {static PyObject *meth_wxHtmlTag_GetParamAsInt(PyObject *, PyObject *, PyObject *);}
meth_wxHtmlTag_GetParamAsInt(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)306 static PyObject *meth_wxHtmlTag_GetParamAsInt(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
307 {
308     PyObject *sipParseErr = SIP_NULLPTR;
309 
310     {
311         const  ::wxString* par;
312         int parState = 0;
313         int value;
314         const  ::wxHtmlTag *sipCpp;
315 
316         static const char *sipKwdList[] = {
317             sipName_par,
318         };
319 
320         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxHtmlTag, &sipCpp, sipType_wxString,&par, &parState))
321         {
322             bool sipRes;
323 
324             PyErr_Clear();
325 
326             Py_BEGIN_ALLOW_THREADS
327             sipRes = sipCpp->GetParamAsInt(*par,&value);
328             Py_END_ALLOW_THREADS
329             sipReleaseType(const_cast< ::wxString *>(par),sipType_wxString,parState);
330 
331             if (PyErr_Occurred())
332                 return 0;
333 
334             return sipBuildResult(0,"(bi)",sipRes,value);
335         }
336     }
337 
338     /* Raise an exception if the arguments couldn't be parsed. */
339     sipNoMethod(sipParseErr, sipName_HtmlTag, sipName_GetParamAsInt, SIP_NULLPTR);
340 
341     return SIP_NULLPTR;
342 }
343 
344 
345 PyDoc_STRVAR(doc_wxHtmlTag_GetParamAsString, "GetParamAsString(par, value) -> bool\n"
346 "\n"
347 "Get the value of the parameter.");
348 
349 extern "C" {static PyObject *meth_wxHtmlTag_GetParamAsString(PyObject *, PyObject *, PyObject *);}
meth_wxHtmlTag_GetParamAsString(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)350 static PyObject *meth_wxHtmlTag_GetParamAsString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
351 {
352     PyObject *sipParseErr = SIP_NULLPTR;
353 
354     {
355         const  ::wxString* par;
356         int parState = 0;
357          ::wxString* value;
358         int valueState = 0;
359         const  ::wxHtmlTag *sipCpp;
360 
361         static const char *sipKwdList[] = {
362             sipName_par,
363             sipName_value,
364         };
365 
366         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1J0", &sipSelf, sipType_wxHtmlTag, &sipCpp, sipType_wxString,&par, &parState, sipType_wxString,&value, &valueState))
367         {
368             bool sipRes;
369 
370             PyErr_Clear();
371 
372             Py_BEGIN_ALLOW_THREADS
373             sipRes = sipCpp->GetParamAsString(*par,value);
374             Py_END_ALLOW_THREADS
375             sipReleaseType(const_cast< ::wxString *>(par),sipType_wxString,parState);
376             sipReleaseType(value,sipType_wxString,valueState);
377 
378             if (PyErr_Occurred())
379                 return 0;
380 
381             return PyBool_FromLong(sipRes);
382         }
383     }
384 
385     /* Raise an exception if the arguments couldn't be parsed. */
386     sipNoMethod(sipParseErr, sipName_HtmlTag, sipName_GetParamAsString, SIP_NULLPTR);
387 
388     return SIP_NULLPTR;
389 }
390 
391 
392 PyDoc_STRVAR(doc_wxHtmlTag_HasEnding, "HasEnding() -> bool\n"
393 "\n"
394 "Returns true if this tag is paired with ending tag, false otherwise.");
395 
396 extern "C" {static PyObject *meth_wxHtmlTag_HasEnding(PyObject *, PyObject *);}
meth_wxHtmlTag_HasEnding(PyObject * sipSelf,PyObject * sipArgs)397 static PyObject *meth_wxHtmlTag_HasEnding(PyObject *sipSelf, PyObject *sipArgs)
398 {
399     PyObject *sipParseErr = SIP_NULLPTR;
400 
401     {
402         const  ::wxHtmlTag *sipCpp;
403 
404         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxHtmlTag, &sipCpp))
405         {
406             bool sipRes;
407 
408             PyErr_Clear();
409 
410             Py_BEGIN_ALLOW_THREADS
411             sipRes = sipCpp->HasEnding();
412             Py_END_ALLOW_THREADS
413 
414             if (PyErr_Occurred())
415                 return 0;
416 
417             return PyBool_FromLong(sipRes);
418         }
419     }
420 
421     /* Raise an exception if the arguments couldn't be parsed. */
422     sipNoMethod(sipParseErr, sipName_HtmlTag, sipName_HasEnding, SIP_NULLPTR);
423 
424     return SIP_NULLPTR;
425 }
426 
427 
428 PyDoc_STRVAR(doc_wxHtmlTag_HasParam, "HasParam(par) -> bool\n"
429 "\n"
430 "Returns true if the tag has a parameter of the given name.");
431 
432 extern "C" {static PyObject *meth_wxHtmlTag_HasParam(PyObject *, PyObject *, PyObject *);}
meth_wxHtmlTag_HasParam(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)433 static PyObject *meth_wxHtmlTag_HasParam(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
434 {
435     PyObject *sipParseErr = SIP_NULLPTR;
436 
437     {
438         const  ::wxString* par;
439         int parState = 0;
440         const  ::wxHtmlTag *sipCpp;
441 
442         static const char *sipKwdList[] = {
443             sipName_par,
444         };
445 
446         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxHtmlTag, &sipCpp, sipType_wxString,&par, &parState))
447         {
448             bool sipRes;
449 
450             PyErr_Clear();
451 
452             Py_BEGIN_ALLOW_THREADS
453             sipRes = sipCpp->HasParam(*par);
454             Py_END_ALLOW_THREADS
455             sipReleaseType(const_cast< ::wxString *>(par),sipType_wxString,parState);
456 
457             if (PyErr_Occurred())
458                 return 0;
459 
460             return PyBool_FromLong(sipRes);
461         }
462     }
463 
464     /* Raise an exception if the arguments couldn't be parsed. */
465     sipNoMethod(sipParseErr, sipName_HtmlTag, sipName_HasParam, SIP_NULLPTR);
466 
467     return SIP_NULLPTR;
468 }
469 
470 
471 PyDoc_STRVAR(doc_wxHtmlTag_ParseAsColour, "ParseAsColour(str) -> (bool, clr)\n"
472 "\n"
473 "Parses the given string as an HTML colour.");
474 
475 extern "C" {static PyObject *meth_wxHtmlTag_ParseAsColour(PyObject *, PyObject *, PyObject *);}
meth_wxHtmlTag_ParseAsColour(PyObject *,PyObject * sipArgs,PyObject * sipKwds)476 static PyObject *meth_wxHtmlTag_ParseAsColour(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
477 {
478     PyObject *sipParseErr = SIP_NULLPTR;
479 
480     {
481         const  ::wxString* str;
482         int strState = 0;
483          ::wxColour* clr;
484 
485         static const char *sipKwdList[] = {
486             sipName_str,
487         };
488 
489         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "J1", sipType_wxString,&str, &strState))
490         {
491             bool sipRes;
492             clr = new  ::wxColour();
493 
494             PyErr_Clear();
495 
496             Py_BEGIN_ALLOW_THREADS
497             sipRes =  ::wxHtmlTag::ParseAsColour(*str,clr);
498             Py_END_ALLOW_THREADS
499             sipReleaseType(const_cast< ::wxString *>(str),sipType_wxString,strState);
500 
501             if (PyErr_Occurred())
502                 return 0;
503 
504             return sipBuildResult(0,"(bN)",sipRes,clr,sipType_wxColour,SIP_NULLPTR);
505         }
506     }
507 
508     /* Raise an exception if the arguments couldn't be parsed. */
509     sipNoMethod(sipParseErr, sipName_HtmlTag, sipName_ParseAsColour, SIP_NULLPTR);
510 
511     return SIP_NULLPTR;
512 }
513 
514 
515 /* Call the instance's destructor. */
516 extern "C" {static void release_wxHtmlTag(void *, int);}
release_wxHtmlTag(void * sipCppV,int)517 static void release_wxHtmlTag(void *sipCppV, int)
518 {
519     Py_BEGIN_ALLOW_THREADS
520 
521     delete reinterpret_cast< ::wxHtmlTag *>(sipCppV);
522 
523     Py_END_ALLOW_THREADS
524 }
525 
526 
527 extern "C" {static void dealloc_wxHtmlTag(sipSimpleWrapper *);}
dealloc_wxHtmlTag(sipSimpleWrapper * sipSelf)528 static void dealloc_wxHtmlTag(sipSimpleWrapper *sipSelf)
529 {
530     if (sipIsOwnedByPython(sipSelf))
531     {
532         release_wxHtmlTag(sipGetAddress(sipSelf), 0);
533     }
534 }
535 
536 
537 static PyMethodDef methods_wxHtmlTag[] = {
538     {SIP_MLNAME_CAST(sipName_GetAllParams), meth_wxHtmlTag_GetAllParams, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHtmlTag_GetAllParams)},
539     {SIP_MLNAME_CAST(sipName_GetBeginPos), meth_wxHtmlTag_GetBeginPos, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHtmlTag_GetBeginPos)},
540     {SIP_MLNAME_CAST(sipName_GetEndPos1), meth_wxHtmlTag_GetEndPos1, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHtmlTag_GetEndPos1)},
541     {SIP_MLNAME_CAST(sipName_GetEndPos2), meth_wxHtmlTag_GetEndPos2, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHtmlTag_GetEndPos2)},
542     {SIP_MLNAME_CAST(sipName_GetName), meth_wxHtmlTag_GetName, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHtmlTag_GetName)},
543     {SIP_MLNAME_CAST(sipName_GetParam), SIP_MLMETH_CAST(meth_wxHtmlTag_GetParam), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHtmlTag_GetParam)},
544     {SIP_MLNAME_CAST(sipName_GetParamAsColour), SIP_MLMETH_CAST(meth_wxHtmlTag_GetParamAsColour), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHtmlTag_GetParamAsColour)},
545     {SIP_MLNAME_CAST(sipName_GetParamAsInt), SIP_MLMETH_CAST(meth_wxHtmlTag_GetParamAsInt), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHtmlTag_GetParamAsInt)},
546     {SIP_MLNAME_CAST(sipName_GetParamAsString), SIP_MLMETH_CAST(meth_wxHtmlTag_GetParamAsString), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHtmlTag_GetParamAsString)},
547     {SIP_MLNAME_CAST(sipName_HasEnding), meth_wxHtmlTag_HasEnding, METH_VARARGS, SIP_MLDOC_CAST(doc_wxHtmlTag_HasEnding)},
548     {SIP_MLNAME_CAST(sipName_HasParam), SIP_MLMETH_CAST(meth_wxHtmlTag_HasParam), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHtmlTag_HasParam)},
549     {SIP_MLNAME_CAST(sipName_ParseAsColour), SIP_MLMETH_CAST(meth_wxHtmlTag_ParseAsColour), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxHtmlTag_ParseAsColour)}
550 };
551 
552 sipVariableDef variables_wxHtmlTag[] = {
553     {PropertyVariable, sipName_Name, &methods_wxHtmlTag[4], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
554     {PropertyVariable, sipName_EndPos2, &methods_wxHtmlTag[3], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
555     {PropertyVariable, sipName_EndPos1, &methods_wxHtmlTag[2], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
556     {PropertyVariable, sipName_BeginPos, &methods_wxHtmlTag[1], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
557     {PropertyVariable, sipName_AllParams, &methods_wxHtmlTag[0], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
558 };
559 
560 PyDoc_STRVAR(doc_wxHtmlTag, "This class represents a single HTML tag.");
561 
562 
563 sipClassTypeDef sipTypeDef__html_wxHtmlTag = {
564     {
565         -1,
566         SIP_NULLPTR,
567         SIP_NULLPTR,
568         SIP_TYPE_CLASS,
569         sipNameNr_wxHtmlTag,
570         {SIP_NULLPTR},
571         SIP_NULLPTR
572     },
573     {
574         sipNameNr_HtmlTag,
575         {0, 0, 1},
576         12, methods_wxHtmlTag,
577         0, SIP_NULLPTR,
578         5, variables_wxHtmlTag,
579         {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
580     },
581     doc_wxHtmlTag,
582     -1,
583     -1,
584     SIP_NULLPTR,
585     SIP_NULLPTR,
586     SIP_NULLPTR,
587     SIP_NULLPTR,
588     SIP_NULLPTR,
589 #if PY_MAJOR_VERSION >= 3
590     SIP_NULLPTR,
591     SIP_NULLPTR,
592 #else
593     SIP_NULLPTR,
594     SIP_NULLPTR,
595     SIP_NULLPTR,
596     SIP_NULLPTR,
597 #endif
598     dealloc_wxHtmlTag,
599     SIP_NULLPTR,
600     SIP_NULLPTR,
601     SIP_NULLPTR,
602     release_wxHtmlTag,
603     SIP_NULLPTR,
604     SIP_NULLPTR,
605     SIP_NULLPTR,
606     SIP_NULLPTR,
607     SIP_NULLPTR,
608     SIP_NULLPTR,
609     SIP_NULLPTR
610 };
611