1
/* ----------------------------------------------------------------------------
2
* This file was automatically generated by SWIG (http://www.swig.org).
5
* This file is not intended to be easily readable and contains a number of
6
* coding conventions designed to improve portability and efficiency. Do not make
7
* changes to this file unless you know what you are doing--modify the SWIG
8
* interface file instead.
9
* ----------------------------------------------------------------------------- */
13
template<class T> class SwigValueWrapper {
16
inline SwigValueWrapper() : tt(0) { }
17
inline ~SwigValueWrapper() { if (tt) delete tt; }
18
inline SwigValueWrapper& operator=(const T& t) { tt = new T(t); return *this; }
19
inline operator T&() const { return *tt; }
20
inline T *operator&() { return tt; }
24
/***********************************************************************
27
* This file contains generic SWIG runtime support for pointer
28
* type checking as well as a few commonly used macros to control
31
* Author : David Beazley (beazley@cs.uchicago.edu)
33
* Copyright (c) 1999-2000, The University of Chicago
35
* This file may be freely redistributed without license or fee provided
36
* this copyright message remains intact.
37
************************************************************************/
41
#if defined(_WIN32) || defined(__WIN32__)
42
# if defined(_MSC_VER)
43
# if defined(STATIC_LINKED)
44
# define SWIGEXPORT(a) a
45
# define SWIGIMPORT(a) extern a
47
# define SWIGEXPORT(a) __declspec(dllexport) a
48
# define SWIGIMPORT(a) extern a
51
# if defined(__BORLANDC__)
52
# define SWIGEXPORT(a) a _export
53
# define SWIGIMPORT(a) a _export
55
# define SWIGEXPORT(a) a
56
# define SWIGIMPORT(a) a
60
# define SWIGEXPORT(a) a
61
# define SWIGIMPORT(a) a
65
#define SWIGRUNTIME(a) SWIGEXPORT(a)
67
#define SWIGRUNTIME(a) static a
74
typedef void *(*swig_converter_func)(void *);
75
typedef struct swig_type_info *(*swig_dycast_func)(void **);
77
typedef struct swig_type_info {
79
swig_converter_func converter;
82
swig_dycast_func dcast;
83
struct swig_type_info *next;
84
struct swig_type_info *prev;
89
SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
90
SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
91
SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
92
SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
93
SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
94
SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
95
SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
99
static swig_type_info *swig_type_list = 0;
101
/* Register a type mapping with the type-checking */
102
SWIGRUNTIME(swig_type_info *)
103
SWIG_TypeRegister(swig_type_info *ti)
105
swig_type_info *tc, *head, *ret, *next;
106
/* Check to see if this type has already been registered */
109
if (strcmp(tc->name, ti->name) == 0) {
110
/* Already exists in the table. Just add additional types to the list */
111
if (tc->clientdata) ti->clientdata = tc->clientdata;
122
ti->prev = swig_type_list;
125
/* Build linked lists */
129
/* Patch up the rest of the links */
136
if (next) next->prev = head; /**/
141
/* Check the typename */
142
SWIGRUNTIME(swig_type_info *)
143
SWIG_TypeCheck(char *c, swig_type_info *ty)
146
if (!ty) return 0; /* Void pointer */
147
s = ty->next; /* First element always just a name */
149
if (strcmp(s->name,c) == 0) {
150
if (s == ty->next) return s;
151
/* Move s to the top of the linked list */
152
s->prev->next = s->next;
154
s->next->prev = s->prev;
156
/* Insert s as second element in the list */
158
if (ty->next) ty->next->prev = s;
164
} while (s && (s != ty->next));
168
/* Cast a pointer up an inheritance hierarchy */
170
SWIG_TypeCast(swig_type_info *ty, void *ptr)
172
if ((!ty) || (!ty->converter)) return ptr;
173
return (*ty->converter)(ptr);
176
/* Dynamic pointer casting. Down an inheritance hierarchy */
177
SWIGRUNTIME(swig_type_info *)
178
SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
180
swig_type_info *lastty = ty;
181
if (!ty || !ty->dcast) return ty;
182
while (ty && (ty->dcast)) {
183
ty = (*ty->dcast)(ptr);
189
/* Return the name associated with this type */
190
SWIGRUNTIME(const char *)
191
SWIG_TypeName(const swig_type_info *ty) {
195
/* Search for a swig_type_info structure */
196
SWIGRUNTIME(swig_type_info *)
197
SWIG_TypeQuery(const char *name) {
198
swig_type_info *ty = swig_type_list;
200
if (ty->str && (strcmp(name,ty->str) == 0)) return ty;
201
if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
207
/* Set the clientdata field for a type */
209
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
210
swig_type_info *tc, *equiv;
211
if (ti->clientdata == clientdata) return;
212
ti->clientdata = clientdata;
215
if (!equiv->converter) {
218
if ((strcmp(tc->name, equiv->name) == 0))
219
SWIG_TypeClientData(tc,clientdata);
233
/* -----------------------------------------------------------------------------
236
* Perl5 runtime library
237
* $Header: /cvs/core/sword/bindings/swig/perl/Sword.cxx,v 1.14 2003/07/17 21:38:30 dglassey Exp $
238
* ----------------------------------------------------------------------------- */
243
/* Needed on some windows machines---since MS plays funny
244
games with the header files under C++ */
253
/* Get rid of free and malloc defined by perl */
266
/* Macro to call an XS function */
269
#define SWIG_CALLXS(_name) _name(cv,pPerl)
272
#define SWIG_CALLXS(_name) _name(cv)
274
#define SWIG_CALLXS(_name) _name(PERL_GET_THX, cv)
278
/* Macros for low-level exception handling */
279
#define SWIG_fail goto fail
280
#define SWIG_croak(x) { if ((_swigerr = (const char *) x)) goto fail; }
281
#define SWIG_MAX_ERRMSG 256
283
/* Note: SwigMagicFuncHack is a typedef used to get the C++
284
compiler to just shut up already */
287
#define MAGIC_PPERL CPerlObj *pPerl = (CPerlObj *) this;
288
typedef int (CPerlObj::*SwigMagicFunc)(SV *, MAGIC *);
293
typedef int (CPerlObj::*SwigMagicFuncHack)(SV *, MAGIC *);
298
#define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
299
#define SWIGCLASS_STATIC
302
#define SWIGCLASS_STATIC static
304
#define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
305
typedef int (*SwigMagicFunc)(SV *, MAGIC *);
310
typedef int (*SwigMagicFuncHack)(SV *, MAGIC *);
317
#define SWIG_MAGIC(a,b) (struct interpreter *interp, SV *a, MAGIC *b)
318
typedef int (*SwigMagicFunc)(struct interpreter *, SV *, MAGIC *);
322
typedef int (*SwigMagicFuncHack)(struct interpreter *, SV *, MAGIC *);
330
#if defined(WIN32) && defined(PERL_OBJECT) && !defined(PerlIO_exportFILE)
331
#define PerlIO_exportFILE(fh,fl) (FILE*)(fh)
334
/* Modifications for newer Perl 5.005 releases */
336
#if !defined(PERL_REVISION) || ((PERL_REVISION >= 5) && ((PERL_VERSION < 5) || ((PERL_VERSION == 5) && (PERL_SUBVERSION < 50))))
338
#define PL_sv_yes sv_yes
341
#define PL_sv_undef sv_undef
354
#ifdef SWIG_NOINCLUDE
357
extern int SWIG_ConvertPtr(SV *, void **, swig_type_info *, int flags);
358
extern void SWIG_MakePtr(SV *, void *, swig_type_info *, int flags);
360
extern int _SWIG_ConvertPtr(CPerlObj *, SV *, void **, swig_type_info *,int flags);
361
extern void _SWIG_MakePtr(CPerlObj *, SV *, void *, swig_type_info *, int flags);
362
#define SWIG_ConvertPtr(a,b,c,d) _SWIG_ConvertPtr(pPerl,a,b,c,d)
363
#define SWIG_MakePtr(a,b,c,d) _SWIG_MakePtr(pPerl,a,b,c,d)
368
/* Function for getting a pointer value */
372
SWIG_ConvertPtr(SV *sv, void **ptr, swig_type_info *_t, int flags)
374
#define SWIG_ConvertPtr(a,b,c,d) _SWIG_ConvertPtr(pPerl,a,b,c,d)
376
_SWIG_ConvertPtr(CPerlObj *pPerl, SV *sv, void **ptr, swig_type_info *_t, int flags)
383
/* If magical, apply more magic */
387
/* Check to see if this is an object */
388
if (sv_isobject(sv)) {
389
SV *tsv = (SV*) SvRV(sv);
390
if ((SvTYPE(tsv) == SVt_PVHV)) {
392
if (SvMAGICAL(tsv)) {
393
mg = mg_find(tsv,'P');
395
SV *rsv = mg->mg_obj;
396
if (sv_isobject(rsv)) {
397
tmp = SvIV((SV*)SvRV(rsv));
404
tmp = SvIV((SV*)SvRV(sv));
407
*(ptr) = (void *) tmp;
410
} else if (! SvOK(sv)) { /* Check for undef */
413
} else if (SvTYPE(sv) == SVt_RV) { /* Check for NULL pointer */
419
} else { /* Don't know what it is */
424
/* Now see if the types match */
425
_c = HvNAME(SvSTASH(SvRV(sv)));
426
tc = SWIG_TypeCheck(_c,_t);
431
*ptr = SWIG_TypeCast(tc,(void *)tmp);
439
SWIG_MakePtr(SV *sv, void *ptr, swig_type_info *t,int flags)
441
#define SWIG_MakePtr(a,b,c,d) _SWIG_MakePtr(pPerl,a,b,c,d)
443
_SWIG_MakePtr(CPerlObj *pPerl, SV *sv, void *ptr, swig_type_info *t, int flags)
446
sv_setref_pv(sv, (char *) t->name, ptr);
451
typedef XS(SwigPerlWrapper);
452
typedef SwigPerlWrapper *SwigPerlWrapperPtr;
454
/* Structure for command table */
457
SwigPerlWrapperPtr wrapper;
460
/* Information for constant table */
464
#define SWIG_STRING 3
465
#define SWIG_POINTER 4
466
#define SWIG_BINARY 5
468
/* Constant information structure */
469
typedef struct swig_constant_info {
475
swig_type_info **ptype;
476
} swig_constant_info;
482
/* Structure for variable table */
487
swig_type_info **type;
488
} swig_variable_info;
490
/* Magic variable code */
492
#define swig_create_magic(s,a,b,c) _swig_create_magic(s,a,b,c)
494
static void _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int \
495
(*get)(SV *,MAGIC *)) {
497
static void _swig_create_magic(SV *sv, char *name, int (*set)(struct interpreter*,\
498
SV *, MAGIC *), int (*get)(struct interpreter*, SV *,MAGIC *)) {
501
#define swig_create_magic(s,a,b,c) _swig_create_magic(pPerl,s,a,b,c)
502
static void _swig_create_magic(CPerlObj *pPerl, SV *sv, const char *name, int (CPerlObj::*set)(SV *, MAGIC *), int (CPerlObj::*get)(SV *, MAGIC *)) {
505
sv_magic(sv,sv,'U',(char *) name,strlen(name));
506
mg = mg_find(sv,'U');
507
mg->mg_virtual = (MGVTBL *) malloc(sizeof(MGVTBL));
508
mg->mg_virtual->svt_get = (SwigMagicFuncHack) get;
509
mg->mg_virtual->svt_set = (SwigMagicFuncHack) set;
510
mg->mg_virtual->svt_len = 0;
511
mg->mg_virtual->svt_clear = 0;
512
mg->mg_virtual->svt_free = 0;
573
/* -------- TYPES TABLE (BEGIN) -------- */
575
#define SWIGTYPE_p_SWLocale swig_types[0]
576
#define SWIGTYPE_p_SWMgr swig_types[1]
577
#define SWIGTYPE_p_SWCom swig_types[2]
578
#define SWIGTYPE_p_RawLD4 swig_types[3]
579
#define SWIGTYPE_p_ListKey swig_types[4]
580
#define SWIGTYPE_p_SWKey swig_types[5]
581
#define SWIGTYPE_p_ConfigEntMap swig_types[6]
582
#define SWIGTYPE_p_p_char swig_types[7]
583
#define SWIGTYPE_p_RawLD swig_types[8]
584
#define SWIGTYPE_p_char swig_types[9]
585
#define SWIGTYPE_p_TreeKey swig_types[10]
586
#define SWIGTYPE_p_StringList swig_types[11]
587
#define SWIGTYPE_p_bool swig_types[12]
588
#define SWIGTYPE_p_SWFilterMgr swig_types[13]
589
#define SWIGTYPE_p_SWLD swig_types[14]
590
#define SWIGTYPE_p_SWTextDirection swig_types[15]
591
#define SWIGTYPE_p_RawText swig_types[16]
592
#define SWIGTYPE_p_f_char_p_void__void swig_types[17]
593
#define SWIGTYPE_p_VerseKey swig_types[18]
594
#define SWIGTYPE_p_SWBuf swig_types[19]
595
#define SWIGTYPE_p_ModMap swig_types[20]
596
#define SWIGTYPE_p_zCom swig_types[21]
597
#define SWIGTYPE_p_SectionMap swig_types[22]
598
#define SWIGTYPE_p_SWDisplay swig_types[23]
599
#define SWIGTYPE_p_AttributeTypeList swig_types[24]
600
#define SWIGTYPE_p_SWText swig_types[25]
601
#define SWIGTYPE_p_std__listTSWBuf_t swig_types[26]
602
#define SWIGTYPE_p_TreeKeyIdx swig_types[27]
603
#define SWIGTYPE_p_SWCompress swig_types[28]
604
#define SWIGTYPE_p_LZSSCompress swig_types[29]
605
#define SWIGTYPE_p_ZipCompress swig_types[30]
606
#define SWIGTYPE_p_SW_POSITION swig_types[31]
607
#define SWIGTYPE_p_SWModule swig_types[32]
608
#define SWIGTYPE_p_zLD swig_types[33]
609
#define SWIGTYPE_p_SWGenBook swig_types[34]
610
#define SWIGTYPE_p_RawCom swig_types[35]
611
#define SWIGTYPE_p_RawGenBook swig_types[36]
612
#define SWIGTYPE_p_SWConfig swig_types[37]
613
#define SWIGTYPE_p_LocaleMgr swig_types[38]
614
#define SWIGTYPE_p_int swig_types[39]
615
#define SWIGTYPE_p_SWTextMarkup swig_types[40]
616
#define SWIGTYPE_p_zText swig_types[41]
617
#define SWIGTYPE_p_SWTextEncoding swig_types[42]
618
#define SWIGTYPE_p_unsigned_long swig_types[43]
619
static swig_type_info *swig_types[45];
621
/* -------- TYPES TABLE (END) -------- */
623
#define SWIG_init boot_Sword
625
#define SWIG_name "Swordc::boot_Sword"
626
#define SWIG_prefix "Swordc::"
633
SWIGEXPORT(void) SWIG_init (CV* cv);
635
SWIGEXPORT(void) SWIG_init (pTHXo_ CV* cv);
638
SWIGEXPORT(void) SWIG_init (CV *cv, CPerlObj *);
652
//#include <multimapwdef.h>
653
#include "swconfig.h"
655
using namespace sword;
659
#define SWIG_MemoryError 1
660
#define SWIG_IOError 2
661
#define SWIG_RuntimeError 3
662
#define SWIG_IndexError 4
663
#define SWIG_TypeError 5
664
#define SWIG_DivisionByZero 6
665
#define SWIG_OverflowError 7
666
#define SWIG_SyntaxError 8
667
#define SWIG_ValueError 9
668
#define SWIG_SystemError 10
669
#define SWIG_UnknownError 99
672
#define SWIG_exception(a,b) SWIG_croak(b)
682
void SWConfig_set(SWConfig *self,char const *group,char const *entry,char const *value){
683
self->Sections[group][entry] = value;
685
char const *SWConfig_get(SWConfig *self,char const *group,char const *entry){
686
return self->Sections[group][entry].c_str();
690
using namespace sword;
692
int const SWMgr_moduleCount(SWMgr *self){
693
return self->Modules.size();
695
SWModule *SWMgr_getModuleAt(SWMgr *self,int const pos){
696
if (pos < 0 || pos > self->Modules.size() )
699
ModMap::iterator it = self->Modules.begin();
701
for (int i = 0; i < pos; ++i) {
705
if ( it != self->Modules.end() ) {
712
#include "swmodule.h"
713
using namespace sword;
715
bool const SWModule_next(SWModule *self){
717
return !self->Error();
719
bool const SWModule_prev(SWModule *self){
721
return !self->Error();
723
bool const SWModule_inc(SWModule *self,int const howFar){
725
return !self->Error();
727
bool const SWModule_dec(SWModule *self,int const howFar){
729
return !self->Error();
731
void SWModule_setPosition(SWModule *self,SW_POSITION pos){
734
void SWModule_top(SWModule *self){
737
void SWModule_bottom(SWModule *self){
740
char const *SWModule_text(SWModule *self){
741
return (const char*)*self;
743
char const *SWModule_StripText(SWModule *self){
744
return self->StripText();
746
void SWModule_write(SWModule *self,char const *text){
749
void SWModule_writeLink(SWModule *self,SWKey const *key){
754
#include "versekey.h"
755
using namespace sword;
757
void SWKey_setPersist(SWKey *self,signed char persists){
758
self->Persist(persists);
760
void SWKey_next(SWKey *self){
763
void SWKey_prev(SWKey *self){
766
void SWKey_setKey(SWKey *self,SWKey const *key){
767
self->copyFrom(*key);
769
VerseKey *SWKey_toVerseKey(SWKey *self){
770
return dynamic_cast<VerseKey*>(self);
773
#include "versekey.h"
775
using namespace sword;
777
int const VerseKey_bookCount(VerseKey *self,int const testament){
778
if ( (testament < 1) || (testament > 2) ) {
781
return self->BMAX[testament-1];
783
char const *VerseKey_bookName(VerseKey *self,int const testament,int const book){
784
if ( (testament < 1) || (testament > 2) ) {
787
if ( (book < 1) || (book > self->BMAX[testament-1]) ) {
791
return self->books[testament-1][book-1].name;
793
int const VerseKey_chapterCount(VerseKey *self,int const testament,int const book){
794
if ( (testament < 1) || (testament > 2) ) {
797
if ( (book < 1) || (book > self->BMAX[testament-1]) ) {
801
return self->books[testament-1][book-1].chapmax;
803
int const VerseKey_verseCount(VerseKey *self,int const testament,int const book,int const chapter){
804
if ( (testament < 1) || (testament > 2) ) {
807
if ( (book < 1) || (book > self->BMAX[testament-1]) ) {
810
if ( (chapter < 1) || (chapter > self->books[testament-1][book-1].chapmax) ) {
814
return self->books[testament-1][book-1].versemax[chapter-1];
819
using namespace sword;
821
char ListKey_SetToElement(ListKey *self,int element){
822
return self->SetToElement(element, SW_POSITION(((char)1)));
826
using namespace sword;
829
#include "treekeyidx.h"
830
using namespace sword;
833
#include <localemgr.h>
836
using namespace sword;
838
LocaleMgr *const LocaleMgr_getSystemLocaleMgr(){
839
return &(LocaleMgr::systemLocaleMgr);
842
#include <swfiltermgr.h>
843
using namespace sword;
847
using namespace sword;
851
using namespace sword;
855
using namespace sword;
859
using namespace sword;
863
using namespace sword;
867
using namespace sword;
870
#include "swgenbook.h"
871
using namespace sword;
874
#include "rawgenbook.h"
875
#include "treekeyidx.h"
877
using namespace sword;
879
TreeKeyIdx *RawGenBook_getTreeKey(RawGenBook *self){
880
return ( (TreeKeyIdx *) ( (SWKey *) (*self) ) );
884
using namespace sword;
888
using namespace sword;
892
using namespace sword;
896
using namespace sword;
899
#include <swcomprs.h>
900
using namespace sword;
903
#include <lzsscomprs.h>
904
using namespace sword;
907
#include <zipcomprs.h>
908
using namespace sword;
912
using namespace sword;
915
#define MAGIC_CLASS _wrap_Sword_var::
916
class _wrap_Sword_var : public CPerlObj {
921
SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *sv, MAGIC *mg) {
924
croak("Value is read-only.");
936
XS(_wrap_SWConfig_filename_set) {
937
char _swigmsg[SWIG_MAX_ERRMSG] = "";
938
const char *_swigerr = _swigmsg;
940
SWConfig *arg1 = (SWConfig *) 0 ;
941
SWBuf *arg2 = (SWBuf *) 0 ;
945
if ((items < 2) || (items > 2)) {
946
SWIG_croak("Usage: SWConfig_filename_set(self,filename);");
949
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWConfig,0) < 0) {
950
SWIG_croak("Type error in argument 1 of SWConfig_filename_set. Expected _p_SWConfig");
954
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_SWBuf,0) < 0) {
955
SWIG_croak("Type error in argument 2 of SWConfig_filename_set. Expected _p_SWBuf");
958
if (arg1) (arg1)->filename = *arg2;
969
XS(_wrap_SWConfig_filename_get) {
970
char _swigmsg[SWIG_MAX_ERRMSG] = "";
971
const char *_swigerr = _swigmsg;
973
SWConfig *arg1 = (SWConfig *) 0 ;
978
if ((items < 1) || (items > 1)) {
979
SWIG_croak("Usage: SWConfig_filename_get(self);");
982
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWConfig,0) < 0) {
983
SWIG_croak("Type error in argument 1 of SWConfig_filename_get. Expected _p_SWConfig");
986
result = (SWBuf *)& ((arg1)->filename);
988
ST(argvi) = sv_newmortal();
989
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWBuf,0);
998
XS(_wrap_SWConfig_Sections_set) {
999
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1000
const char *_swigerr = _swigmsg;
1002
SWConfig *arg1 = (SWConfig *) 0 ;
1007
if ((items < 2) || (items > 2)) {
1008
SWIG_croak("Usage: SWConfig_Sections_set(self,Sections);");
1011
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWConfig,0) < 0) {
1012
SWIG_croak("Type error in argument 1 of SWConfig_Sections_set. Expected _p_SWConfig");
1017
if (SWIG_ConvertPtr(ST(1),(void **) &argp, SWIGTYPE_p_SectionMap,0) < 0) {
1018
SWIG_croak("Type error in argument 2 of SWConfig_Sections_set. Expected _p_SectionMap");
1022
if (arg1) (arg1)->Sections = arg2;
1033
XS(_wrap_SWConfig_Sections_get) {
1034
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1035
const char *_swigerr = _swigmsg;
1037
SWConfig *arg1 = (SWConfig *) 0 ;
1042
if ((items < 1) || (items > 1)) {
1043
SWIG_croak("Usage: SWConfig_Sections_get(self);");
1046
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWConfig,0) < 0) {
1047
SWIG_croak("Type error in argument 1 of SWConfig_Sections_get. Expected _p_SWConfig");
1050
result = ((arg1)->Sections);
1053
SectionMap * resultobj = new SectionMap((SectionMap &)result);
1054
ST(argvi) = sv_newmortal();
1055
SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_SectionMap,0);
1065
XS(_wrap_new_SWConfig) {
1066
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1067
const char *_swigerr = _swigmsg;
1074
if ((items < 1) || (items > 1)) {
1075
SWIG_croak("Usage: new_SWConfig(ifilename);");
1077
if (!SvOK((SV*) ST(0))) arg1 = 0;
1078
else arg1 = (char *) SvPV(ST(0), PL_na);
1079
result = (SWConfig *)new SWConfig((char const *)arg1);
1081
ST(argvi) = sv_newmortal();
1082
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWConfig,0);
1091
XS(_wrap_delete_SWConfig) {
1092
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1093
const char *_swigerr = _swigmsg;
1095
SWConfig *arg1 = (SWConfig *) 0 ;
1099
if ((items < 1) || (items > 1)) {
1100
SWIG_croak("Usage: delete_SWConfig(self);");
1103
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWConfig,0) < 0) {
1104
SWIG_croak("Type error in argument 1 of delete_SWConfig. Expected _p_SWConfig");
1118
XS(_wrap_SWConfig_Load) {
1119
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1120
const char *_swigerr = _swigmsg;
1122
SWConfig *arg1 = (SWConfig *) 0 ;
1126
if ((items < 1) || (items > 1)) {
1127
SWIG_croak("Usage: SWConfig_Load(self);");
1130
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWConfig,0) < 0) {
1131
SWIG_croak("Type error in argument 1 of SWConfig_Load. Expected _p_SWConfig");
1145
XS(_wrap_SWConfig_Save) {
1146
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1147
const char *_swigerr = _swigmsg;
1149
SWConfig *arg1 = (SWConfig *) 0 ;
1153
if ((items < 1) || (items > 1)) {
1154
SWIG_croak("Usage: SWConfig_Save(self);");
1157
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWConfig,0) < 0) {
1158
SWIG_croak("Type error in argument 1 of SWConfig_Save. Expected _p_SWConfig");
1172
XS(_wrap_SWConfig_set) {
1173
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1174
const char *_swigerr = _swigmsg;
1176
SWConfig *arg1 = (SWConfig *) 0 ;
1183
if ((items < 4) || (items > 4)) {
1184
SWIG_croak("Usage: SWConfig_set(self,group,entry,value);");
1187
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWConfig,0) < 0) {
1188
SWIG_croak("Type error in argument 1 of SWConfig_set. Expected _p_SWConfig");
1191
if (!SvOK((SV*) ST(1))) arg2 = 0;
1192
else arg2 = (char *) SvPV(ST(1), PL_na);
1193
if (!SvOK((SV*) ST(2))) arg3 = 0;
1194
else arg3 = (char *) SvPV(ST(2), PL_na);
1195
if (!SvOK((SV*) ST(3))) arg4 = 0;
1196
else arg4 = (char *) SvPV(ST(3), PL_na);
1197
SWConfig_set(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
1208
XS(_wrap_SWConfig_get) {
1209
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1210
const char *_swigerr = _swigmsg;
1212
SWConfig *arg1 = (SWConfig *) 0 ;
1219
if ((items < 3) || (items > 3)) {
1220
SWIG_croak("Usage: SWConfig_get(self,group,entry);");
1223
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWConfig,0) < 0) {
1224
SWIG_croak("Type error in argument 1 of SWConfig_get. Expected _p_SWConfig");
1227
if (!SvOK((SV*) ST(1))) arg2 = 0;
1228
else arg2 = (char *) SvPV(ST(1), PL_na);
1229
if (!SvOK((SV*) ST(2))) arg3 = 0;
1230
else arg3 = (char *) SvPV(ST(2), PL_na);
1231
result = (char *)SWConfig_get(arg1,(char const *)arg2,(char const *)arg3);
1233
ST(argvi) = sv_newmortal();
1235
sv_setpv((SV*)ST(argvi++), (char *) result);
1237
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
1247
XS(_wrap_SWMgr_findConfig) {
1248
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1249
const char *_swigerr = _swigmsg;
1252
char **arg2 = (char **) 0 ;
1253
char **arg3 = (char **) 0 ;
1257
if ((items < 3) || (items > 3)) {
1258
SWIG_croak("Usage: SWMgr_findConfig(configType,prefixPath,configPath);");
1260
if (!SvOK((SV*) ST(0))) arg1 = 0;
1261
else arg1 = (char *) SvPV(ST(0), PL_na);
1263
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_p_char,0) < 0) {
1264
SWIG_croak("Type error in argument 2 of SWMgr_findConfig. Expected _p_p_char");
1268
if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_p_char,0) < 0) {
1269
SWIG_croak("Type error in argument 3 of SWMgr_findConfig. Expected _p_p_char");
1272
SWMgr::findConfig(arg1,arg2,arg3);
1283
XS(_wrap_SWMgr_config_set) {
1284
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1285
const char *_swigerr = _swigmsg;
1287
SWMgr *arg1 = (SWMgr *) 0 ;
1288
SWConfig *arg2 = (SWConfig *) 0 ;
1292
if ((items < 2) || (items > 2)) {
1293
SWIG_croak("Usage: SWMgr_config_set(self,config);");
1296
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
1297
SWIG_croak("Type error in argument 1 of SWMgr_config_set. Expected _p_SWMgr");
1301
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_SWConfig,0) < 0) {
1302
SWIG_croak("Type error in argument 2 of SWMgr_config_set. Expected _p_SWConfig");
1305
if (arg1) (arg1)->config = arg2;
1316
XS(_wrap_SWMgr_config_get) {
1317
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1318
const char *_swigerr = _swigmsg;
1320
SWMgr *arg1 = (SWMgr *) 0 ;
1325
if ((items < 1) || (items > 1)) {
1326
SWIG_croak("Usage: SWMgr_config_get(self);");
1329
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
1330
SWIG_croak("Type error in argument 1 of SWMgr_config_get. Expected _p_SWMgr");
1333
result = (SWConfig *) ((arg1)->config);
1335
ST(argvi) = sv_newmortal();
1336
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWConfig,0);
1345
XS(_wrap_SWMgr_sysconfig_set) {
1346
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1347
const char *_swigerr = _swigmsg;
1349
SWMgr *arg1 = (SWMgr *) 0 ;
1350
SWConfig *arg2 = (SWConfig *) 0 ;
1354
if ((items < 2) || (items > 2)) {
1355
SWIG_croak("Usage: SWMgr_sysconfig_set(self,sysconfig);");
1358
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
1359
SWIG_croak("Type error in argument 1 of SWMgr_sysconfig_set. Expected _p_SWMgr");
1363
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_SWConfig,0) < 0) {
1364
SWIG_croak("Type error in argument 2 of SWMgr_sysconfig_set. Expected _p_SWConfig");
1367
if (arg1) (arg1)->sysconfig = arg2;
1378
XS(_wrap_SWMgr_sysconfig_get) {
1379
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1380
const char *_swigerr = _swigmsg;
1382
SWMgr *arg1 = (SWMgr *) 0 ;
1387
if ((items < 1) || (items > 1)) {
1388
SWIG_croak("Usage: SWMgr_sysconfig_get(self);");
1391
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
1392
SWIG_croak("Type error in argument 1 of SWMgr_sysconfig_get. Expected _p_SWMgr");
1395
result = (SWConfig *) ((arg1)->sysconfig);
1397
ST(argvi) = sv_newmortal();
1398
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWConfig,0);
1407
XS(_wrap_SWMgr_Modules_set) {
1408
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1409
const char *_swigerr = _swigmsg;
1411
SWMgr *arg1 = (SWMgr *) 0 ;
1416
if ((items < 2) || (items > 2)) {
1417
SWIG_croak("Usage: SWMgr_Modules_set(self,Modules);");
1420
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
1421
SWIG_croak("Type error in argument 1 of SWMgr_Modules_set. Expected _p_SWMgr");
1426
if (SWIG_ConvertPtr(ST(1),(void **) &argp, SWIGTYPE_p_ModMap,0) < 0) {
1427
SWIG_croak("Type error in argument 2 of SWMgr_Modules_set. Expected _p_ModMap");
1431
if (arg1) (arg1)->Modules = arg2;
1442
XS(_wrap_SWMgr_Modules_get) {
1443
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1444
const char *_swigerr = _swigmsg;
1446
SWMgr *arg1 = (SWMgr *) 0 ;
1451
if ((items < 1) || (items > 1)) {
1452
SWIG_croak("Usage: SWMgr_Modules_get(self);");
1455
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
1456
SWIG_croak("Type error in argument 1 of SWMgr_Modules_get. Expected _p_SWMgr");
1459
result = ((arg1)->Modules);
1462
ModMap * resultobj = new ModMap((ModMap &)result);
1463
ST(argvi) = sv_newmortal();
1464
SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_ModMap,0);
1474
XS(_wrap_SWMgr_prefixPath_set) {
1475
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1476
const char *_swigerr = _swigmsg;
1478
SWMgr *arg1 = (SWMgr *) 0 ;
1483
if ((items < 2) || (items > 2)) {
1484
SWIG_croak("Usage: SWMgr_prefixPath_set(self,prefixPath);");
1487
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
1488
SWIG_croak("Type error in argument 1 of SWMgr_prefixPath_set. Expected _p_SWMgr");
1491
if (!SvOK((SV*) ST(1))) arg2 = 0;
1492
else arg2 = (char *) SvPV(ST(1), PL_na);
1494
if (arg1->prefixPath) delete [] arg1->prefixPath;
1496
arg1->prefixPath = (char *) (new char[strlen(arg2)+1]);
1497
strcpy((char *) arg1->prefixPath,arg2);
1499
arg1->prefixPath = 0;
1511
XS(_wrap_SWMgr_prefixPath_get) {
1512
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1513
const char *_swigerr = _swigmsg;
1515
SWMgr *arg1 = (SWMgr *) 0 ;
1520
if ((items < 1) || (items > 1)) {
1521
SWIG_croak("Usage: SWMgr_prefixPath_get(self);");
1524
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
1525
SWIG_croak("Type error in argument 1 of SWMgr_prefixPath_get. Expected _p_SWMgr");
1528
result = (char *) ((arg1)->prefixPath);
1530
ST(argvi) = sv_newmortal();
1532
sv_setpv((SV*)ST(argvi++), (char *) result);
1534
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
1544
XS(_wrap_SWMgr_configPath_set) {
1545
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1546
const char *_swigerr = _swigmsg;
1548
SWMgr *arg1 = (SWMgr *) 0 ;
1553
if ((items < 2) || (items > 2)) {
1554
SWIG_croak("Usage: SWMgr_configPath_set(self,configPath);");
1557
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
1558
SWIG_croak("Type error in argument 1 of SWMgr_configPath_set. Expected _p_SWMgr");
1561
if (!SvOK((SV*) ST(1))) arg2 = 0;
1562
else arg2 = (char *) SvPV(ST(1), PL_na);
1564
if (arg1->configPath) delete [] arg1->configPath;
1566
arg1->configPath = (char *) (new char[strlen(arg2)+1]);
1567
strcpy((char *) arg1->configPath,arg2);
1569
arg1->configPath = 0;
1581
XS(_wrap_SWMgr_configPath_get) {
1582
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1583
const char *_swigerr = _swigmsg;
1585
SWMgr *arg1 = (SWMgr *) 0 ;
1590
if ((items < 1) || (items > 1)) {
1591
SWIG_croak("Usage: SWMgr_configPath_get(self);");
1594
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
1595
SWIG_croak("Type error in argument 1 of SWMgr_configPath_get. Expected _p_SWMgr");
1598
result = (char *) ((arg1)->configPath);
1600
ST(argvi) = sv_newmortal();
1602
sv_setpv((SV*)ST(argvi++), (char *) result);
1604
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
1614
XS(_wrap_new_SWMgr__SWIG_0) {
1615
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1616
const char *_swigerr = _swigmsg;
1618
SWConfig *arg1 = (SWConfig *) 0 ;
1619
SWConfig *arg2 = (SWConfig *) 0 ;
1620
bool arg3 = (bool) true ;
1621
SWFilterMgr *arg4 = (SWFilterMgr *) 0 ;
1626
if ((items < 0) || (items > 4)) {
1627
SWIG_croak("Usage: new_SWMgr(iconfig,isysconfig,autoload,filterMgr);");
1631
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWConfig,0) < 0) {
1632
SWIG_croak("Type error in argument 1 of new_SWMgr. Expected _p_SWConfig");
1638
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_SWConfig,0) < 0) {
1639
SWIG_croak("Type error in argument 2 of new_SWMgr. Expected _p_SWConfig");
1644
arg3 = (bool) SvIV(ST(2));
1648
if (SWIG_ConvertPtr(ST(3), (void **) &arg4, SWIGTYPE_p_SWFilterMgr,0) < 0) {
1649
SWIG_croak("Type error in argument 4 of new_SWMgr. Expected _p_SWFilterMgr");
1653
result = (SWMgr *)new SWMgr(arg1,arg2,arg3,arg4);
1655
ST(argvi) = sv_newmortal();
1656
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWMgr,0);
1665
XS(_wrap_new_SWMgr__SWIG_1) {
1666
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1667
const char *_swigerr = _swigmsg;
1670
bool arg2 = (bool) true ;
1671
SWFilterMgr *arg3 = (SWFilterMgr *) 0 ;
1676
if ((items < 1) || (items > 3)) {
1677
SWIG_croak("Usage: new_SWMgr(iConfigPath,autoload,filterMgr);");
1679
if (!SvOK((SV*) ST(0))) arg1 = 0;
1680
else arg1 = (char *) SvPV(ST(0), PL_na);
1682
arg2 = (bool) SvIV(ST(1));
1686
if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_SWFilterMgr,0) < 0) {
1687
SWIG_croak("Type error in argument 3 of new_SWMgr. Expected _p_SWFilterMgr");
1691
result = (SWMgr *)new SWMgr((char const *)arg1,arg2,arg3);
1693
ST(argvi) = sv_newmortal();
1694
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWMgr,0);
1703
XS(_wrap_new_SWMgr) {
1706
if ((items >= 0) && (items <= 4)) {
1709
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_SWMgr__SWIG_0); return;
1713
if (SWIG_ConvertPtr(ST(0), (void **) &tmp, SWIGTYPE_p_SWConfig, 0) == -1) {
1721
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_SWMgr__SWIG_0); return;
1725
if (SWIG_ConvertPtr(ST(1), (void **) &tmp, SWIGTYPE_p_SWConfig, 0) == -1) {
1733
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_SWMgr__SWIG_0); return;
1736
_v = SvIOK(ST(2)) ? 1 : 0;
1740
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_SWMgr__SWIG_0); return;
1744
if (SWIG_ConvertPtr(ST(3), (void **) &tmp, SWIGTYPE_p_SWFilterMgr, 0) == -1) {
1751
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_SWMgr__SWIG_0); return;
1757
if ((items >= 1) && (items <= 3)) {
1760
_v = SvPOK(ST(0)) ? 1 : 0;
1764
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_SWMgr__SWIG_1); return;
1767
_v = SvIOK(ST(1)) ? 1 : 0;
1771
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_SWMgr__SWIG_1); return;
1775
if (SWIG_ConvertPtr(ST(2), (void **) &tmp, SWIGTYPE_p_SWFilterMgr, 0) == -1) {
1782
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_SWMgr__SWIG_1); return;
1788
croak("No matching function for overloaded 'new_SWMgr'");
1793
XS(_wrap_delete_SWMgr) {
1794
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1795
const char *_swigerr = _swigmsg;
1797
SWMgr *arg1 = (SWMgr *) 0 ;
1801
if ((items < 1) || (items > 1)) {
1802
SWIG_croak("Usage: delete_SWMgr(self);");
1805
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
1806
SWIG_croak("Type error in argument 1 of delete_SWMgr. Expected _p_SWMgr");
1820
XS(_wrap_SWMgr_Load) {
1821
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1822
const char *_swigerr = _swigmsg;
1824
SWMgr *arg1 = (SWMgr *) 0 ;
1829
if ((items < 1) || (items > 1)) {
1830
SWIG_croak("Usage: SWMgr_Load(self);");
1833
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
1834
SWIG_croak("Type error in argument 1 of SWMgr_Load. Expected _p_SWMgr");
1837
result = (signed char)(arg1)->Load();
1839
ST(argvi) = sv_newmortal();
1840
sv_setiv(ST(argvi++), (IV) result);
1849
XS(_wrap_SWMgr_setGlobalOption) {
1850
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1851
const char *_swigerr = _swigmsg;
1853
SWMgr *arg1 = (SWMgr *) 0 ;
1859
if ((items < 3) || (items > 3)) {
1860
SWIG_croak("Usage: SWMgr_setGlobalOption(self,option,value);");
1863
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
1864
SWIG_croak("Type error in argument 1 of SWMgr_setGlobalOption. Expected _p_SWMgr");
1867
if (!SvOK((SV*) ST(1))) arg2 = 0;
1868
else arg2 = (char *) SvPV(ST(1), PL_na);
1869
if (!SvOK((SV*) ST(2))) arg3 = 0;
1870
else arg3 = (char *) SvPV(ST(2), PL_na);
1871
(arg1)->setGlobalOption((char const *)arg2,(char const *)arg3);
1882
XS(_wrap_SWMgr_getGlobalOption) {
1883
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1884
const char *_swigerr = _swigmsg;
1886
SWMgr *arg1 = (SWMgr *) 0 ;
1892
if ((items < 2) || (items > 2)) {
1893
SWIG_croak("Usage: SWMgr_getGlobalOption(self,option);");
1896
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
1897
SWIG_croak("Type error in argument 1 of SWMgr_getGlobalOption. Expected _p_SWMgr");
1900
if (!SvOK((SV*) ST(1))) arg2 = 0;
1901
else arg2 = (char *) SvPV(ST(1), PL_na);
1902
result = (char *)(arg1)->getGlobalOption((char const *)arg2);
1904
ST(argvi) = sv_newmortal();
1906
sv_setpv((SV*)ST(argvi++), (char *) result);
1908
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
1918
XS(_wrap_SWMgr_getGlobalOptionTip) {
1919
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1920
const char *_swigerr = _swigmsg;
1922
SWMgr *arg1 = (SWMgr *) 0 ;
1928
if ((items < 2) || (items > 2)) {
1929
SWIG_croak("Usage: SWMgr_getGlobalOptionTip(self,option);");
1932
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
1933
SWIG_croak("Type error in argument 1 of SWMgr_getGlobalOptionTip. Expected _p_SWMgr");
1936
if (!SvOK((SV*) ST(1))) arg2 = 0;
1937
else arg2 = (char *) SvPV(ST(1), PL_na);
1938
result = (char *)(arg1)->getGlobalOptionTip((char const *)arg2);
1940
ST(argvi) = sv_newmortal();
1942
sv_setpv((SV*)ST(argvi++), (char *) result);
1944
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
1954
XS(_wrap_SWMgr_getGlobalOptions) {
1955
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1956
const char *_swigerr = _swigmsg;
1958
SWMgr *arg1 = (SWMgr *) 0 ;
1963
if ((items < 1) || (items > 1)) {
1964
SWIG_croak("Usage: SWMgr_getGlobalOptions(self);");
1967
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
1968
SWIG_croak("Type error in argument 1 of SWMgr_getGlobalOptions. Expected _p_SWMgr");
1971
result = (arg1)->getGlobalOptions();
1974
StringList * resultobj = new StringList((StringList &)result);
1975
ST(argvi) = sv_newmortal();
1976
SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_StringList,0);
1986
XS(_wrap_SWMgr_getGlobalOptionValues) {
1987
char _swigmsg[SWIG_MAX_ERRMSG] = "";
1988
const char *_swigerr = _swigmsg;
1990
SWMgr *arg1 = (SWMgr *) 0 ;
1996
if ((items < 2) || (items > 2)) {
1997
SWIG_croak("Usage: SWMgr_getGlobalOptionValues(self,option);");
2000
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
2001
SWIG_croak("Type error in argument 1 of SWMgr_getGlobalOptionValues. Expected _p_SWMgr");
2004
if (!SvOK((SV*) ST(1))) arg2 = 0;
2005
else arg2 = (char *) SvPV(ST(1), PL_na);
2006
result = (arg1)->getGlobalOptionValues((char const *)arg2);
2009
StringList * resultobj = new StringList((StringList &)result);
2010
ST(argvi) = sv_newmortal();
2011
SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_StringList,0);
2021
XS(_wrap_SWMgr_setCipherKey) {
2022
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2023
const char *_swigerr = _swigmsg;
2025
SWMgr *arg1 = (SWMgr *) 0 ;
2032
if ((items < 3) || (items > 3)) {
2033
SWIG_croak("Usage: SWMgr_setCipherKey(self,modName,key);");
2036
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
2037
SWIG_croak("Type error in argument 1 of SWMgr_setCipherKey. Expected _p_SWMgr");
2040
if (!SvOK((SV*) ST(1))) arg2 = 0;
2041
else arg2 = (char *) SvPV(ST(1), PL_na);
2042
if (!SvOK((SV*) ST(2))) arg3 = 0;
2043
else arg3 = (char *) SvPV(ST(2), PL_na);
2044
result = (signed char)(arg1)->setCipherKey((char const *)arg2,(char const *)arg3);
2046
ST(argvi) = sv_newmortal();
2047
sv_setiv(ST(argvi++), (IV) result);
2056
XS(_wrap_SWMgr_getModule) {
2057
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2058
const char *_swigerr = _swigmsg;
2060
SWMgr *arg1 = (SWMgr *) 0 ;
2066
if ((items < 2) || (items > 2)) {
2067
SWIG_croak("Usage: SWMgr_getModule(self,modName);");
2070
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
2071
SWIG_croak("Type error in argument 1 of SWMgr_getModule. Expected _p_SWMgr");
2074
if (!SvOK((SV*) ST(1))) arg2 = 0;
2075
else arg2 = (char *) SvPV(ST(1), PL_na);
2076
result = (SWModule *)(arg1)->getModule((char const *)arg2);
2078
ST(argvi) = sv_newmortal();
2079
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWModule,0);
2088
XS(_wrap_SWMgr_InstallScan) {
2089
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2090
const char *_swigerr = _swigmsg;
2092
SWMgr *arg1 = (SWMgr *) 0 ;
2097
if ((items < 2) || (items > 2)) {
2098
SWIG_croak("Usage: SWMgr_InstallScan(self,dir);");
2101
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
2102
SWIG_croak("Type error in argument 1 of SWMgr_InstallScan. Expected _p_SWMgr");
2105
if (!SvOK((SV*) ST(1))) arg2 = 0;
2106
else arg2 = (char *) SvPV(ST(1), PL_na);
2107
(arg1)->InstallScan((char const *)arg2);
2118
XS(_wrap_SWMgr_moduleCount) {
2119
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2120
const char *_swigerr = _swigmsg;
2122
SWMgr *arg1 = (SWMgr *) 0 ;
2127
if ((items < 1) || (items > 1)) {
2128
SWIG_croak("Usage: SWMgr_moduleCount(self);");
2131
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
2132
SWIG_croak("Type error in argument 1 of SWMgr_moduleCount. Expected _p_SWMgr");
2135
result = (int)SWMgr_moduleCount(arg1);
2137
ST(argvi) = sv_newmortal();
2138
sv_setiv(ST(argvi++), (IV) result);
2147
XS(_wrap_SWMgr_getModuleAt) {
2148
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2149
const char *_swigerr = _swigmsg;
2151
SWMgr *arg1 = (SWMgr *) 0 ;
2157
if ((items < 2) || (items > 2)) {
2158
SWIG_croak("Usage: SWMgr_getModuleAt(self,pos);");
2161
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWMgr,0) < 0) {
2162
SWIG_croak("Type error in argument 1 of SWMgr_getModuleAt. Expected _p_SWMgr");
2165
arg2 = (int) SvIV(ST(1));
2166
result = (SWModule *)SWMgr_getModuleAt(arg1,arg2);
2168
ST(argvi) = sv_newmortal();
2169
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWModule,0);
2178
XS(_wrap_SWModule_terminateSearch_set) {
2179
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2180
const char *_swigerr = _swigmsg;
2182
SWModule *arg1 = (SWModule *) 0 ;
2187
if ((items < 2) || (items > 2)) {
2188
SWIG_croak("Usage: SWModule_terminateSearch_set(self,terminateSearch);");
2191
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2192
SWIG_croak("Type error in argument 1 of SWModule_terminateSearch_set. Expected _p_SWModule");
2195
arg2 = (bool) SvIV(ST(1));
2196
if (arg1) (arg1)->terminateSearch = arg2;
2207
XS(_wrap_SWModule_terminateSearch_get) {
2208
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2209
const char *_swigerr = _swigmsg;
2211
SWModule *arg1 = (SWModule *) 0 ;
2216
if ((items < 1) || (items > 1)) {
2217
SWIG_croak("Usage: SWModule_terminateSearch_get(self);");
2220
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2221
SWIG_croak("Type error in argument 1 of SWModule_terminateSearch_get. Expected _p_SWModule");
2224
result = (bool) ((arg1)->terminateSearch);
2226
ST(argvi) = sv_newmortal();
2227
sv_setiv(ST(argvi++), (IV) result);
2236
XS(_wrap_new_SWModule) {
2237
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2238
const char *_swigerr = _swigmsg;
2240
char *arg1 = (char *) 0 ;
2241
char *arg2 = (char *) 0 ;
2242
SWDisplay *arg3 = (SWDisplay *) 0 ;
2243
char *arg4 = (char *) 0 ;
2244
SWTextEncoding arg5 = (SWTextEncoding) ENC_UNKNOWN ;
2245
SWTextDirection arg6 = (SWTextDirection) DIRECTION_LTR ;
2246
SWTextMarkup arg7 = (SWTextMarkup) FMT_UNKNOWN ;
2247
char *arg8 = (char *) 0 ;
2252
if ((items < 0) || (items > 8)) {
2253
SWIG_croak("Usage: new_SWModule(imodname,imoddesc,idisp,imodtype,encoding,dir,markup,modlang);");
2256
if (!SvOK((SV*) ST(0))) arg1 = 0;
2257
else arg1 = (char *) SvPV(ST(0), PL_na);
2260
if (!SvOK((SV*) ST(1))) arg2 = 0;
2261
else arg2 = (char *) SvPV(ST(1), PL_na);
2265
if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_SWDisplay,0) < 0) {
2266
SWIG_croak("Type error in argument 3 of new_SWModule. Expected _p_SWDisplay");
2271
if (!SvOK((SV*) ST(3))) arg4 = 0;
2272
else arg4 = (char *) SvPV(ST(3), PL_na);
2276
SWTextEncoding * argp;
2277
if (SWIG_ConvertPtr(ST(4),(void **) &argp, SWIGTYPE_p_SWTextEncoding,0) < 0) {
2278
SWIG_croak("Type error in argument 5 of new_SWModule. Expected _p_SWTextEncoding");
2285
SWTextDirection * argp;
2286
if (SWIG_ConvertPtr(ST(5),(void **) &argp, SWIGTYPE_p_SWTextDirection,0) < 0) {
2287
SWIG_croak("Type error in argument 6 of new_SWModule. Expected _p_SWTextDirection");
2294
SWTextMarkup * argp;
2295
if (SWIG_ConvertPtr(ST(6),(void **) &argp, SWIGTYPE_p_SWTextMarkup,0) < 0) {
2296
SWIG_croak("Type error in argument 7 of new_SWModule. Expected _p_SWTextMarkup");
2302
if (!SvOK((SV*) ST(7))) arg8 = 0;
2303
else arg8 = (char *) SvPV(ST(7), PL_na);
2305
result = (SWModule *)new SWModule((char const *)arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,(char const *)arg8);
2307
ST(argvi) = sv_newmortal();
2308
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWModule,0);
2317
XS(_wrap_SWModule_Error) {
2318
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2319
const char *_swigerr = _swigmsg;
2321
SWModule *arg1 = (SWModule *) 0 ;
2326
if ((items < 1) || (items > 1)) {
2327
SWIG_croak("Usage: SWModule_Error(self);");
2330
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2331
SWIG_croak("Type error in argument 1 of SWModule_Error. Expected _p_SWModule");
2334
result = (char)(arg1)->Error();
2336
ST(argvi) = sv_newmortal();
2337
sv_setpvn((SV*)ST(argvi++), &result, 1);
2346
XS(_wrap_SWModule_isUnicode) {
2347
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2348
const char *_swigerr = _swigmsg;
2350
SWModule *arg1 = (SWModule *) 0 ;
2355
if ((items < 1) || (items > 1)) {
2356
SWIG_croak("Usage: SWModule_isUnicode(self);");
2359
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2360
SWIG_croak("Type error in argument 1 of SWModule_isUnicode. Expected _p_SWModule");
2363
result = (bool)((SWModule const *)arg1)->isUnicode();
2365
ST(argvi) = sv_newmortal();
2366
sv_setiv(ST(argvi++), (IV) result);
2375
XS(_wrap_SWModule_getConfig) {
2376
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2377
const char *_swigerr = _swigmsg;
2379
SWModule *arg1 = (SWModule *) 0 ;
2380
ConfigEntMap *result;
2384
if ((items < 1) || (items > 1)) {
2385
SWIG_croak("Usage: SWModule_getConfig(self);");
2388
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2389
SWIG_croak("Type error in argument 1 of SWModule_getConfig. Expected _p_SWModule");
2393
ConfigEntMap const &_result_ref = ((SWModule const *)arg1)->getConfig();
2394
result = (ConfigEntMap *) &_result_ref;
2397
ST(argvi) = sv_newmortal();
2398
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_ConfigEntMap,0);
2407
XS(_wrap_SWModule_getConfigEntry) {
2408
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2409
const char *_swigerr = _swigmsg;
2411
SWModule *arg1 = (SWModule *) 0 ;
2417
if ((items < 2) || (items > 2)) {
2418
SWIG_croak("Usage: SWModule_getConfigEntry(self,key);");
2421
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2422
SWIG_croak("Type error in argument 1 of SWModule_getConfigEntry. Expected _p_SWModule");
2425
if (!SvOK((SV*) ST(1))) arg2 = 0;
2426
else arg2 = (char *) SvPV(ST(1), PL_na);
2427
result = (char *)((SWModule const *)arg1)->getConfigEntry((char const *)arg2);
2429
ST(argvi) = sv_newmortal();
2431
sv_setpv((SV*)ST(argvi++), (char *) result);
2433
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
2443
XS(_wrap_SWModule_SetKey) {
2444
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2445
const char *_swigerr = _swigmsg;
2447
SWModule *arg1 = (SWModule *) 0 ;
2448
SWKey *arg2 = (SWKey *) 0 ;
2453
if ((items < 2) || (items > 2)) {
2454
SWIG_croak("Usage: SWModule_SetKey(self,ikey);");
2457
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2458
SWIG_croak("Type error in argument 1 of SWModule_SetKey. Expected _p_SWModule");
2462
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_SWKey,0) < 0) {
2463
SWIG_croak("Type error in argument 2 of SWModule_SetKey. Expected _p_SWKey");
2466
result = (char)(arg1)->SetKey((SWKey const *)arg2);
2468
ST(argvi) = sv_newmortal();
2469
sv_setpvn((SV*)ST(argvi++), &result, 1);
2478
XS(_wrap_SWModule_Key) {
2479
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2480
const char *_swigerr = _swigmsg;
2482
SWModule *arg1 = (SWModule *) 0 ;
2487
if ((items < 1) || (items > 1)) {
2488
SWIG_croak("Usage: SWModule_Key(self);");
2491
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2492
SWIG_croak("Type error in argument 1 of SWModule_Key. Expected _p_SWModule");
2496
SWKey &_result_ref = ((SWModule const *)arg1)->Key();
2497
result = (SWKey *) &_result_ref;
2500
ST(argvi) = sv_newmortal();
2501
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWKey,0);
2510
XS(_wrap_SWModule_CreateKey) {
2511
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2512
const char *_swigerr = _swigmsg;
2514
SWModule *arg1 = (SWModule *) 0 ;
2519
if ((items < 1) || (items > 1)) {
2520
SWIG_croak("Usage: SWModule_CreateKey(self);");
2523
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2524
SWIG_croak("Type error in argument 1 of SWModule_CreateKey. Expected _p_SWModule");
2527
result = (SWKey *)(arg1)->CreateKey();
2529
ST(argvi) = sv_newmortal();
2530
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWKey,0);
2539
XS(_wrap_SWModule_KeyText) {
2540
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2541
const char *_swigerr = _swigmsg;
2543
SWModule *arg1 = (SWModule *) 0 ;
2544
char *arg2 = (char *) 0 ;
2549
if ((items < 1) || (items > 2)) {
2550
SWIG_croak("Usage: SWModule_KeyText(self,imodtype);");
2553
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2554
SWIG_croak("Type error in argument 1 of SWModule_KeyText. Expected _p_SWModule");
2558
if (!SvOK((SV*) ST(1))) arg2 = 0;
2559
else arg2 = (char *) SvPV(ST(1), PL_na);
2561
result = (char *)(arg1)->KeyText((char const *)arg2);
2563
ST(argvi) = sv_newmortal();
2565
sv_setpv((SV*)ST(argvi++), (char *) result);
2567
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
2577
XS(_wrap_SWModule_Display) {
2578
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2579
const char *_swigerr = _swigmsg;
2581
SWModule *arg1 = (SWModule *) 0 ;
2586
if ((items < 1) || (items > 1)) {
2587
SWIG_croak("Usage: SWModule_Display(self);");
2590
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2591
SWIG_croak("Type error in argument 1 of SWModule_Display. Expected _p_SWModule");
2594
result = (char)(arg1)->Display();
2596
ST(argvi) = sv_newmortal();
2597
sv_setpvn((SV*)ST(argvi++), &result, 1);
2606
XS(_wrap_SWModule_nullPercent) {
2607
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2608
const char *_swigerr = _swigmsg;
2611
void *arg2 = (void *) 0 ;
2615
if ((items < 2) || (items > 2)) {
2616
SWIG_croak("Usage: SWModule_nullPercent(percent,userData);");
2618
arg1 = (char) *SvPV(ST(0),PL_na);
2620
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, 0,0) < 0) {
2621
SWIG_croak("Type error in argument 2 of SWModule_nullPercent. Expected _p_void");
2624
SWModule::nullPercent(arg1,arg2);
2635
XS(_wrap_SWModule_Search) {
2636
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2637
const char *_swigerr = _swigmsg;
2639
SWModule *arg1 = (SWModule *) 0 ;
2641
int arg3 = (int) 0 ;
2642
int arg4 = (int) 0 ;
2643
SWKey *arg5 = (SWKey *) 0 ;
2644
bool *arg6 = (bool *) 0 ;
2645
void (*arg7)(char,void *) = (void (*)(char,void *)) &SWModule::nullPercent ;
2646
void *arg8 = (void *) 0 ;
2651
if ((items < 2) || (items > 8)) {
2652
SWIG_croak("Usage: SWModule_Search(self,istr,searchType,flags,scope,justCheckIfSupported,percent,percentUserData);");
2655
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2656
SWIG_croak("Type error in argument 1 of SWModule_Search. Expected _p_SWModule");
2659
if (!SvOK((SV*) ST(1))) arg2 = 0;
2660
else arg2 = (char *) SvPV(ST(1), PL_na);
2662
arg3 = (int) SvIV(ST(2));
2665
arg4 = (int) SvIV(ST(3));
2669
if (SWIG_ConvertPtr(ST(4), (void **) &arg5, SWIGTYPE_p_SWKey,0) < 0) {
2670
SWIG_croak("Type error in argument 5 of SWModule_Search. Expected _p_SWKey");
2676
if (SWIG_ConvertPtr(ST(5), (void **) &arg6, SWIGTYPE_p_bool,0) < 0) {
2677
SWIG_croak("Type error in argument 6 of SWModule_Search. Expected _p_bool");
2683
if (SWIG_ConvertPtr(ST(6), (void **) &arg7, SWIGTYPE_p_f_char_p_void__void,0) < 0) {
2684
SWIG_croak("Type error in argument 7 of SWModule_Search. Expected _p_f_char_p_void__void");
2690
if (SWIG_ConvertPtr(ST(7), (void **) &arg8, 0,0) < 0) {
2691
SWIG_croak("Type error in argument 8 of SWModule_Search. Expected _p_void");
2696
ListKey &_result_ref = (arg1)->Search((char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8);
2697
result = (ListKey *) &_result_ref;
2700
ST(argvi) = sv_newmortal();
2701
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_ListKey,0);
2710
XS(_wrap_SWModule_createSearchFramework) {
2711
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2712
const char *_swigerr = _swigmsg;
2714
SWModule *arg1 = (SWModule *) 0 ;
2719
if ((items < 1) || (items > 1)) {
2720
SWIG_croak("Usage: SWModule_createSearchFramework(self);");
2723
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2724
SWIG_croak("Type error in argument 1 of SWModule_createSearchFramework. Expected _p_SWModule");
2727
result = (signed char)(arg1)->createSearchFramework();
2729
ST(argvi) = sv_newmortal();
2730
sv_setiv(ST(argvi++), (IV) result);
2739
XS(_wrap_SWModule_hasSearchFramework) {
2740
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2741
const char *_swigerr = _swigmsg;
2743
SWModule *arg1 = (SWModule *) 0 ;
2748
if ((items < 1) || (items > 1)) {
2749
SWIG_croak("Usage: SWModule_hasSearchFramework(self);");
2752
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2753
SWIG_croak("Type error in argument 1 of SWModule_hasSearchFramework. Expected _p_SWModule");
2756
result = (bool)(arg1)->hasSearchFramework();
2758
ST(argvi) = sv_newmortal();
2759
sv_setiv(ST(argvi++), (IV) result);
2768
XS(_wrap_SWModule_isSearchOptimallySupported) {
2769
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2770
const char *_swigerr = _swigmsg;
2772
SWModule *arg1 = (SWModule *) 0 ;
2776
SWKey *arg5 = (SWKey *) 0 ;
2781
if ((items < 5) || (items > 5)) {
2782
SWIG_croak("Usage: SWModule_isSearchOptimallySupported(self,istr,searchType,flags,scope);");
2785
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2786
SWIG_croak("Type error in argument 1 of SWModule_isSearchOptimallySupported. Expected _p_SWModule");
2789
if (!SvOK((SV*) ST(1))) arg2 = 0;
2790
else arg2 = (char *) SvPV(ST(1), PL_na);
2791
arg3 = (int) SvIV(ST(2));
2792
arg4 = (int) SvIV(ST(3));
2794
if (SWIG_ConvertPtr(ST(4), (void **) &arg5, SWIGTYPE_p_SWKey,0) < 0) {
2795
SWIG_croak("Type error in argument 5 of SWModule_isSearchOptimallySupported. Expected _p_SWKey");
2798
result = (bool)(arg1)->isSearchOptimallySupported((char const *)arg2,arg3,arg4,arg5);
2800
ST(argvi) = sv_newmortal();
2801
sv_setiv(ST(argvi++), (IV) result);
2810
XS(_wrap_SWModule_next) {
2811
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2812
const char *_swigerr = _swigmsg;
2814
SWModule *arg1 = (SWModule *) 0 ;
2819
if ((items < 1) || (items > 1)) {
2820
SWIG_croak("Usage: SWModule_next(self);");
2823
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2824
SWIG_croak("Type error in argument 1 of SWModule_next. Expected _p_SWModule");
2827
result = (bool)SWModule_next(arg1);
2829
ST(argvi) = sv_newmortal();
2830
sv_setiv(ST(argvi++), (IV) result);
2839
XS(_wrap_SWModule_prev) {
2840
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2841
const char *_swigerr = _swigmsg;
2843
SWModule *arg1 = (SWModule *) 0 ;
2848
if ((items < 1) || (items > 1)) {
2849
SWIG_croak("Usage: SWModule_prev(self);");
2852
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2853
SWIG_croak("Type error in argument 1 of SWModule_prev. Expected _p_SWModule");
2856
result = (bool)SWModule_prev(arg1);
2858
ST(argvi) = sv_newmortal();
2859
sv_setiv(ST(argvi++), (IV) result);
2868
XS(_wrap_SWModule_inc) {
2869
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2870
const char *_swigerr = _swigmsg;
2872
SWModule *arg1 = (SWModule *) 0 ;
2878
if ((items < 2) || (items > 2)) {
2879
SWIG_croak("Usage: SWModule_inc(self,howFar);");
2882
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2883
SWIG_croak("Type error in argument 1 of SWModule_inc. Expected _p_SWModule");
2886
arg2 = (int) SvIV(ST(1));
2887
result = (bool)SWModule_inc(arg1,arg2);
2889
ST(argvi) = sv_newmortal();
2890
sv_setiv(ST(argvi++), (IV) result);
2899
XS(_wrap_SWModule_dec) {
2900
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2901
const char *_swigerr = _swigmsg;
2903
SWModule *arg1 = (SWModule *) 0 ;
2909
if ((items < 2) || (items > 2)) {
2910
SWIG_croak("Usage: SWModule_dec(self,howFar);");
2913
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2914
SWIG_croak("Type error in argument 1 of SWModule_dec. Expected _p_SWModule");
2917
arg2 = (int) SvIV(ST(1));
2918
result = (bool)SWModule_dec(arg1,arg2);
2920
ST(argvi) = sv_newmortal();
2921
sv_setiv(ST(argvi++), (IV) result);
2930
XS(_wrap_SWModule_setPosition) {
2931
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2932
const char *_swigerr = _swigmsg;
2934
SWModule *arg1 = (SWModule *) 0 ;
2935
SwigValueWrapper< SW_POSITION > arg2 ;
2939
if ((items < 2) || (items > 2)) {
2940
SWIG_croak("Usage: SWModule_setPosition(self,pos);");
2943
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2944
SWIG_croak("Type error in argument 1 of SWModule_setPosition. Expected _p_SWModule");
2949
if (SWIG_ConvertPtr(ST(1),(void **) &argp, SWIGTYPE_p_SW_POSITION,0) < 0) {
2950
SWIG_croak("Type error in argument 2 of SWModule_setPosition. Expected _p_SW_POSITION");
2954
SWModule_setPosition(arg1,arg2);
2965
XS(_wrap_SWModule_top) {
2966
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2967
const char *_swigerr = _swigmsg;
2969
SWModule *arg1 = (SWModule *) 0 ;
2973
if ((items < 1) || (items > 1)) {
2974
SWIG_croak("Usage: SWModule_top(self);");
2977
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
2978
SWIG_croak("Type error in argument 1 of SWModule_top. Expected _p_SWModule");
2992
XS(_wrap_SWModule_bottom) {
2993
char _swigmsg[SWIG_MAX_ERRMSG] = "";
2994
const char *_swigerr = _swigmsg;
2996
SWModule *arg1 = (SWModule *) 0 ;
3000
if ((items < 1) || (items > 1)) {
3001
SWIG_croak("Usage: SWModule_bottom(self);");
3004
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3005
SWIG_croak("Type error in argument 1 of SWModule_bottom. Expected _p_SWModule");
3008
SWModule_bottom(arg1);
3019
XS(_wrap_SWModule_text) {
3020
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3021
const char *_swigerr = _swigmsg;
3023
SWModule *arg1 = (SWModule *) 0 ;
3028
if ((items < 1) || (items > 1)) {
3029
SWIG_croak("Usage: SWModule_text(self);");
3032
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3033
SWIG_croak("Type error in argument 1 of SWModule_text. Expected _p_SWModule");
3036
result = (char *)SWModule_text(arg1);
3038
ST(argvi) = sv_newmortal();
3040
sv_setpv((SV*)ST(argvi++), (char *) result);
3042
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
3052
XS(_wrap_SWModule_StripText) {
3053
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3054
const char *_swigerr = _swigmsg;
3056
SWModule *arg1 = (SWModule *) 0 ;
3061
if ((items < 1) || (items > 1)) {
3062
SWIG_croak("Usage: SWModule_StripText(self);");
3065
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3066
SWIG_croak("Type error in argument 1 of SWModule_StripText. Expected _p_SWModule");
3069
result = (char *)SWModule_StripText(arg1);
3071
ST(argvi) = sv_newmortal();
3073
sv_setpv((SV*)ST(argvi++), (char *) result);
3075
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
3085
XS(_wrap_SWModule_getRawEntry) {
3086
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3087
const char *_swigerr = _swigmsg;
3089
SWModule *arg1 = (SWModule *) 0 ;
3094
if ((items < 1) || (items > 1)) {
3095
SWIG_croak("Usage: SWModule_getRawEntry(self);");
3098
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3099
SWIG_croak("Type error in argument 1 of SWModule_getRawEntry. Expected _p_SWModule");
3102
result = (char *)(arg1)->getRawEntry();
3104
ST(argvi) = sv_newmortal();
3106
sv_setpv((SV*)ST(argvi++), (char *) result);
3108
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
3118
XS(_wrap_SWModule_setSkipConsecutiveLinks) {
3119
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3120
const char *_swigerr = _swigmsg;
3122
SWModule *arg1 = (SWModule *) 0 ;
3127
if ((items < 2) || (items > 2)) {
3128
SWIG_croak("Usage: SWModule_setSkipConsecutiveLinks(self,val);");
3131
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3132
SWIG_croak("Type error in argument 1 of SWModule_setSkipConsecutiveLinks. Expected _p_SWModule");
3135
arg2 = (bool) SvIV(ST(1));
3136
(arg1)->setSkipConsecutiveLinks(arg2);
3147
XS(_wrap_SWModule_getSkipConsecutiveLinks) {
3148
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3149
const char *_swigerr = _swigmsg;
3151
SWModule *arg1 = (SWModule *) 0 ;
3156
if ((items < 1) || (items > 1)) {
3157
SWIG_croak("Usage: SWModule_getSkipConsecutiveLinks(self);");
3160
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3161
SWIG_croak("Type error in argument 1 of SWModule_getSkipConsecutiveLinks. Expected _p_SWModule");
3164
result = (bool)(arg1)->getSkipConsecutiveLinks();
3166
ST(argvi) = sv_newmortal();
3167
sv_setiv(ST(argvi++), (IV) result);
3176
XS(_wrap_SWModule_getEntryAttributes) {
3177
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3178
const char *_swigerr = _swigmsg;
3180
SWModule *arg1 = (SWModule *) 0 ;
3181
AttributeTypeList *result;
3185
if ((items < 1) || (items > 1)) {
3186
SWIG_croak("Usage: SWModule_getEntryAttributes(self);");
3189
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3190
SWIG_croak("Type error in argument 1 of SWModule_getEntryAttributes. Expected _p_SWModule");
3194
AttributeTypeList &_result_ref = ((SWModule const *)arg1)->getEntryAttributes();
3195
result = (AttributeTypeList *) &_result_ref;
3198
ST(argvi) = sv_newmortal();
3199
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_AttributeTypeList,0);
3208
XS(_wrap_SWModule_processEntryAttributes) {
3209
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3210
const char *_swigerr = _swigmsg;
3212
SWModule *arg1 = (SWModule *) 0 ;
3217
if ((items < 2) || (items > 2)) {
3218
SWIG_croak("Usage: SWModule_processEntryAttributes(self,val);");
3221
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3222
SWIG_croak("Type error in argument 1 of SWModule_processEntryAttributes. Expected _p_SWModule");
3225
arg2 = (bool) SvIV(ST(1));
3226
((SWModule const *)arg1)->processEntryAttributes(arg2);
3237
XS(_wrap_SWModule_isProcessEntryAttributes) {
3238
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3239
const char *_swigerr = _swigmsg;
3241
SWModule *arg1 = (SWModule *) 0 ;
3246
if ((items < 1) || (items > 1)) {
3247
SWIG_croak("Usage: SWModule_isProcessEntryAttributes(self);");
3250
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3251
SWIG_croak("Type error in argument 1 of SWModule_isProcessEntryAttributes. Expected _p_SWModule");
3254
result = (bool)((SWModule const *)arg1)->isProcessEntryAttributes();
3256
ST(argvi) = sv_newmortal();
3257
sv_setiv(ST(argvi++), (IV) result);
3266
XS(_wrap_SWModule_Name) {
3267
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3268
const char *_swigerr = _swigmsg;
3270
SWModule *arg1 = (SWModule *) 0 ;
3271
char *arg2 = (char *) 0 ;
3276
if ((items < 1) || (items > 2)) {
3277
SWIG_croak("Usage: SWModule_Name(self,imodname);");
3280
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3281
SWIG_croak("Type error in argument 1 of SWModule_Name. Expected _p_SWModule");
3285
if (!SvOK((SV*) ST(1))) arg2 = 0;
3286
else arg2 = (char *) SvPV(ST(1), PL_na);
3288
result = (char *)(arg1)->Name((char const *)arg2);
3290
ST(argvi) = sv_newmortal();
3292
sv_setpv((SV*)ST(argvi++), (char *) result);
3294
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
3304
XS(_wrap_SWModule_Description) {
3305
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3306
const char *_swigerr = _swigmsg;
3308
SWModule *arg1 = (SWModule *) 0 ;
3309
char *arg2 = (char *) 0 ;
3314
if ((items < 1) || (items > 2)) {
3315
SWIG_croak("Usage: SWModule_Description(self,imoddesc);");
3318
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3319
SWIG_croak("Type error in argument 1 of SWModule_Description. Expected _p_SWModule");
3323
if (!SvOK((SV*) ST(1))) arg2 = 0;
3324
else arg2 = (char *) SvPV(ST(1), PL_na);
3326
result = (char *)(arg1)->Description((char const *)arg2);
3328
ST(argvi) = sv_newmortal();
3330
sv_setpv((SV*)ST(argvi++), (char *) result);
3332
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
3342
XS(_wrap_SWModule_Type) {
3343
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3344
const char *_swigerr = _swigmsg;
3346
SWModule *arg1 = (SWModule *) 0 ;
3347
char *arg2 = (char *) 0 ;
3352
if ((items < 1) || (items > 2)) {
3353
SWIG_croak("Usage: SWModule_Type(self,imodtype);");
3356
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3357
SWIG_croak("Type error in argument 1 of SWModule_Type. Expected _p_SWModule");
3361
if (!SvOK((SV*) ST(1))) arg2 = 0;
3362
else arg2 = (char *) SvPV(ST(1), PL_na);
3364
result = (char *)(arg1)->Type((char const *)arg2);
3366
ST(argvi) = sv_newmortal();
3368
sv_setpv((SV*)ST(argvi++), (char *) result);
3370
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
3380
XS(_wrap_SWModule_Direction) {
3381
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3382
const char *_swigerr = _swigmsg;
3384
SWModule *arg1 = (SWModule *) 0 ;
3385
signed char arg2 = (signed char) -1 ;
3390
if ((items < 1) || (items > 2)) {
3391
SWIG_croak("Usage: SWModule_Direction(self,newdir);");
3394
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3395
SWIG_croak("Type error in argument 1 of SWModule_Direction. Expected _p_SWModule");
3399
arg2 = (signed char) SvIV(ST(1));
3401
result = (char)(arg1)->Direction(arg2);
3403
ST(argvi) = sv_newmortal();
3404
sv_setpvn((SV*)ST(argvi++), &result, 1);
3413
XS(_wrap_SWModule_Encoding) {
3414
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3415
const char *_swigerr = _swigmsg;
3417
SWModule *arg1 = (SWModule *) 0 ;
3418
signed char arg2 = (signed char) -1 ;
3423
if ((items < 1) || (items > 2)) {
3424
SWIG_croak("Usage: SWModule_Encoding(self,enc);");
3427
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3428
SWIG_croak("Type error in argument 1 of SWModule_Encoding. Expected _p_SWModule");
3432
arg2 = (signed char) SvIV(ST(1));
3434
result = (char)(arg1)->Encoding(arg2);
3436
ST(argvi) = sv_newmortal();
3437
sv_setpvn((SV*)ST(argvi++), &result, 1);
3446
XS(_wrap_SWModule_Markup) {
3447
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3448
const char *_swigerr = _swigmsg;
3450
SWModule *arg1 = (SWModule *) 0 ;
3451
signed char arg2 = (signed char) -1 ;
3456
if ((items < 1) || (items > 2)) {
3457
SWIG_croak("Usage: SWModule_Markup(self,enc);");
3460
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3461
SWIG_croak("Type error in argument 1 of SWModule_Markup. Expected _p_SWModule");
3465
arg2 = (signed char) SvIV(ST(1));
3467
result = (char)(arg1)->Markup(arg2);
3469
ST(argvi) = sv_newmortal();
3470
sv_setpvn((SV*)ST(argvi++), &result, 1);
3479
XS(_wrap_SWModule_Lang) {
3480
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3481
const char *_swigerr = _swigmsg;
3483
SWModule *arg1 = (SWModule *) 0 ;
3484
char *arg2 = (char *) 0 ;
3489
if ((items < 1) || (items > 2)) {
3490
SWIG_croak("Usage: SWModule_Lang(self,imodlang);");
3493
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3494
SWIG_croak("Type error in argument 1 of SWModule_Lang. Expected _p_SWModule");
3498
if (!SvOK((SV*) ST(1))) arg2 = 0;
3499
else arg2 = (char *) SvPV(ST(1), PL_na);
3501
result = (char *)(arg1)->Lang((char const *)arg2);
3503
ST(argvi) = sv_newmortal();
3505
sv_setpv((SV*)ST(argvi++), (char *) result);
3507
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
3517
XS(_wrap_SWModule_isWritable) {
3518
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3519
const char *_swigerr = _swigmsg;
3521
SWModule *arg1 = (SWModule *) 0 ;
3526
if ((items < 1) || (items > 1)) {
3527
SWIG_croak("Usage: SWModule_isWritable(self);");
3530
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3531
SWIG_croak("Type error in argument 1 of SWModule_isWritable. Expected _p_SWModule");
3534
result = (bool)(arg1)->isWritable();
3536
ST(argvi) = sv_newmortal();
3537
sv_setiv(ST(argvi++), (IV) result);
3546
XS(_wrap_SWModule_createModule) {
3547
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3548
const char *_swigerr = _swigmsg;
3555
if ((items < 1) || (items > 1)) {
3556
SWIG_croak("Usage: SWModule_createModule(char const *);");
3558
if (!SvOK((SV*) ST(0))) arg1 = 0;
3559
else arg1 = (char *) SvPV(ST(0), PL_na);
3560
result = (signed char)SWModule::createModule((char const *)arg1);
3562
ST(argvi) = sv_newmortal();
3563
sv_setiv(ST(argvi++), (IV) result);
3572
XS(_wrap_SWModule_setEntry) {
3573
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3574
const char *_swigerr = _swigmsg;
3576
SWModule *arg1 = (SWModule *) 0 ;
3582
if ((items < 3) || (items > 3)) {
3583
SWIG_croak("Usage: SWModule_setEntry(self,inbuf,len);");
3586
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3587
SWIG_croak("Type error in argument 1 of SWModule_setEntry. Expected _p_SWModule");
3590
if (!SvOK((SV*) ST(1))) arg2 = 0;
3591
else arg2 = (char *) SvPV(ST(1), PL_na);
3592
arg3 = (long) SvIV(ST(2));
3593
(arg1)->setEntry((char const *)arg2,arg3);
3604
XS(_wrap_SWModule_deleteEntry) {
3605
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3606
const char *_swigerr = _swigmsg;
3608
SWModule *arg1 = (SWModule *) 0 ;
3612
if ((items < 1) || (items > 1)) {
3613
SWIG_croak("Usage: SWModule_deleteEntry(self);");
3616
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3617
SWIG_croak("Type error in argument 1 of SWModule_deleteEntry. Expected _p_SWModule");
3620
(arg1)->deleteEntry();
3631
XS(_wrap_SWModule_write) {
3632
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3633
const char *_swigerr = _swigmsg;
3635
SWModule *arg1 = (SWModule *) 0 ;
3640
if ((items < 2) || (items > 2)) {
3641
SWIG_croak("Usage: SWModule_write(self,text);");
3644
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3645
SWIG_croak("Type error in argument 1 of SWModule_write. Expected _p_SWModule");
3648
if (!SvOK((SV*) ST(1))) arg2 = 0;
3649
else arg2 = (char *) SvPV(ST(1), PL_na);
3650
SWModule_write(arg1,(char const *)arg2);
3661
XS(_wrap_SWModule_writeLink) {
3662
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3663
const char *_swigerr = _swigmsg;
3665
SWModule *arg1 = (SWModule *) 0 ;
3666
SWKey *arg2 = (SWKey *) 0 ;
3670
if ((items < 2) || (items > 2)) {
3671
SWIG_croak("Usage: SWModule_writeLink(self,key);");
3674
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3675
SWIG_croak("Type error in argument 1 of SWModule_writeLink. Expected _p_SWModule");
3679
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_SWKey,0) < 0) {
3680
SWIG_croak("Type error in argument 2 of SWModule_writeLink. Expected _p_SWKey");
3683
SWModule_writeLink(arg1,(SWKey const *)arg2);
3694
XS(_wrap_delete_SWModule) {
3695
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3696
const char *_swigerr = _swigmsg;
3698
SWModule *arg1 = (SWModule *) 0 ;
3702
if ((items < 1) || (items > 1)) {
3703
SWIG_croak("Usage: delete_SWModule(self);");
3706
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWModule,0) < 0) {
3707
SWIG_croak("Type error in argument 1 of delete_SWModule. Expected _p_SWModule");
3721
XS(_wrap_new_SW_POSITION) {
3722
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3723
const char *_swigerr = _swigmsg;
3726
SW_POSITION *result;
3730
if ((items < 1) || (items > 1)) {
3731
SWIG_croak("Usage: new_SW_POSITION(ipos);");
3733
arg1 = (char) *SvPV(ST(0),PL_na);
3734
result = (SW_POSITION *)new SW_POSITION(arg1);
3736
ST(argvi) = sv_newmortal();
3737
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SW_POSITION,0);
3746
XS(_wrap_delete_SW_POSITION) {
3747
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3748
const char *_swigerr = _swigmsg;
3750
SW_POSITION *arg1 = (SW_POSITION *) 0 ;
3754
if ((items < 1) || (items > 1)) {
3755
SWIG_croak("Usage: delete_SW_POSITION(self);");
3758
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SW_POSITION,0) < 0) {
3759
SWIG_croak("Type error in argument 1 of delete_SW_POSITION. Expected _p_SW_POSITION");
3773
XS(_wrap_new_SWKey__SWIG_0) {
3774
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3775
const char *_swigerr = _swigmsg;
3777
char *arg1 = (char *) 0 ;
3782
if ((items < 0) || (items > 1)) {
3783
SWIG_croak("Usage: new_SWKey(ikey);");
3786
if (!SvOK((SV*) ST(0))) arg1 = 0;
3787
else arg1 = (char *) SvPV(ST(0), PL_na);
3789
result = (SWKey *)new SWKey((char const *)arg1);
3791
ST(argvi) = sv_newmortal();
3792
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWKey,0);
3801
XS(_wrap_new_SWKey__SWIG_1) {
3802
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3803
const char *_swigerr = _swigmsg;
3810
if ((items < 1) || (items > 1)) {
3811
SWIG_croak("Usage: new_SWKey(k);");
3814
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
3815
SWIG_croak("Type error in argument 1 of new_SWKey. Expected _p_SWKey");
3818
result = (SWKey *)new SWKey((SWKey const &)*arg1);
3820
ST(argvi) = sv_newmortal();
3821
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWKey,0);
3830
XS(_wrap_new_SWKey) {
3833
if ((items >= 0) && (items <= 1)) {
3836
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_SWKey__SWIG_0); return;
3839
_v = SvPOK(ST(0)) ? 1 : 0;
3842
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_SWKey__SWIG_0); return;
3849
if (SWIG_ConvertPtr(ST(0), (void **) &tmp, SWIGTYPE_p_SWKey, 0) == -1) {
3856
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_SWKey__SWIG_1); return;
3860
croak("No matching function for overloaded 'new_SWKey'");
3865
XS(_wrap_SWKey_clone) {
3866
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3867
const char *_swigerr = _swigmsg;
3869
SWKey *arg1 = (SWKey *) 0 ;
3874
if ((items < 1) || (items > 1)) {
3875
SWIG_croak("Usage: SWKey_clone(self);");
3878
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
3879
SWIG_croak("Type error in argument 1 of SWKey_clone. Expected _p_SWKey");
3882
result = (SWKey *)((SWKey const *)arg1)->clone();
3884
ST(argvi) = sv_newmortal();
3885
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWKey,0);
3894
XS(_wrap_delete_SWKey) {
3895
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3896
const char *_swigerr = _swigmsg;
3898
SWKey *arg1 = (SWKey *) 0 ;
3902
if ((items < 1) || (items > 1)) {
3903
SWIG_croak("Usage: delete_SWKey(self);");
3906
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
3907
SWIG_croak("Type error in argument 1 of delete_SWKey. Expected _p_SWKey");
3921
XS(_wrap_SWKey_Persist) {
3922
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3923
const char *_swigerr = _swigmsg;
3925
SWKey *arg1 = (SWKey *) 0 ;
3930
if ((items < 1) || (items > 1)) {
3931
SWIG_croak("Usage: SWKey_Persist(self);");
3934
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
3935
SWIG_croak("Type error in argument 1 of SWKey_Persist. Expected _p_SWKey");
3938
result = (char)((SWKey const *)arg1)->Persist();
3940
ST(argvi) = sv_newmortal();
3941
sv_setpvn((SV*)ST(argvi++), &result, 1);
3950
XS(_wrap_SWKey_setPersist) {
3951
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3952
const char *_swigerr = _swigmsg;
3954
SWKey *arg1 = (SWKey *) 0 ;
3959
if ((items < 2) || (items > 2)) {
3960
SWIG_croak("Usage: SWKey_setPersist(self,persists);");
3963
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
3964
SWIG_croak("Type error in argument 1 of SWKey_setPersist. Expected _p_SWKey");
3967
arg2 = (signed char) SvIV(ST(1));
3968
SWKey_setPersist(arg1,arg2);
3979
XS(_wrap_SWKey_Error) {
3980
char _swigmsg[SWIG_MAX_ERRMSG] = "";
3981
const char *_swigerr = _swigmsg;
3983
SWKey *arg1 = (SWKey *) 0 ;
3988
if ((items < 1) || (items > 1)) {
3989
SWIG_croak("Usage: SWKey_Error(self);");
3992
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
3993
SWIG_croak("Type error in argument 1 of SWKey_Error. Expected _p_SWKey");
3996
result = (char)(arg1)->Error();
3998
ST(argvi) = sv_newmortal();
3999
sv_setpvn((SV*)ST(argvi++), &result, 1);
4008
XS(_wrap_SWKey_setText) {
4009
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4010
const char *_swigerr = _swigmsg;
4012
SWKey *arg1 = (SWKey *) 0 ;
4017
if ((items < 2) || (items > 2)) {
4018
SWIG_croak("Usage: SWKey_setText(self,ikey);");
4021
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
4022
SWIG_croak("Type error in argument 1 of SWKey_setText. Expected _p_SWKey");
4025
if (!SvOK((SV*) ST(1))) arg2 = 0;
4026
else arg2 = (char *) SvPV(ST(1), PL_na);
4027
(arg1)->setText((char const *)arg2);
4038
XS(_wrap_SWKey_getText) {
4039
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4040
const char *_swigerr = _swigmsg;
4042
SWKey *arg1 = (SWKey *) 0 ;
4047
if ((items < 1) || (items > 1)) {
4048
SWIG_croak("Usage: SWKey_getText(self);");
4051
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
4052
SWIG_croak("Type error in argument 1 of SWKey_getText. Expected _p_SWKey");
4055
result = (char *)((SWKey const *)arg1)->getText();
4057
ST(argvi) = sv_newmortal();
4059
sv_setpv((SV*)ST(argvi++), (char *) result);
4061
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
4071
XS(_wrap_SWKey_getShortText) {
4072
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4073
const char *_swigerr = _swigmsg;
4075
SWKey *arg1 = (SWKey *) 0 ;
4080
if ((items < 1) || (items > 1)) {
4081
SWIG_croak("Usage: SWKey_getShortText(self);");
4084
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
4085
SWIG_croak("Type error in argument 1 of SWKey_getShortText. Expected _p_SWKey");
4088
result = (char *)((SWKey const *)arg1)->getShortText();
4090
ST(argvi) = sv_newmortal();
4092
sv_setpv((SV*)ST(argvi++), (char *) result);
4094
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
4104
XS(_wrap_SWKey_compare) {
4105
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4106
const char *_swigerr = _swigmsg;
4108
SWKey *arg1 = (SWKey *) 0 ;
4114
if ((items < 2) || (items > 2)) {
4115
SWIG_croak("Usage: SWKey_compare(self,ikey);");
4118
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
4119
SWIG_croak("Type error in argument 1 of SWKey_compare. Expected _p_SWKey");
4123
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_SWKey,0) < 0) {
4124
SWIG_croak("Type error in argument 2 of SWKey_compare. Expected _p_SWKey");
4127
result = (int)(arg1)->compare((SWKey const &)*arg2);
4129
ST(argvi) = sv_newmortal();
4130
sv_setiv(ST(argvi++), (IV) result);
4139
XS(_wrap_SWKey_equals) {
4140
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4141
const char *_swigerr = _swigmsg;
4143
SWKey *arg1 = (SWKey *) 0 ;
4149
if ((items < 2) || (items > 2)) {
4150
SWIG_croak("Usage: SWKey_equals(self,ikey);");
4153
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
4154
SWIG_croak("Type error in argument 1 of SWKey_equals. Expected _p_SWKey");
4158
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_SWKey,0) < 0) {
4159
SWIG_croak("Type error in argument 2 of SWKey_equals. Expected _p_SWKey");
4162
result = (bool)(arg1)->equals((SWKey const &)*arg2);
4164
ST(argvi) = sv_newmortal();
4165
sv_setiv(ST(argvi++), (IV) result);
4174
XS(_wrap_SWKey_decrement) {
4175
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4176
const char *_swigerr = _swigmsg;
4178
SWKey *arg1 = (SWKey *) 0 ;
4179
int arg2 = (int) 1 ;
4183
if ((items < 1) || (items > 2)) {
4184
SWIG_croak("Usage: SWKey_decrement(self,steps);");
4187
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
4188
SWIG_croak("Type error in argument 1 of SWKey_decrement. Expected _p_SWKey");
4192
arg2 = (int) SvIV(ST(1));
4194
(arg1)->decrement(arg2);
4205
XS(_wrap_SWKey_increment) {
4206
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4207
const char *_swigerr = _swigmsg;
4209
SWKey *arg1 = (SWKey *) 0 ;
4210
int arg2 = (int) 1 ;
4214
if ((items < 1) || (items > 2)) {
4215
SWIG_croak("Usage: SWKey_increment(self,steps);");
4218
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
4219
SWIG_croak("Type error in argument 1 of SWKey_increment. Expected _p_SWKey");
4223
arg2 = (int) SvIV(ST(1));
4225
(arg1)->increment(arg2);
4236
XS(_wrap_SWKey_Traversable) {
4237
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4238
const char *_swigerr = _swigmsg;
4240
SWKey *arg1 = (SWKey *) 0 ;
4245
if ((items < 1) || (items > 1)) {
4246
SWIG_croak("Usage: SWKey_Traversable(self);");
4249
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
4250
SWIG_croak("Type error in argument 1 of SWKey_Traversable. Expected _p_SWKey");
4253
result = (char)(arg1)->Traversable();
4255
ST(argvi) = sv_newmortal();
4256
sv_setpvn((SV*)ST(argvi++), &result, 1);
4265
XS(_wrap_SWKey_Index) {
4266
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4267
const char *_swigerr = _swigmsg;
4269
SWKey *arg1 = (SWKey *) 0 ;
4274
if ((items < 1) || (items > 1)) {
4275
SWIG_croak("Usage: SWKey_Index(self);");
4278
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
4279
SWIG_croak("Type error in argument 1 of SWKey_Index. Expected _p_SWKey");
4282
result = (long)((SWKey const *)arg1)->Index();
4284
ST(argvi) = sv_newmortal();
4285
sv_setiv(ST(argvi++), (IV) result);
4294
XS(_wrap_SWKey_next) {
4295
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4296
const char *_swigerr = _swigmsg;
4298
SWKey *arg1 = (SWKey *) 0 ;
4302
if ((items < 1) || (items > 1)) {
4303
SWIG_croak("Usage: SWKey_next(self);");
4306
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
4307
SWIG_croak("Type error in argument 1 of SWKey_next. Expected _p_SWKey");
4321
XS(_wrap_SWKey_prev) {
4322
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4323
const char *_swigerr = _swigmsg;
4325
SWKey *arg1 = (SWKey *) 0 ;
4329
if ((items < 1) || (items > 1)) {
4330
SWIG_croak("Usage: SWKey_prev(self);");
4333
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
4334
SWIG_croak("Type error in argument 1 of SWKey_prev. Expected _p_SWKey");
4348
XS(_wrap_SWKey_setKey) {
4349
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4350
const char *_swigerr = _swigmsg;
4352
SWKey *arg1 = (SWKey *) 0 ;
4353
SWKey *arg2 = (SWKey *) 0 ;
4357
if ((items < 2) || (items > 2)) {
4358
SWIG_croak("Usage: SWKey_setKey(self,key);");
4361
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
4362
SWIG_croak("Type error in argument 1 of SWKey_setKey. Expected _p_SWKey");
4366
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_SWKey,0) < 0) {
4367
SWIG_croak("Type error in argument 2 of SWKey_setKey. Expected _p_SWKey");
4370
SWKey_setKey(arg1,(SWKey const *)arg2);
4381
XS(_wrap_SWKey_toVerseKey) {
4382
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4383
const char *_swigerr = _swigmsg;
4385
SWKey *arg1 = (SWKey *) 0 ;
4390
if ((items < 1) || (items > 1)) {
4391
SWIG_croak("Usage: SWKey_toVerseKey(self);");
4394
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
4395
SWIG_croak("Type error in argument 1 of SWKey_toVerseKey. Expected _p_SWKey");
4398
result = (VerseKey *)SWKey_toVerseKey(arg1);
4400
ST(argvi) = sv_newmortal();
4401
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_VerseKey,0);
4410
XS(_wrap_new_VerseKey__SWIG_0) {
4411
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4412
const char *_swigerr = _swigmsg;
4414
char *arg1 = (char *) 0 ;
4419
if ((items < 0) || (items > 1)) {
4420
SWIG_croak("Usage: new_VerseKey(ikey);");
4423
if (!SvOK((SV*) ST(0))) arg1 = 0;
4424
else arg1 = (char *) SvPV(ST(0), PL_na);
4426
result = (VerseKey *)new VerseKey((char const *)arg1);
4428
ST(argvi) = sv_newmortal();
4429
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_VerseKey,0);
4438
XS(_wrap_new_VerseKey__SWIG_1) {
4439
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4440
const char *_swigerr = _swigmsg;
4442
SWKey *arg1 = (SWKey *) 0 ;
4447
if ((items < 1) || (items > 1)) {
4448
SWIG_croak("Usage: new_VerseKey(ikey);");
4451
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWKey,0) < 0) {
4452
SWIG_croak("Type error in argument 1 of new_VerseKey. Expected _p_SWKey");
4455
result = (VerseKey *)new VerseKey((SWKey const *)arg1);
4457
ST(argvi) = sv_newmortal();
4458
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_VerseKey,0);
4467
XS(_wrap_new_VerseKey__SWIG_2) {
4468
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4469
const char *_swigerr = _swigmsg;
4477
if ((items < 2) || (items > 2)) {
4478
SWIG_croak("Usage: new_VerseKey(min,max);");
4480
if (!SvOK((SV*) ST(0))) arg1 = 0;
4481
else arg1 = (char *) SvPV(ST(0), PL_na);
4482
if (!SvOK((SV*) ST(1))) arg2 = 0;
4483
else arg2 = (char *) SvPV(ST(1), PL_na);
4484
result = (VerseKey *)new VerseKey((char const *)arg1,(char const *)arg2);
4486
ST(argvi) = sv_newmortal();
4487
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_VerseKey,0);
4496
XS(_wrap_new_VerseKey__SWIG_3) {
4497
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4498
const char *_swigerr = _swigmsg;
4500
VerseKey *arg1 = 0 ;
4505
if ((items < 1) || (items > 1)) {
4506
SWIG_croak("Usage: new_VerseKey(k);");
4509
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
4510
SWIG_croak("Type error in argument 1 of new_VerseKey. Expected _p_VerseKey");
4513
result = (VerseKey *)new VerseKey((VerseKey const &)*arg1);
4515
ST(argvi) = sv_newmortal();
4516
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_VerseKey,0);
4525
XS(_wrap_new_VerseKey) {
4528
if ((items >= 0) && (items <= 1)) {
4531
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_VerseKey__SWIG_0); return;
4534
_v = SvPOK(ST(0)) ? 1 : 0;
4537
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_VerseKey__SWIG_0); return;
4544
if (SWIG_ConvertPtr(ST(0), (void **) &tmp, SWIGTYPE_p_VerseKey, 0) == -1) {
4551
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_VerseKey__SWIG_3); return;
4558
if (SWIG_ConvertPtr(ST(0), (void **) &tmp, SWIGTYPE_p_SWKey, 0) == -1) {
4565
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_VerseKey__SWIG_1); return;
4571
_v = SvPOK(ST(0)) ? 1 : 0;
4575
_v = SvPOK(ST(1)) ? 1 : 0;
4578
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_VerseKey__SWIG_2); return;
4583
croak("No matching function for overloaded 'new_VerseKey'");
4588
XS(_wrap_delete_VerseKey) {
4589
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4590
const char *_swigerr = _swigmsg;
4592
VerseKey *arg1 = (VerseKey *) 0 ;
4596
if ((items < 1) || (items > 1)) {
4597
SWIG_croak("Usage: delete_VerseKey(self);");
4600
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
4601
SWIG_croak("Type error in argument 1 of delete_VerseKey. Expected _p_VerseKey");
4615
XS(_wrap_VerseKey_clone) {
4616
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4617
const char *_swigerr = _swigmsg;
4619
VerseKey *arg1 = (VerseKey *) 0 ;
4624
if ((items < 1) || (items > 1)) {
4625
SWIG_croak("Usage: VerseKey_clone(self);");
4628
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
4629
SWIG_croak("Type error in argument 1 of VerseKey_clone. Expected _p_VerseKey");
4632
result = (SWKey *)((VerseKey const *)arg1)->clone();
4634
ST(argvi) = sv_newmortal();
4635
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWKey,0);
4644
XS(_wrap_VerseKey_LowerBound) {
4645
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4646
const char *_swigerr = _swigmsg;
4648
VerseKey *arg1 = (VerseKey *) 0 ;
4653
if ((items < 1) || (items > 1)) {
4654
SWIG_croak("Usage: VerseKey_LowerBound(self);");
4657
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
4658
SWIG_croak("Type error in argument 1 of VerseKey_LowerBound. Expected _p_VerseKey");
4662
VerseKey &_result_ref = ((VerseKey const *)arg1)->LowerBound();
4663
result = (VerseKey *) &_result_ref;
4666
ST(argvi) = sv_newmortal();
4667
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_VerseKey,0);
4676
XS(_wrap_VerseKey_UpperBound) {
4677
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4678
const char *_swigerr = _swigmsg;
4680
VerseKey *arg1 = (VerseKey *) 0 ;
4685
if ((items < 1) || (items > 1)) {
4686
SWIG_croak("Usage: VerseKey_UpperBound(self);");
4689
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
4690
SWIG_croak("Type error in argument 1 of VerseKey_UpperBound. Expected _p_VerseKey");
4694
VerseKey &_result_ref = ((VerseKey const *)arg1)->UpperBound();
4695
result = (VerseKey *) &_result_ref;
4698
ST(argvi) = sv_newmortal();
4699
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_VerseKey,0);
4708
XS(_wrap_VerseKey_ClearBounds) {
4709
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4710
const char *_swigerr = _swigmsg;
4712
VerseKey *arg1 = (VerseKey *) 0 ;
4716
if ((items < 1) || (items > 1)) {
4717
SWIG_croak("Usage: VerseKey_ClearBounds(self);");
4720
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
4721
SWIG_croak("Type error in argument 1 of VerseKey_ClearBounds. Expected _p_VerseKey");
4724
(arg1)->ClearBounds();
4735
XS(_wrap_VerseKey_ParseVerseList) {
4736
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4737
const char *_swigerr = _swigmsg;
4739
VerseKey *arg1 = (VerseKey *) 0 ;
4741
char *arg3 = (char *) "Genesis 1:1" ;
4742
bool arg4 = (bool) false ;
4747
if ((items < 2) || (items > 4)) {
4748
SWIG_croak("Usage: VerseKey_ParseVerseList(self,buf,defaultKey,expandRange);");
4751
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
4752
SWIG_croak("Type error in argument 1 of VerseKey_ParseVerseList. Expected _p_VerseKey");
4755
if (!SvOK((SV*) ST(1))) arg2 = 0;
4756
else arg2 = (char *) SvPV(ST(1), PL_na);
4758
if (!SvOK((SV*) ST(2))) arg3 = 0;
4759
else arg3 = (char *) SvPV(ST(2), PL_na);
4762
arg4 = (bool) SvIV(ST(3));
4764
result = (arg1)->ParseVerseList((char const *)arg2,(char const *)arg3,arg4);
4767
ListKey * resultobj = new ListKey((ListKey &)result);
4768
ST(argvi) = sv_newmortal();
4769
SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_ListKey,0);
4779
XS(_wrap_VerseKey_setText) {
4780
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4781
const char *_swigerr = _swigmsg;
4783
VerseKey *arg1 = (VerseKey *) 0 ;
4788
if ((items < 2) || (items > 2)) {
4789
SWIG_croak("Usage: VerseKey_setText(self,ikey);");
4792
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
4793
SWIG_croak("Type error in argument 1 of VerseKey_setText. Expected _p_VerseKey");
4796
if (!SvOK((SV*) ST(1))) arg2 = 0;
4797
else arg2 = (char *) SvPV(ST(1), PL_na);
4798
(arg1)->setText((char const *)arg2);
4809
XS(_wrap_VerseKey_getText) {
4810
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4811
const char *_swigerr = _swigmsg;
4813
VerseKey *arg1 = (VerseKey *) 0 ;
4818
if ((items < 1) || (items > 1)) {
4819
SWIG_croak("Usage: VerseKey_getText(self);");
4822
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
4823
SWIG_croak("Type error in argument 1 of VerseKey_getText. Expected _p_VerseKey");
4826
result = (char *)((VerseKey const *)arg1)->getText();
4828
ST(argvi) = sv_newmortal();
4830
sv_setpv((SV*)ST(argvi++), (char *) result);
4832
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
4842
XS(_wrap_VerseKey_getRangeText) {
4843
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4844
const char *_swigerr = _swigmsg;
4846
VerseKey *arg1 = (VerseKey *) 0 ;
4851
if ((items < 1) || (items > 1)) {
4852
SWIG_croak("Usage: VerseKey_getRangeText(self);");
4855
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
4856
SWIG_croak("Type error in argument 1 of VerseKey_getRangeText. Expected _p_VerseKey");
4859
result = (char *)((VerseKey const *)arg1)->getRangeText();
4861
ST(argvi) = sv_newmortal();
4863
sv_setpv((SV*)ST(argvi++), (char *) result);
4865
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
4875
XS(_wrap_VerseKey_getShortText) {
4876
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4877
const char *_swigerr = _swigmsg;
4879
VerseKey *arg1 = (VerseKey *) 0 ;
4884
if ((items < 1) || (items > 1)) {
4885
SWIG_croak("Usage: VerseKey_getShortText(self);");
4888
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
4889
SWIG_croak("Type error in argument 1 of VerseKey_getShortText. Expected _p_VerseKey");
4892
result = (char *)((VerseKey const *)arg1)->getShortText();
4894
ST(argvi) = sv_newmortal();
4896
sv_setpv((SV*)ST(argvi++), (char *) result);
4898
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
4908
XS(_wrap_VerseKey_Traversable) {
4909
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4910
const char *_swigerr = _swigmsg;
4912
VerseKey *arg1 = (VerseKey *) 0 ;
4917
if ((items < 1) || (items > 1)) {
4918
SWIG_croak("Usage: VerseKey_Traversable(self);");
4921
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
4922
SWIG_croak("Type error in argument 1 of VerseKey_Traversable. Expected _p_VerseKey");
4925
result = (char)(arg1)->Traversable();
4927
ST(argvi) = sv_newmortal();
4928
sv_setpvn((SV*)ST(argvi++), &result, 1);
4937
XS(_wrap_VerseKey_decrement) {
4938
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4939
const char *_swigerr = _swigmsg;
4941
VerseKey *arg1 = (VerseKey *) 0 ;
4946
if ((items < 2) || (items > 2)) {
4947
SWIG_croak("Usage: VerseKey_decrement(self,step);");
4950
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
4951
SWIG_croak("Type error in argument 1 of VerseKey_decrement. Expected _p_VerseKey");
4954
arg2 = (int) SvIV(ST(1));
4955
(arg1)->decrement(arg2);
4966
XS(_wrap_VerseKey_increment) {
4967
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4968
const char *_swigerr = _swigmsg;
4970
VerseKey *arg1 = (VerseKey *) 0 ;
4975
if ((items < 2) || (items > 2)) {
4976
SWIG_croak("Usage: VerseKey_increment(self,step);");
4979
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
4980
SWIG_croak("Type error in argument 1 of VerseKey_increment. Expected _p_VerseKey");
4983
arg2 = (int) SvIV(ST(1));
4984
(arg1)->increment(arg2);
4995
XS(_wrap_VerseKey_getBookName) {
4996
char _swigmsg[SWIG_MAX_ERRMSG] = "";
4997
const char *_swigerr = _swigmsg;
4999
VerseKey *arg1 = (VerseKey *) 0 ;
5004
if ((items < 1) || (items > 1)) {
5005
SWIG_croak("Usage: VerseKey_getBookName(self);");
5008
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5009
SWIG_croak("Type error in argument 1 of VerseKey_getBookName. Expected _p_VerseKey");
5012
result = (char *)((VerseKey const *)arg1)->getBookName();
5014
ST(argvi) = sv_newmortal();
5016
sv_setpv((SV*)ST(argvi++), (char *) result);
5018
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
5028
XS(_wrap_VerseKey_getBookAbbrev) {
5029
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5030
const char *_swigerr = _swigmsg;
5032
VerseKey *arg1 = (VerseKey *) 0 ;
5037
if ((items < 1) || (items > 1)) {
5038
SWIG_croak("Usage: VerseKey_getBookAbbrev(self);");
5041
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5042
SWIG_croak("Type error in argument 1 of VerseKey_getBookAbbrev. Expected _p_VerseKey");
5045
result = (char *)((VerseKey const *)arg1)->getBookAbbrev();
5047
ST(argvi) = sv_newmortal();
5049
sv_setpv((SV*)ST(argvi++), (char *) result);
5051
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
5061
XS(_wrap_VerseKey_Testament) {
5062
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5063
const char *_swigerr = _swigmsg;
5065
VerseKey *arg1 = (VerseKey *) 0 ;
5070
if ((items < 1) || (items > 1)) {
5071
SWIG_croak("Usage: VerseKey_Testament(self);");
5074
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5075
SWIG_croak("Type error in argument 1 of VerseKey_Testament. Expected _p_VerseKey");
5078
result = (char)((VerseKey const *)arg1)->Testament();
5080
ST(argvi) = sv_newmortal();
5081
sv_setpvn((SV*)ST(argvi++), &result, 1);
5090
XS(_wrap_VerseKey_Book) {
5091
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5092
const char *_swigerr = _swigmsg;
5094
VerseKey *arg1 = (VerseKey *) 0 ;
5099
if ((items < 1) || (items > 1)) {
5100
SWIG_croak("Usage: VerseKey_Book(self);");
5103
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5104
SWIG_croak("Type error in argument 1 of VerseKey_Book. Expected _p_VerseKey");
5107
result = (char)((VerseKey const *)arg1)->Book();
5109
ST(argvi) = sv_newmortal();
5110
sv_setpvn((SV*)ST(argvi++), &result, 1);
5119
XS(_wrap_VerseKey_Chapter) {
5120
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5121
const char *_swigerr = _swigmsg;
5123
VerseKey *arg1 = (VerseKey *) 0 ;
5128
if ((items < 1) || (items > 1)) {
5129
SWIG_croak("Usage: VerseKey_Chapter(self);");
5132
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5133
SWIG_croak("Type error in argument 1 of VerseKey_Chapter. Expected _p_VerseKey");
5136
result = (int)((VerseKey const *)arg1)->Chapter();
5138
ST(argvi) = sv_newmortal();
5139
sv_setiv(ST(argvi++), (IV) result);
5148
XS(_wrap_VerseKey_Verse) {
5149
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5150
const char *_swigerr = _swigmsg;
5152
VerseKey *arg1 = (VerseKey *) 0 ;
5157
if ((items < 1) || (items > 1)) {
5158
SWIG_croak("Usage: VerseKey_Verse(self);");
5161
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5162
SWIG_croak("Type error in argument 1 of VerseKey_Verse. Expected _p_VerseKey");
5165
result = (int)((VerseKey const *)arg1)->Verse();
5167
ST(argvi) = sv_newmortal();
5168
sv_setiv(ST(argvi++), (IV) result);
5177
XS(_wrap_VerseKey_Normalize) {
5178
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5179
const char *_swigerr = _swigmsg;
5181
VerseKey *arg1 = (VerseKey *) 0 ;
5182
char arg2 = (char) 0 ;
5186
if ((items < 1) || (items > 2)) {
5187
SWIG_croak("Usage: VerseKey_Normalize(self,autocheck);");
5190
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5191
SWIG_croak("Type error in argument 1 of VerseKey_Normalize. Expected _p_VerseKey");
5195
arg2 = (char) *SvPV(ST(1),PL_na);
5197
(arg1)->Normalize(arg2);
5208
XS(_wrap_VerseKey_AutoNormalize) {
5209
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5210
const char *_swigerr = _swigmsg;
5212
VerseKey *arg1 = (VerseKey *) 0 ;
5213
char arg2 = (char) MAXPOS(char) ;
5218
if ((items < 1) || (items > 2)) {
5219
SWIG_croak("Usage: VerseKey_AutoNormalize(self,iautonorm);");
5222
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5223
SWIG_croak("Type error in argument 1 of VerseKey_AutoNormalize. Expected _p_VerseKey");
5227
arg2 = (char) *SvPV(ST(1),PL_na);
5229
result = (char)(arg1)->AutoNormalize(arg2);
5231
ST(argvi) = sv_newmortal();
5232
sv_setpvn((SV*)ST(argvi++), &result, 1);
5241
XS(_wrap_VerseKey_Headings) {
5242
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5243
const char *_swigerr = _swigmsg;
5245
VerseKey *arg1 = (VerseKey *) 0 ;
5246
char arg2 = (char) MAXPOS(char) ;
5251
if ((items < 1) || (items > 2)) {
5252
SWIG_croak("Usage: VerseKey_Headings(self,iheadings);");
5255
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5256
SWIG_croak("Type error in argument 1 of VerseKey_Headings. Expected _p_VerseKey");
5260
arg2 = (char) *SvPV(ST(1),PL_na);
5262
result = (char)(arg1)->Headings(arg2);
5264
ST(argvi) = sv_newmortal();
5265
sv_setpvn((SV*)ST(argvi++), &result, 1);
5274
XS(_wrap_VerseKey_getOSISRef) {
5275
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5276
const char *_swigerr = _swigmsg;
5278
VerseKey *arg1 = (VerseKey *) 0 ;
5283
if ((items < 1) || (items > 1)) {
5284
SWIG_croak("Usage: VerseKey_getOSISRef(self);");
5287
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5288
SWIG_croak("Type error in argument 1 of VerseKey_getOSISRef. Expected _p_VerseKey");
5291
result = (char *)((VerseKey const *)arg1)->getOSISRef();
5293
ST(argvi) = sv_newmortal();
5295
sv_setpv((SV*)ST(argvi++), (char *) result);
5297
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
5307
XS(_wrap_VerseKey_compare) {
5308
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5309
const char *_swigerr = _swigmsg;
5311
VerseKey *arg1 = (VerseKey *) 0 ;
5317
if ((items < 2) || (items > 2)) {
5318
SWIG_croak("Usage: VerseKey_compare(self,ikey);");
5321
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5322
SWIG_croak("Type error in argument 1 of VerseKey_compare. Expected _p_VerseKey");
5326
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_SWKey,0) < 0) {
5327
SWIG_croak("Type error in argument 2 of VerseKey_compare. Expected _p_SWKey");
5330
result = (int)(arg1)->compare((SWKey const &)*arg2);
5332
ST(argvi) = sv_newmortal();
5333
sv_setiv(ST(argvi++), (IV) result);
5342
XS(_wrap_VerseKey__compare) {
5343
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5344
const char *_swigerr = _swigmsg;
5346
VerseKey *arg1 = (VerseKey *) 0 ;
5347
VerseKey *arg2 = 0 ;
5352
if ((items < 2) || (items > 2)) {
5353
SWIG_croak("Usage: VerseKey__compare(self,ikey);");
5356
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5357
SWIG_croak("Type error in argument 1 of VerseKey__compare. Expected _p_VerseKey");
5361
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_VerseKey,0) < 0) {
5362
SWIG_croak("Type error in argument 2 of VerseKey__compare. Expected _p_VerseKey");
5365
result = (int)(arg1)->_compare((VerseKey const &)*arg2);
5367
ST(argvi) = sv_newmortal();
5368
sv_setiv(ST(argvi++), (IV) result);
5377
XS(_wrap_VerseKey_setLocale) {
5378
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5379
const char *_swigerr = _swigmsg;
5381
VerseKey *arg1 = (VerseKey *) 0 ;
5386
if ((items < 2) || (items > 2)) {
5387
SWIG_croak("Usage: VerseKey_setLocale(self,name);");
5390
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5391
SWIG_croak("Type error in argument 1 of VerseKey_setLocale. Expected _p_VerseKey");
5394
if (!SvOK((SV*) ST(1))) arg2 = 0;
5395
else arg2 = (char *) SvPV(ST(1), PL_na);
5396
(arg1)->setLocale((char const *)arg2);
5407
XS(_wrap_VerseKey_getLocale) {
5408
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5409
const char *_swigerr = _swigmsg;
5411
VerseKey *arg1 = (VerseKey *) 0 ;
5416
if ((items < 1) || (items > 1)) {
5417
SWIG_croak("Usage: VerseKey_getLocale(self);");
5420
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5421
SWIG_croak("Type error in argument 1 of VerseKey_getLocale. Expected _p_VerseKey");
5424
result = (char *)((VerseKey const *)arg1)->getLocale();
5426
ST(argvi) = sv_newmortal();
5428
sv_setpv((SV*)ST(argvi++), (char *) result);
5430
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
5440
XS(_wrap_VerseKey_bookCount) {
5441
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5442
const char *_swigerr = _swigmsg;
5444
VerseKey *arg1 = (VerseKey *) 0 ;
5450
if ((items < 2) || (items > 2)) {
5451
SWIG_croak("Usage: VerseKey_bookCount(self,testament);");
5454
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5455
SWIG_croak("Type error in argument 1 of VerseKey_bookCount. Expected _p_VerseKey");
5458
arg2 = (int) SvIV(ST(1));
5459
result = (int)VerseKey_bookCount(arg1,arg2);
5461
ST(argvi) = sv_newmortal();
5462
sv_setiv(ST(argvi++), (IV) result);
5471
XS(_wrap_VerseKey_bookName) {
5472
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5473
const char *_swigerr = _swigmsg;
5475
VerseKey *arg1 = (VerseKey *) 0 ;
5482
if ((items < 3) || (items > 3)) {
5483
SWIG_croak("Usage: VerseKey_bookName(self,testament,book);");
5486
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5487
SWIG_croak("Type error in argument 1 of VerseKey_bookName. Expected _p_VerseKey");
5490
arg2 = (int) SvIV(ST(1));
5491
arg3 = (int) SvIV(ST(2));
5492
result = (char *)VerseKey_bookName(arg1,arg2,arg3);
5494
ST(argvi) = sv_newmortal();
5496
sv_setpv((SV*)ST(argvi++), (char *) result);
5498
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
5508
XS(_wrap_VerseKey_chapterCount) {
5509
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5510
const char *_swigerr = _swigmsg;
5512
VerseKey *arg1 = (VerseKey *) 0 ;
5519
if ((items < 3) || (items > 3)) {
5520
SWIG_croak("Usage: VerseKey_chapterCount(self,testament,book);");
5523
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5524
SWIG_croak("Type error in argument 1 of VerseKey_chapterCount. Expected _p_VerseKey");
5527
arg2 = (int) SvIV(ST(1));
5528
arg3 = (int) SvIV(ST(2));
5529
result = (int)VerseKey_chapterCount(arg1,arg2,arg3);
5531
ST(argvi) = sv_newmortal();
5532
sv_setiv(ST(argvi++), (IV) result);
5541
XS(_wrap_VerseKey_verseCount) {
5542
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5543
const char *_swigerr = _swigmsg;
5545
VerseKey *arg1 = (VerseKey *) 0 ;
5553
if ((items < 4) || (items > 4)) {
5554
SWIG_croak("Usage: VerseKey_verseCount(self,testament,book,chapter);");
5557
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_VerseKey,0) < 0) {
5558
SWIG_croak("Type error in argument 1 of VerseKey_verseCount. Expected _p_VerseKey");
5561
arg2 = (int) SvIV(ST(1));
5562
arg3 = (int) SvIV(ST(2));
5563
arg4 = (int) SvIV(ST(3));
5564
result = (int)VerseKey_verseCount(arg1,arg2,arg3,arg4);
5566
ST(argvi) = sv_newmortal();
5567
sv_setiv(ST(argvi++), (IV) result);
5576
XS(_wrap_new_ListKey__SWIG_0) {
5577
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5578
const char *_swigerr = _swigmsg;
5580
char *arg1 = (char *) 0 ;
5585
if ((items < 0) || (items > 1)) {
5586
SWIG_croak("Usage: new_ListKey(ikey);");
5589
if (!SvOK((SV*) ST(0))) arg1 = 0;
5590
else arg1 = (char *) SvPV(ST(0), PL_na);
5592
result = (ListKey *)new ListKey((char const *)arg1);
5594
ST(argvi) = sv_newmortal();
5595
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_ListKey,0);
5604
XS(_wrap_new_ListKey__SWIG_1) {
5605
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5606
const char *_swigerr = _swigmsg;
5613
if ((items < 1) || (items > 1)) {
5614
SWIG_croak("Usage: new_ListKey(k);");
5617
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ListKey,0) < 0) {
5618
SWIG_croak("Type error in argument 1 of new_ListKey. Expected _p_ListKey");
5621
result = (ListKey *)new ListKey((ListKey const &)*arg1);
5623
ST(argvi) = sv_newmortal();
5624
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_ListKey,0);
5633
XS(_wrap_new_ListKey) {
5636
if ((items >= 0) && (items <= 1)) {
5639
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_ListKey__SWIG_0); return;
5642
_v = SvPOK(ST(0)) ? 1 : 0;
5645
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_ListKey__SWIG_0); return;
5652
if (SWIG_ConvertPtr(ST(0), (void **) &tmp, SWIGTYPE_p_ListKey, 0) == -1) {
5659
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_ListKey__SWIG_1); return;
5663
croak("No matching function for overloaded 'new_ListKey'");
5668
XS(_wrap_delete_ListKey) {
5669
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5670
const char *_swigerr = _swigmsg;
5672
ListKey *arg1 = (ListKey *) 0 ;
5676
if ((items < 1) || (items > 1)) {
5677
SWIG_croak("Usage: delete_ListKey(self);");
5680
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ListKey,0) < 0) {
5681
SWIG_croak("Type error in argument 1 of delete_ListKey. Expected _p_ListKey");
5695
XS(_wrap_ListKey_clone) {
5696
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5697
const char *_swigerr = _swigmsg;
5699
ListKey *arg1 = (ListKey *) 0 ;
5704
if ((items < 1) || (items > 1)) {
5705
SWIG_croak("Usage: ListKey_clone(self);");
5708
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ListKey,0) < 0) {
5709
SWIG_croak("Type error in argument 1 of ListKey_clone. Expected _p_ListKey");
5712
result = (SWKey *)((ListKey const *)arg1)->clone();
5714
ST(argvi) = sv_newmortal();
5715
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWKey,0);
5724
XS(_wrap_ListKey_ClearList) {
5725
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5726
const char *_swigerr = _swigmsg;
5728
ListKey *arg1 = (ListKey *) 0 ;
5732
if ((items < 1) || (items > 1)) {
5733
SWIG_croak("Usage: ListKey_ClearList(self);");
5736
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ListKey,0) < 0) {
5737
SWIG_croak("Type error in argument 1 of ListKey_ClearList. Expected _p_ListKey");
5740
(arg1)->ClearList();
5751
XS(_wrap_ListKey_Count) {
5752
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5753
const char *_swigerr = _swigmsg;
5755
ListKey *arg1 = (ListKey *) 0 ;
5760
if ((items < 1) || (items > 1)) {
5761
SWIG_croak("Usage: ListKey_Count(self);");
5764
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ListKey,0) < 0) {
5765
SWIG_croak("Type error in argument 1 of ListKey_Count. Expected _p_ListKey");
5768
result = (int)(arg1)->Count();
5770
ST(argvi) = sv_newmortal();
5771
sv_setiv(ST(argvi++), (IV) result);
5780
XS(_wrap_ListKey_Remove) {
5781
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5782
const char *_swigerr = _swigmsg;
5784
ListKey *arg1 = (ListKey *) 0 ;
5788
if ((items < 1) || (items > 1)) {
5789
SWIG_croak("Usage: ListKey_Remove(self);");
5792
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ListKey,0) < 0) {
5793
SWIG_croak("Type error in argument 1 of ListKey_Remove. Expected _p_ListKey");
5807
XS(_wrap_ListKey_SetToElement) {
5808
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5809
const char *_swigerr = _swigmsg;
5811
ListKey *arg1 = (ListKey *) 0 ;
5817
if ((items < 2) || (items > 2)) {
5818
SWIG_croak("Usage: ListKey_SetToElement(self,element);");
5821
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ListKey,0) < 0) {
5822
SWIG_croak("Type error in argument 1 of ListKey_SetToElement. Expected _p_ListKey");
5825
arg2 = (int) SvIV(ST(1));
5826
result = (char)ListKey_SetToElement(arg1,arg2);
5828
ST(argvi) = sv_newmortal();
5829
sv_setpvn((SV*)ST(argvi++), &result, 1);
5838
XS(_wrap_ListKey_GetElement) {
5839
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5840
const char *_swigerr = _swigmsg;
5842
ListKey *arg1 = (ListKey *) 0 ;
5843
int arg2 = (int) -1 ;
5848
if ((items < 1) || (items > 2)) {
5849
SWIG_croak("Usage: ListKey_GetElement(self,pos);");
5852
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ListKey,0) < 0) {
5853
SWIG_croak("Type error in argument 1 of ListKey_GetElement. Expected _p_ListKey");
5857
arg2 = (int) SvIV(ST(1));
5859
result = (SWKey *)(arg1)->GetElement(arg2);
5861
ST(argvi) = sv_newmortal();
5862
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWKey,0);
5871
XS(_wrap_ListKey_add) {
5872
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5873
const char *_swigerr = _swigmsg;
5875
ListKey *arg1 = (ListKey *) 0 ;
5880
if ((items < 2) || (items > 2)) {
5881
SWIG_croak("Usage: ListKey_add(self,ikey);");
5884
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ListKey,0) < 0) {
5885
SWIG_croak("Type error in argument 1 of ListKey_add. Expected _p_ListKey");
5889
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_SWKey,0) < 0) {
5890
SWIG_croak("Type error in argument 2 of ListKey_add. Expected _p_SWKey");
5893
(arg1)->add((SWKey const &)*arg2);
5904
XS(_wrap_ListKey_copyFrom) {
5905
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5906
const char *_swigerr = _swigmsg;
5908
ListKey *arg1 = (ListKey *) 0 ;
5913
if ((items < 2) || (items > 2)) {
5914
SWIG_croak("Usage: ListKey_copyFrom(self,ikey);");
5917
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ListKey,0) < 0) {
5918
SWIG_croak("Type error in argument 1 of ListKey_copyFrom. Expected _p_ListKey");
5922
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_ListKey,0) < 0) {
5923
SWIG_croak("Type error in argument 2 of ListKey_copyFrom. Expected _p_ListKey");
5926
(arg1)->copyFrom((ListKey const &)*arg2);
5937
XS(_wrap_ListKey_setPosition) {
5938
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5939
const char *_swigerr = _swigmsg;
5941
ListKey *arg1 = (ListKey *) 0 ;
5942
SwigValueWrapper< SW_POSITION > arg2 ;
5946
if ((items < 2) || (items > 2)) {
5947
SWIG_croak("Usage: ListKey_setPosition(self,SW_POSITION);");
5950
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ListKey,0) < 0) {
5951
SWIG_croak("Type error in argument 1 of ListKey_setPosition. Expected _p_ListKey");
5956
if (SWIG_ConvertPtr(ST(1),(void **) &argp, SWIGTYPE_p_SW_POSITION,0) < 0) {
5957
SWIG_croak("Type error in argument 2 of ListKey_setPosition. Expected _p_SW_POSITION");
5961
(arg1)->setPosition(arg2);
5972
XS(_wrap_ListKey_decrement) {
5973
char _swigmsg[SWIG_MAX_ERRMSG] = "";
5974
const char *_swigerr = _swigmsg;
5976
ListKey *arg1 = (ListKey *) 0 ;
5981
if ((items < 2) || (items > 2)) {
5982
SWIG_croak("Usage: ListKey_decrement(self,step);");
5985
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ListKey,0) < 0) {
5986
SWIG_croak("Type error in argument 1 of ListKey_decrement. Expected _p_ListKey");
5989
arg2 = (int) SvIV(ST(1));
5990
(arg1)->decrement(arg2);
6001
XS(_wrap_ListKey_increment) {
6002
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6003
const char *_swigerr = _swigmsg;
6005
ListKey *arg1 = (ListKey *) 0 ;
6010
if ((items < 2) || (items > 2)) {
6011
SWIG_croak("Usage: ListKey_increment(self,step);");
6014
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ListKey,0) < 0) {
6015
SWIG_croak("Type error in argument 1 of ListKey_increment. Expected _p_ListKey");
6018
arg2 = (int) SvIV(ST(1));
6019
(arg1)->increment(arg2);
6030
XS(_wrap_ListKey_Traversable) {
6031
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6032
const char *_swigerr = _swigmsg;
6034
ListKey *arg1 = (ListKey *) 0 ;
6039
if ((items < 1) || (items > 1)) {
6040
SWIG_croak("Usage: ListKey_Traversable(self);");
6043
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ListKey,0) < 0) {
6044
SWIG_croak("Type error in argument 1 of ListKey_Traversable. Expected _p_ListKey");
6047
result = (char)(arg1)->Traversable();
6049
ST(argvi) = sv_newmortal();
6050
sv_setpvn((SV*)ST(argvi++), &result, 1);
6059
XS(_wrap_ListKey_Index__SWIG_0) {
6060
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6061
const char *_swigerr = _swigmsg;
6063
ListKey *arg1 = (ListKey *) 0 ;
6068
if ((items < 1) || (items > 1)) {
6069
SWIG_croak("Usage: ListKey_Index(self);");
6072
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ListKey,0) < 0) {
6073
SWIG_croak("Type error in argument 1 of ListKey_Index. Expected _p_ListKey");
6076
result = (long)((ListKey const *)arg1)->Index();
6078
ST(argvi) = sv_newmortal();
6079
sv_setiv(ST(argvi++), (IV) result);
6088
XS(_wrap_ListKey_Index__SWIG_1) {
6089
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6090
const char *_swigerr = _swigmsg;
6092
ListKey *arg1 = (ListKey *) 0 ;
6098
if ((items < 2) || (items > 2)) {
6099
SWIG_croak("Usage: ListKey_Index(self,index);");
6102
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ListKey,0) < 0) {
6103
SWIG_croak("Type error in argument 1 of ListKey_Index. Expected _p_ListKey");
6106
arg2 = (long) SvIV(ST(1));
6107
result = (long)(arg1)->Index(arg2);
6109
ST(argvi) = sv_newmortal();
6110
sv_setiv(ST(argvi++), (IV) result);
6119
XS(_wrap_ListKey_Index) {
6126
if (SWIG_ConvertPtr(ST(0), (void **) &tmp, SWIGTYPE_p_ListKey, 0) == -1) {
6133
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_ListKey_Index__SWIG_0); return;
6140
if (SWIG_ConvertPtr(ST(0), (void **) &tmp, SWIGTYPE_p_ListKey, 0) == -1) {
6148
_v = SvIOK(ST(1)) ? 1 : 0;
6151
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_ListKey_Index__SWIG_1); return;
6156
croak("No matching function for overloaded 'ListKey_Index'");
6161
XS(_wrap_TreeKey_getLocalName) {
6162
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6163
const char *_swigerr = _swigmsg;
6165
TreeKey *arg1 = (TreeKey *) 0 ;
6170
if ((items < 1) || (items > 1)) {
6171
SWIG_croak("Usage: TreeKey_getLocalName(self);");
6174
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6175
SWIG_croak("Type error in argument 1 of TreeKey_getLocalName. Expected _p_TreeKey");
6178
result = (char *)(arg1)->getLocalName();
6180
ST(argvi) = sv_newmortal();
6182
sv_setpv((SV*)ST(argvi++), (char *) result);
6184
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
6194
XS(_wrap_TreeKey_setLocalName) {
6195
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6196
const char *_swigerr = _swigmsg;
6198
TreeKey *arg1 = (TreeKey *) 0 ;
6204
if ((items < 2) || (items > 2)) {
6205
SWIG_croak("Usage: TreeKey_setLocalName(self,char const *);");
6208
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6209
SWIG_croak("Type error in argument 1 of TreeKey_setLocalName. Expected _p_TreeKey");
6212
if (!SvOK((SV*) ST(1))) arg2 = 0;
6213
else arg2 = (char *) SvPV(ST(1), PL_na);
6214
result = (char *)(arg1)->setLocalName((char const *)arg2);
6216
ST(argvi) = sv_newmortal();
6218
sv_setpv((SV*)ST(argvi++), (char *) result);
6220
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
6230
XS(_wrap_TreeKey_getUserData) {
6231
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6232
const char *_swigerr = _swigmsg;
6234
TreeKey *arg1 = (TreeKey *) 0 ;
6235
int *arg2 = (int *) 0 ;
6240
if ((items < 1) || (items > 2)) {
6241
SWIG_croak("Usage: TreeKey_getUserData(self,size);");
6244
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6245
SWIG_croak("Type error in argument 1 of TreeKey_getUserData. Expected _p_TreeKey");
6250
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_int,0) < 0) {
6251
SWIG_croak("Type error in argument 2 of TreeKey_getUserData. Expected _p_int");
6255
result = (char *)(arg1)->getUserData(arg2);
6257
ST(argvi) = sv_newmortal();
6259
sv_setpv((SV*)ST(argvi++), (char *) result);
6261
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
6271
XS(_wrap_TreeKey_setUserData) {
6272
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6273
const char *_swigerr = _swigmsg;
6275
TreeKey *arg1 = (TreeKey *) 0 ;
6277
int arg3 = (int) 0 ;
6281
if ((items < 2) || (items > 3)) {
6282
SWIG_croak("Usage: TreeKey_setUserData(self,userData,size);");
6285
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6286
SWIG_croak("Type error in argument 1 of TreeKey_setUserData. Expected _p_TreeKey");
6289
if (!SvOK((SV*) ST(1))) arg2 = 0;
6290
else arg2 = (char *) SvPV(ST(1), PL_na);
6292
arg3 = (int) SvIV(ST(2));
6294
(arg1)->setUserData((char const *)arg2,arg3);
6305
XS(_wrap_TreeKey_getFullName) {
6306
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6307
const char *_swigerr = _swigmsg;
6309
TreeKey *arg1 = (TreeKey *) 0 ;
6314
if ((items < 1) || (items > 1)) {
6315
SWIG_croak("Usage: TreeKey_getFullName(self);");
6318
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6319
SWIG_croak("Type error in argument 1 of TreeKey_getFullName. Expected _p_TreeKey");
6322
result = (char *)((TreeKey const *)arg1)->getFullName();
6324
ST(argvi) = sv_newmortal();
6326
sv_setpv((SV*)ST(argvi++), (char *) result);
6328
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
6338
XS(_wrap_TreeKey_root) {
6339
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6340
const char *_swigerr = _swigmsg;
6342
TreeKey *arg1 = (TreeKey *) 0 ;
6346
if ((items < 1) || (items > 1)) {
6347
SWIG_croak("Usage: TreeKey_root(self);");
6350
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6351
SWIG_croak("Type error in argument 1 of TreeKey_root. Expected _p_TreeKey");
6365
XS(_wrap_TreeKey_parent) {
6366
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6367
const char *_swigerr = _swigmsg;
6369
TreeKey *arg1 = (TreeKey *) 0 ;
6374
if ((items < 1) || (items > 1)) {
6375
SWIG_croak("Usage: TreeKey_parent(self);");
6378
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6379
SWIG_croak("Type error in argument 1 of TreeKey_parent. Expected _p_TreeKey");
6382
result = (bool)(arg1)->parent();
6384
ST(argvi) = sv_newmortal();
6385
sv_setiv(ST(argvi++), (IV) result);
6394
XS(_wrap_TreeKey_firstChild) {
6395
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6396
const char *_swigerr = _swigmsg;
6398
TreeKey *arg1 = (TreeKey *) 0 ;
6403
if ((items < 1) || (items > 1)) {
6404
SWIG_croak("Usage: TreeKey_firstChild(self);");
6407
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6408
SWIG_croak("Type error in argument 1 of TreeKey_firstChild. Expected _p_TreeKey");
6411
result = (bool)(arg1)->firstChild();
6413
ST(argvi) = sv_newmortal();
6414
sv_setiv(ST(argvi++), (IV) result);
6423
XS(_wrap_TreeKey_nextSibling) {
6424
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6425
const char *_swigerr = _swigmsg;
6427
TreeKey *arg1 = (TreeKey *) 0 ;
6432
if ((items < 1) || (items > 1)) {
6433
SWIG_croak("Usage: TreeKey_nextSibling(self);");
6436
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6437
SWIG_croak("Type error in argument 1 of TreeKey_nextSibling. Expected _p_TreeKey");
6440
result = (bool)(arg1)->nextSibling();
6442
ST(argvi) = sv_newmortal();
6443
sv_setiv(ST(argvi++), (IV) result);
6452
XS(_wrap_TreeKey_previousSibling) {
6453
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6454
const char *_swigerr = _swigmsg;
6456
TreeKey *arg1 = (TreeKey *) 0 ;
6461
if ((items < 1) || (items > 1)) {
6462
SWIG_croak("Usage: TreeKey_previousSibling(self);");
6465
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6466
SWIG_croak("Type error in argument 1 of TreeKey_previousSibling. Expected _p_TreeKey");
6469
result = (bool)(arg1)->previousSibling();
6471
ST(argvi) = sv_newmortal();
6472
sv_setiv(ST(argvi++), (IV) result);
6481
XS(_wrap_TreeKey_hasChildren) {
6482
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6483
const char *_swigerr = _swigmsg;
6485
TreeKey *arg1 = (TreeKey *) 0 ;
6490
if ((items < 1) || (items > 1)) {
6491
SWIG_croak("Usage: TreeKey_hasChildren(self);");
6494
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6495
SWIG_croak("Type error in argument 1 of TreeKey_hasChildren. Expected _p_TreeKey");
6498
result = (bool)(arg1)->hasChildren();
6500
ST(argvi) = sv_newmortal();
6501
sv_setiv(ST(argvi++), (IV) result);
6510
XS(_wrap_TreeKey_append) {
6511
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6512
const char *_swigerr = _swigmsg;
6514
TreeKey *arg1 = (TreeKey *) 0 ;
6518
if ((items < 1) || (items > 1)) {
6519
SWIG_croak("Usage: TreeKey_append(self);");
6522
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6523
SWIG_croak("Type error in argument 1 of TreeKey_append. Expected _p_TreeKey");
6537
XS(_wrap_TreeKey_appendChild) {
6538
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6539
const char *_swigerr = _swigmsg;
6541
TreeKey *arg1 = (TreeKey *) 0 ;
6545
if ((items < 1) || (items > 1)) {
6546
SWIG_croak("Usage: TreeKey_appendChild(self);");
6549
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6550
SWIG_croak("Type error in argument 1 of TreeKey_appendChild. Expected _p_TreeKey");
6553
(arg1)->appendChild();
6564
XS(_wrap_TreeKey_insertBefore) {
6565
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6566
const char *_swigerr = _swigmsg;
6568
TreeKey *arg1 = (TreeKey *) 0 ;
6572
if ((items < 1) || (items > 1)) {
6573
SWIG_croak("Usage: TreeKey_insertBefore(self);");
6576
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6577
SWIG_croak("Type error in argument 1 of TreeKey_insertBefore. Expected _p_TreeKey");
6580
(arg1)->insertBefore();
6591
XS(_wrap_TreeKey_remove) {
6592
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6593
const char *_swigerr = _swigmsg;
6595
TreeKey *arg1 = (TreeKey *) 0 ;
6599
if ((items < 1) || (items > 1)) {
6600
SWIG_croak("Usage: TreeKey_remove(self);");
6603
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6604
SWIG_croak("Type error in argument 1 of TreeKey_remove. Expected _p_TreeKey");
6618
XS(_wrap_TreeKey_setOffset) {
6619
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6620
const char *_swigerr = _swigmsg;
6622
TreeKey *arg1 = (TreeKey *) 0 ;
6623
unsigned long arg2 ;
6627
if ((items < 2) || (items > 2)) {
6628
SWIG_croak("Usage: TreeKey_setOffset(self,offset);");
6631
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6632
SWIG_croak("Type error in argument 1 of TreeKey_setOffset. Expected _p_TreeKey");
6635
arg2 = (unsigned long) SvUV(ST(1));
6636
(arg1)->setOffset(arg2);
6647
XS(_wrap_TreeKey_getOffset) {
6648
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6649
const char *_swigerr = _swigmsg;
6651
TreeKey *arg1 = (TreeKey *) 0 ;
6652
unsigned long result;
6656
if ((items < 1) || (items > 1)) {
6657
SWIG_croak("Usage: TreeKey_getOffset(self);");
6660
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6661
SWIG_croak("Type error in argument 1 of TreeKey_getOffset. Expected _p_TreeKey");
6664
result = (unsigned long)((TreeKey const *)arg1)->getOffset();
6666
ST(argvi) = sv_newmortal();
6667
sv_setuv(ST(argvi++), (UV) result);
6676
XS(_wrap_TreeKey_setPosition) {
6677
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6678
const char *_swigerr = _swigmsg;
6680
TreeKey *arg1 = (TreeKey *) 0 ;
6681
SwigValueWrapper< SW_POSITION > arg2 ;
6685
if ((items < 2) || (items > 2)) {
6686
SWIG_croak("Usage: TreeKey_setPosition(self,p);");
6689
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6690
SWIG_croak("Type error in argument 1 of TreeKey_setPosition. Expected _p_TreeKey");
6695
if (SWIG_ConvertPtr(ST(1),(void **) &argp, SWIGTYPE_p_SW_POSITION,0) < 0) {
6696
SWIG_croak("Type error in argument 2 of TreeKey_setPosition. Expected _p_SW_POSITION");
6700
(arg1)->setPosition(arg2);
6711
XS(_wrap_TreeKey_Traversable) {
6712
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6713
const char *_swigerr = _swigmsg;
6715
TreeKey *arg1 = (TreeKey *) 0 ;
6720
if ((items < 1) || (items > 1)) {
6721
SWIG_croak("Usage: TreeKey_Traversable(self);");
6724
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6725
SWIG_croak("Type error in argument 1 of TreeKey_Traversable. Expected _p_TreeKey");
6728
result = (char)(arg1)->Traversable();
6730
ST(argvi) = sv_newmortal();
6731
sv_setpvn((SV*)ST(argvi++), &result, 1);
6740
XS(_wrap_TreeKey_Index) {
6741
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6742
const char *_swigerr = _swigmsg;
6744
TreeKey *arg1 = (TreeKey *) 0 ;
6749
if ((items < 1) || (items > 1)) {
6750
SWIG_croak("Usage: TreeKey_Index(self);");
6753
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKey,0) < 0) {
6754
SWIG_croak("Type error in argument 1 of TreeKey_Index. Expected _p_TreeKey");
6757
result = (long)((TreeKey const *)arg1)->Index();
6759
ST(argvi) = sv_newmortal();
6760
sv_setiv(ST(argvi++), (IV) result);
6769
XS(_wrap_delete_TreeKeyIdx) {
6770
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6771
const char *_swigerr = _swigmsg;
6773
TreeKeyIdx *arg1 = (TreeKeyIdx *) 0 ;
6777
if ((items < 1) || (items > 1)) {
6778
SWIG_croak("Usage: delete_TreeKeyIdx(self);");
6781
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKeyIdx,0) < 0) {
6782
SWIG_croak("Type error in argument 1 of delete_TreeKeyIdx. Expected _p_TreeKeyIdx");
6796
XS(_wrap_TreeKeyIdx_save) {
6797
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6798
const char *_swigerr = _swigmsg;
6800
TreeKeyIdx *arg1 = (TreeKeyIdx *) 0 ;
6804
if ((items < 1) || (items > 1)) {
6805
SWIG_croak("Usage: TreeKeyIdx_save(self);");
6808
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKeyIdx,0) < 0) {
6809
SWIG_croak("Type error in argument 1 of TreeKeyIdx_save. Expected _p_TreeKeyIdx");
6823
XS(_wrap_TreeKeyIdx_copyFrom) {
6824
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6825
const char *_swigerr = _swigmsg;
6827
TreeKeyIdx *arg1 = (TreeKeyIdx *) 0 ;
6828
TreeKeyIdx *arg2 = 0 ;
6832
if ((items < 2) || (items > 2)) {
6833
SWIG_croak("Usage: TreeKeyIdx_copyFrom(self,ikey);");
6836
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKeyIdx,0) < 0) {
6837
SWIG_croak("Type error in argument 1 of TreeKeyIdx_copyFrom. Expected _p_TreeKeyIdx");
6841
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_TreeKeyIdx,0) < 0) {
6842
SWIG_croak("Type error in argument 2 of TreeKeyIdx_copyFrom. Expected _p_TreeKeyIdx");
6845
(arg1)->copyFrom((TreeKeyIdx const &)*arg2);
6856
XS(_wrap_TreeKeyIdx__compare) {
6857
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6858
const char *_swigerr = _swigmsg;
6860
TreeKeyIdx *arg1 = (TreeKeyIdx *) 0 ;
6861
TreeKeyIdx *arg2 = 0 ;
6866
if ((items < 2) || (items > 2)) {
6867
SWIG_croak("Usage: TreeKeyIdx__compare(self,ikey);");
6870
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_TreeKeyIdx,0) < 0) {
6871
SWIG_croak("Type error in argument 1 of TreeKeyIdx__compare. Expected _p_TreeKeyIdx");
6875
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_TreeKeyIdx,0) < 0) {
6876
SWIG_croak("Type error in argument 2 of TreeKeyIdx__compare. Expected _p_TreeKeyIdx");
6879
result = (int)(arg1)->_compare((TreeKeyIdx const &)*arg2);
6881
ST(argvi) = sv_newmortal();
6882
sv_setiv(ST(argvi++), (IV) result);
6891
XS(_wrap_TreeKeyIdx_create) {
6892
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6893
const char *_swigerr = _swigmsg;
6900
if ((items < 1) || (items > 1)) {
6901
SWIG_croak("Usage: TreeKeyIdx_create(path);");
6903
if (!SvOK((SV*) ST(0))) arg1 = 0;
6904
else arg1 = (char *) SvPV(ST(0), PL_na);
6905
result = (signed char)TreeKeyIdx::create((char const *)arg1);
6907
ST(argvi) = sv_newmortal();
6908
sv_setiv(ST(argvi++), (IV) result);
6917
XS(_wrap_new_LocaleMgr) {
6918
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6919
const char *_swigerr = _swigmsg;
6921
char *arg1 = (char *) 0 ;
6926
if ((items < 0) || (items > 1)) {
6927
SWIG_croak("Usage: new_LocaleMgr(iConfigPath);");
6930
if (!SvOK((SV*) ST(0))) arg1 = 0;
6931
else arg1 = (char *) SvPV(ST(0), PL_na);
6933
result = (LocaleMgr *)new LocaleMgr((char const *)arg1);
6935
ST(argvi) = sv_newmortal();
6936
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_LocaleMgr,0);
6945
XS(_wrap_delete_LocaleMgr) {
6946
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6947
const char *_swigerr = _swigmsg;
6949
LocaleMgr *arg1 = (LocaleMgr *) 0 ;
6953
if ((items < 1) || (items > 1)) {
6954
SWIG_croak("Usage: delete_LocaleMgr(self);");
6957
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_LocaleMgr,0) < 0) {
6958
SWIG_croak("Type error in argument 1 of delete_LocaleMgr. Expected _p_LocaleMgr");
6972
XS(_wrap_LocaleMgr_getLocale) {
6973
char _swigmsg[SWIG_MAX_ERRMSG] = "";
6974
const char *_swigerr = _swigmsg;
6976
LocaleMgr *arg1 = (LocaleMgr *) 0 ;
6982
if ((items < 2) || (items > 2)) {
6983
SWIG_croak("Usage: LocaleMgr_getLocale(self,name);");
6986
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_LocaleMgr,0) < 0) {
6987
SWIG_croak("Type error in argument 1 of LocaleMgr_getLocale. Expected _p_LocaleMgr");
6990
if (!SvOK((SV*) ST(1))) arg2 = 0;
6991
else arg2 = (char *) SvPV(ST(1), PL_na);
6992
result = (SWLocale *)(arg1)->getLocale((char const *)arg2);
6994
ST(argvi) = sv_newmortal();
6995
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWLocale,0);
7004
XS(_wrap_LocaleMgr_getAvailableLocales) {
7005
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7006
const char *_swigerr = _swigmsg;
7008
LocaleMgr *arg1 = (LocaleMgr *) 0 ;
7009
std::list<SWBuf > result;
7013
if ((items < 1) || (items > 1)) {
7014
SWIG_croak("Usage: LocaleMgr_getAvailableLocales(self);");
7017
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_LocaleMgr,0) < 0) {
7018
SWIG_croak("Type error in argument 1 of LocaleMgr_getAvailableLocales. Expected _p_LocaleMgr");
7021
result = (arg1)->getAvailableLocales();
7024
std::list<SWBuf > * resultobj = new std::list<SWBuf >((std::list<SWBuf > &)result);
7025
ST(argvi) = sv_newmortal();
7026
SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_std__listTSWBuf_t,0);
7036
XS(_wrap_LocaleMgr_getDefaultLocaleName) {
7037
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7038
const char *_swigerr = _swigmsg;
7040
LocaleMgr *arg1 = (LocaleMgr *) 0 ;
7045
if ((items < 1) || (items > 1)) {
7046
SWIG_croak("Usage: LocaleMgr_getDefaultLocaleName(self);");
7049
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_LocaleMgr,0) < 0) {
7050
SWIG_croak("Type error in argument 1 of LocaleMgr_getDefaultLocaleName. Expected _p_LocaleMgr");
7053
result = (char *)(arg1)->getDefaultLocaleName();
7055
ST(argvi) = sv_newmortal();
7057
sv_setpv((SV*)ST(argvi++), (char *) result);
7059
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
7069
XS(_wrap_LocaleMgr_setDefaultLocaleName) {
7070
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7071
const char *_swigerr = _swigmsg;
7073
LocaleMgr *arg1 = (LocaleMgr *) 0 ;
7078
if ((items < 2) || (items > 2)) {
7079
SWIG_croak("Usage: LocaleMgr_setDefaultLocaleName(self,name);");
7082
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_LocaleMgr,0) < 0) {
7083
SWIG_croak("Type error in argument 1 of LocaleMgr_setDefaultLocaleName. Expected _p_LocaleMgr");
7086
if (!SvOK((SV*) ST(1))) arg2 = 0;
7087
else arg2 = (char *) SvPV(ST(1), PL_na);
7088
(arg1)->setDefaultLocaleName((char const *)arg2);
7099
XS(_wrap_LocaleMgr_getSystemLocaleMgr) {
7100
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7101
const char *_swigerr = _swigmsg;
7107
if ((items < 0) || (items > 0)) {
7108
SWIG_croak("Usage: LocaleMgr_getSystemLocaleMgr();");
7110
result = (LocaleMgr *)LocaleMgr_getSystemLocaleMgr();
7112
ST(argvi) = sv_newmortal();
7113
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_LocaleMgr,0);
7122
XS(_wrap_new_SWText) {
7123
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7124
const char *_swigerr = _swigmsg;
7126
char *arg1 = (char *) 0 ;
7127
char *arg2 = (char *) 0 ;
7128
SWDisplay *arg3 = (SWDisplay *) 0 ;
7129
SWTextEncoding arg4 = (SWTextEncoding) ENC_UNKNOWN ;
7130
SWTextDirection arg5 = (SWTextDirection) DIRECTION_LTR ;
7131
SWTextMarkup arg6 = (SWTextMarkup) FMT_UNKNOWN ;
7132
char *arg7 = (char *) 0 ;
7137
if ((items < 0) || (items > 7)) {
7138
SWIG_croak("Usage: new_SWText(imodname,imoddesc,idisp,encoding,dir,markup,ilang);");
7141
if (!SvOK((SV*) ST(0))) arg1 = 0;
7142
else arg1 = (char *) SvPV(ST(0), PL_na);
7145
if (!SvOK((SV*) ST(1))) arg2 = 0;
7146
else arg2 = (char *) SvPV(ST(1), PL_na);
7150
if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_SWDisplay,0) < 0) {
7151
SWIG_croak("Type error in argument 3 of new_SWText. Expected _p_SWDisplay");
7157
SWTextEncoding * argp;
7158
if (SWIG_ConvertPtr(ST(3),(void **) &argp, SWIGTYPE_p_SWTextEncoding,0) < 0) {
7159
SWIG_croak("Type error in argument 4 of new_SWText. Expected _p_SWTextEncoding");
7166
SWTextDirection * argp;
7167
if (SWIG_ConvertPtr(ST(4),(void **) &argp, SWIGTYPE_p_SWTextDirection,0) < 0) {
7168
SWIG_croak("Type error in argument 5 of new_SWText. Expected _p_SWTextDirection");
7175
SWTextMarkup * argp;
7176
if (SWIG_ConvertPtr(ST(5),(void **) &argp, SWIGTYPE_p_SWTextMarkup,0) < 0) {
7177
SWIG_croak("Type error in argument 6 of new_SWText. Expected _p_SWTextMarkup");
7183
if (!SvOK((SV*) ST(6))) arg7 = 0;
7184
else arg7 = (char *) SvPV(ST(6), PL_na);
7186
result = (SWText *)new SWText((char const *)arg1,(char const *)arg2,arg3,arg4,arg5,arg6,(char const *)arg7);
7188
ST(argvi) = sv_newmortal();
7189
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWText,0);
7198
XS(_wrap_delete_SWText) {
7199
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7200
const char *_swigerr = _swigmsg;
7202
SWText *arg1 = (SWText *) 0 ;
7206
if ((items < 1) || (items > 1)) {
7207
SWIG_croak("Usage: delete_SWText(self);");
7210
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWText,0) < 0) {
7211
SWIG_croak("Type error in argument 1 of delete_SWText. Expected _p_SWText");
7225
XS(_wrap_new_RawText) {
7226
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7227
const char *_swigerr = _swigmsg;
7230
char *arg2 = (char *) 0 ;
7231
char *arg3 = (char *) 0 ;
7232
SWDisplay *arg4 = (SWDisplay *) 0 ;
7233
SWTextEncoding arg5 = (SWTextEncoding) ENC_UNKNOWN ;
7234
SWTextDirection arg6 = (SWTextDirection) DIRECTION_LTR ;
7235
SWTextMarkup arg7 = (SWTextMarkup) FMT_UNKNOWN ;
7236
char *arg8 = (char *) 0 ;
7241
if ((items < 1) || (items > 8)) {
7242
SWIG_croak("Usage: new_RawText(ipath,iname,idesc,idisp,encoding,dir,markup,ilang);");
7244
if (!SvOK((SV*) ST(0))) arg1 = 0;
7245
else arg1 = (char *) SvPV(ST(0), PL_na);
7247
if (!SvOK((SV*) ST(1))) arg2 = 0;
7248
else arg2 = (char *) SvPV(ST(1), PL_na);
7251
if (!SvOK((SV*) ST(2))) arg3 = 0;
7252
else arg3 = (char *) SvPV(ST(2), PL_na);
7256
if (SWIG_ConvertPtr(ST(3), (void **) &arg4, SWIGTYPE_p_SWDisplay,0) < 0) {
7257
SWIG_croak("Type error in argument 4 of new_RawText. Expected _p_SWDisplay");
7263
SWTextEncoding * argp;
7264
if (SWIG_ConvertPtr(ST(4),(void **) &argp, SWIGTYPE_p_SWTextEncoding,0) < 0) {
7265
SWIG_croak("Type error in argument 5 of new_RawText. Expected _p_SWTextEncoding");
7272
SWTextDirection * argp;
7273
if (SWIG_ConvertPtr(ST(5),(void **) &argp, SWIGTYPE_p_SWTextDirection,0) < 0) {
7274
SWIG_croak("Type error in argument 6 of new_RawText. Expected _p_SWTextDirection");
7281
SWTextMarkup * argp;
7282
if (SWIG_ConvertPtr(ST(6),(void **) &argp, SWIGTYPE_p_SWTextMarkup,0) < 0) {
7283
SWIG_croak("Type error in argument 7 of new_RawText. Expected _p_SWTextMarkup");
7289
if (!SvOK((SV*) ST(7))) arg8 = 0;
7290
else arg8 = (char *) SvPV(ST(7), PL_na);
7292
result = (RawText *)new RawText((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,(char const *)arg8);
7294
ST(argvi) = sv_newmortal();
7295
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_RawText,0);
7304
XS(_wrap_RawText_createModule) {
7305
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7306
const char *_swigerr = _swigmsg;
7313
if ((items < 1) || (items > 1)) {
7314
SWIG_croak("Usage: RawText_createModule(path);");
7316
if (!SvOK((SV*) ST(0))) arg1 = 0;
7317
else arg1 = (char *) SvPV(ST(0), PL_na);
7318
result = (char)RawText::createModule((char const *)arg1);
7320
ST(argvi) = sv_newmortal();
7321
sv_setpvn((SV*)ST(argvi++), &result, 1);
7330
XS(_wrap_delete_RawText) {
7331
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7332
const char *_swigerr = _swigmsg;
7334
RawText *arg1 = (RawText *) 0 ;
7338
if ((items < 1) || (items > 1)) {
7339
SWIG_croak("Usage: delete_RawText(self);");
7342
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_RawText,0) < 0) {
7343
SWIG_croak("Type error in argument 1 of delete_RawText. Expected _p_RawText");
7357
XS(_wrap_new_zText) {
7358
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7359
const char *_swigerr = _swigmsg;
7362
char *arg2 = (char *) 0 ;
7363
char *arg3 = (char *) 0 ;
7364
int arg4 = (int) CHAPTERBLOCKS ;
7365
SWCompress *arg5 = (SWCompress *) 0 ;
7366
SWDisplay *arg6 = (SWDisplay *) 0 ;
7367
SWTextEncoding arg7 = (SWTextEncoding) ENC_UNKNOWN ;
7368
SWTextDirection arg8 = (SWTextDirection) DIRECTION_LTR ;
7369
SWTextMarkup arg9 = (SWTextMarkup) FMT_UNKNOWN ;
7370
char *arg10 = (char *) 0 ;
7375
if ((items < 1) || (items > 10)) {
7376
SWIG_croak("Usage: new_zText(ipath,iname,idesc,blockType,icomp,idisp,encoding,dir,markup,ilang);");
7378
if (!SvOK((SV*) ST(0))) arg1 = 0;
7379
else arg1 = (char *) SvPV(ST(0), PL_na);
7381
if (!SvOK((SV*) ST(1))) arg2 = 0;
7382
else arg2 = (char *) SvPV(ST(1), PL_na);
7385
if (!SvOK((SV*) ST(2))) arg3 = 0;
7386
else arg3 = (char *) SvPV(ST(2), PL_na);
7389
arg4 = (int) SvIV(ST(3));
7393
if (SWIG_ConvertPtr(ST(4), (void **) &arg5, SWIGTYPE_p_SWCompress,0) < 0) {
7394
SWIG_croak("Type error in argument 5 of new_zText. Expected _p_SWCompress");
7400
if (SWIG_ConvertPtr(ST(5), (void **) &arg6, SWIGTYPE_p_SWDisplay,0) < 0) {
7401
SWIG_croak("Type error in argument 6 of new_zText. Expected _p_SWDisplay");
7407
SWTextEncoding * argp;
7408
if (SWIG_ConvertPtr(ST(6),(void **) &argp, SWIGTYPE_p_SWTextEncoding,0) < 0) {
7409
SWIG_croak("Type error in argument 7 of new_zText. Expected _p_SWTextEncoding");
7416
SWTextDirection * argp;
7417
if (SWIG_ConvertPtr(ST(7),(void **) &argp, SWIGTYPE_p_SWTextDirection,0) < 0) {
7418
SWIG_croak("Type error in argument 8 of new_zText. Expected _p_SWTextDirection");
7425
SWTextMarkup * argp;
7426
if (SWIG_ConvertPtr(ST(8),(void **) &argp, SWIGTYPE_p_SWTextMarkup,0) < 0) {
7427
SWIG_croak("Type error in argument 9 of new_zText. Expected _p_SWTextMarkup");
7433
if (!SvOK((SV*) ST(9))) arg10 = 0;
7434
else arg10 = (char *) SvPV(ST(9), PL_na);
7436
result = (zText *)new zText((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,(char const *)arg10);
7438
ST(argvi) = sv_newmortal();
7439
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_zText,0);
7448
XS(_wrap_delete_zText) {
7449
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7450
const char *_swigerr = _swigmsg;
7452
zText *arg1 = (zText *) 0 ;
7456
if ((items < 1) || (items > 1)) {
7457
SWIG_croak("Usage: delete_zText(self);");
7460
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_zText,0) < 0) {
7461
SWIG_croak("Type error in argument 1 of delete_zText. Expected _p_zText");
7475
XS(_wrap_zText_createModule) {
7476
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7477
const char *_swigerr = _swigmsg;
7485
if ((items < 2) || (items > 2)) {
7486
SWIG_croak("Usage: zText_createModule(path,blockBound);");
7488
if (!SvOK((SV*) ST(0))) arg1 = 0;
7489
else arg1 = (char *) SvPV(ST(0), PL_na);
7490
arg2 = (int) SvIV(ST(1));
7491
result = (char)zText::createModule((char const *)arg1,arg2);
7493
ST(argvi) = sv_newmortal();
7494
sv_setpvn((SV*)ST(argvi++), &result, 1);
7503
XS(_wrap_new_RawCom) {
7504
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7505
const char *_swigerr = _swigmsg;
7508
char *arg2 = (char *) 0 ;
7509
char *arg3 = (char *) 0 ;
7510
SWDisplay *arg4 = (SWDisplay *) 0 ;
7511
SWTextEncoding arg5 = (SWTextEncoding) ENC_UNKNOWN ;
7512
SWTextDirection arg6 = (SWTextDirection) DIRECTION_LTR ;
7513
SWTextMarkup arg7 = (SWTextMarkup) FMT_UNKNOWN ;
7514
char *arg8 = (char *) 0 ;
7519
if ((items < 1) || (items > 8)) {
7520
SWIG_croak("Usage: new_RawCom(ipath,iname,idesc,idisp,encoding,dir,markup,ilang);");
7522
if (!SvOK((SV*) ST(0))) arg1 = 0;
7523
else arg1 = (char *) SvPV(ST(0), PL_na);
7525
if (!SvOK((SV*) ST(1))) arg2 = 0;
7526
else arg2 = (char *) SvPV(ST(1), PL_na);
7529
if (!SvOK((SV*) ST(2))) arg3 = 0;
7530
else arg3 = (char *) SvPV(ST(2), PL_na);
7534
if (SWIG_ConvertPtr(ST(3), (void **) &arg4, SWIGTYPE_p_SWDisplay,0) < 0) {
7535
SWIG_croak("Type error in argument 4 of new_RawCom. Expected _p_SWDisplay");
7541
SWTextEncoding * argp;
7542
if (SWIG_ConvertPtr(ST(4),(void **) &argp, SWIGTYPE_p_SWTextEncoding,0) < 0) {
7543
SWIG_croak("Type error in argument 5 of new_RawCom. Expected _p_SWTextEncoding");
7550
SWTextDirection * argp;
7551
if (SWIG_ConvertPtr(ST(5),(void **) &argp, SWIGTYPE_p_SWTextDirection,0) < 0) {
7552
SWIG_croak("Type error in argument 6 of new_RawCom. Expected _p_SWTextDirection");
7559
SWTextMarkup * argp;
7560
if (SWIG_ConvertPtr(ST(6),(void **) &argp, SWIGTYPE_p_SWTextMarkup,0) < 0) {
7561
SWIG_croak("Type error in argument 7 of new_RawCom. Expected _p_SWTextMarkup");
7567
if (!SvOK((SV*) ST(7))) arg8 = 0;
7568
else arg8 = (char *) SvPV(ST(7), PL_na);
7570
result = (RawCom *)new RawCom((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,(char const *)arg8);
7572
ST(argvi) = sv_newmortal();
7573
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_RawCom,0);
7582
XS(_wrap_delete_RawCom) {
7583
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7584
const char *_swigerr = _swigmsg;
7586
RawCom *arg1 = (RawCom *) 0 ;
7590
if ((items < 1) || (items > 1)) {
7591
SWIG_croak("Usage: delete_RawCom(self);");
7594
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_RawCom,0) < 0) {
7595
SWIG_croak("Type error in argument 1 of delete_RawCom. Expected _p_RawCom");
7609
XS(_wrap_RawCom_createModule) {
7610
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7611
const char *_swigerr = _swigmsg;
7618
if ((items < 1) || (items > 1)) {
7619
SWIG_croak("Usage: RawCom_createModule(path);");
7621
if (!SvOK((SV*) ST(0))) arg1 = 0;
7622
else arg1 = (char *) SvPV(ST(0), PL_na);
7623
result = (char)RawCom::createModule((char const *)arg1);
7625
ST(argvi) = sv_newmortal();
7626
sv_setpvn((SV*)ST(argvi++), &result, 1);
7635
XS(_wrap_new_zCom) {
7636
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7637
const char *_swigerr = _swigmsg;
7640
char *arg2 = (char *) 0 ;
7641
char *arg3 = (char *) 0 ;
7642
int arg4 = (int) CHAPTERBLOCKS ;
7643
SWCompress *arg5 = (SWCompress *) 0 ;
7644
SWDisplay *arg6 = (SWDisplay *) 0 ;
7645
SWTextEncoding arg7 = (SWTextEncoding) ENC_UNKNOWN ;
7646
SWTextDirection arg8 = (SWTextDirection) DIRECTION_LTR ;
7647
SWTextMarkup arg9 = (SWTextMarkup) FMT_UNKNOWN ;
7648
char *arg10 = (char *) 0 ;
7653
if ((items < 1) || (items > 10)) {
7654
SWIG_croak("Usage: new_zCom(ipath,iname,idesc,blockType,icomp,idisp,encoding,dir,markup,ilang);");
7656
if (!SvOK((SV*) ST(0))) arg1 = 0;
7657
else arg1 = (char *) SvPV(ST(0), PL_na);
7659
if (!SvOK((SV*) ST(1))) arg2 = 0;
7660
else arg2 = (char *) SvPV(ST(1), PL_na);
7663
if (!SvOK((SV*) ST(2))) arg3 = 0;
7664
else arg3 = (char *) SvPV(ST(2), PL_na);
7667
arg4 = (int) SvIV(ST(3));
7671
if (SWIG_ConvertPtr(ST(4), (void **) &arg5, SWIGTYPE_p_SWCompress,0) < 0) {
7672
SWIG_croak("Type error in argument 5 of new_zCom. Expected _p_SWCompress");
7678
if (SWIG_ConvertPtr(ST(5), (void **) &arg6, SWIGTYPE_p_SWDisplay,0) < 0) {
7679
SWIG_croak("Type error in argument 6 of new_zCom. Expected _p_SWDisplay");
7685
SWTextEncoding * argp;
7686
if (SWIG_ConvertPtr(ST(6),(void **) &argp, SWIGTYPE_p_SWTextEncoding,0) < 0) {
7687
SWIG_croak("Type error in argument 7 of new_zCom. Expected _p_SWTextEncoding");
7694
SWTextDirection * argp;
7695
if (SWIG_ConvertPtr(ST(7),(void **) &argp, SWIGTYPE_p_SWTextDirection,0) < 0) {
7696
SWIG_croak("Type error in argument 8 of new_zCom. Expected _p_SWTextDirection");
7703
SWTextMarkup * argp;
7704
if (SWIG_ConvertPtr(ST(8),(void **) &argp, SWIGTYPE_p_SWTextMarkup,0) < 0) {
7705
SWIG_croak("Type error in argument 9 of new_zCom. Expected _p_SWTextMarkup");
7711
if (!SvOK((SV*) ST(9))) arg10 = 0;
7712
else arg10 = (char *) SvPV(ST(9), PL_na);
7714
result = (zCom *)new zCom((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,(char const *)arg10);
7716
ST(argvi) = sv_newmortal();
7717
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_zCom,0);
7726
XS(_wrap_delete_zCom) {
7727
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7728
const char *_swigerr = _swigmsg;
7730
zCom *arg1 = (zCom *) 0 ;
7734
if ((items < 1) || (items > 1)) {
7735
SWIG_croak("Usage: delete_zCom(self);");
7738
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_zCom,0) < 0) {
7739
SWIG_croak("Type error in argument 1 of delete_zCom. Expected _p_zCom");
7753
XS(_wrap_zCom_createModule) {
7754
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7755
const char *_swigerr = _swigmsg;
7763
if ((items < 2) || (items > 2)) {
7764
SWIG_croak("Usage: zCom_createModule(path,blockBound);");
7766
if (!SvOK((SV*) ST(0))) arg1 = 0;
7767
else arg1 = (char *) SvPV(ST(0), PL_na);
7768
arg2 = (int) SvIV(ST(1));
7769
result = (char)zCom::createModule((char const *)arg1,arg2);
7771
ST(argvi) = sv_newmortal();
7772
sv_setpvn((SV*)ST(argvi++), &result, 1);
7781
XS(_wrap_new_RawGenBook) {
7782
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7783
const char *_swigerr = _swigmsg;
7786
char *arg2 = (char *) 0 ;
7787
char *arg3 = (char *) 0 ;
7788
SWDisplay *arg4 = (SWDisplay *) 0 ;
7789
SWTextEncoding arg5 = (SWTextEncoding) ENC_UNKNOWN ;
7790
SWTextDirection arg6 = (SWTextDirection) DIRECTION_LTR ;
7791
SWTextMarkup arg7 = (SWTextMarkup) FMT_UNKNOWN ;
7792
char *arg8 = (char *) 0 ;
7797
if ((items < 1) || (items > 8)) {
7798
SWIG_croak("Usage: new_RawGenBook(ipath,iname,idesc,idisp,encoding,dir,markup,ilang);");
7800
if (!SvOK((SV*) ST(0))) arg1 = 0;
7801
else arg1 = (char *) SvPV(ST(0), PL_na);
7803
if (!SvOK((SV*) ST(1))) arg2 = 0;
7804
else arg2 = (char *) SvPV(ST(1), PL_na);
7807
if (!SvOK((SV*) ST(2))) arg3 = 0;
7808
else arg3 = (char *) SvPV(ST(2), PL_na);
7812
if (SWIG_ConvertPtr(ST(3), (void **) &arg4, SWIGTYPE_p_SWDisplay,0) < 0) {
7813
SWIG_croak("Type error in argument 4 of new_RawGenBook. Expected _p_SWDisplay");
7819
SWTextEncoding * argp;
7820
if (SWIG_ConvertPtr(ST(4),(void **) &argp, SWIGTYPE_p_SWTextEncoding,0) < 0) {
7821
SWIG_croak("Type error in argument 5 of new_RawGenBook. Expected _p_SWTextEncoding");
7828
SWTextDirection * argp;
7829
if (SWIG_ConvertPtr(ST(5),(void **) &argp, SWIGTYPE_p_SWTextDirection,0) < 0) {
7830
SWIG_croak("Type error in argument 6 of new_RawGenBook. Expected _p_SWTextDirection");
7837
SWTextMarkup * argp;
7838
if (SWIG_ConvertPtr(ST(6),(void **) &argp, SWIGTYPE_p_SWTextMarkup,0) < 0) {
7839
SWIG_croak("Type error in argument 7 of new_RawGenBook. Expected _p_SWTextMarkup");
7845
if (!SvOK((SV*) ST(7))) arg8 = 0;
7846
else arg8 = (char *) SvPV(ST(7), PL_na);
7848
result = (RawGenBook *)new RawGenBook((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,(char const *)arg8);
7850
ST(argvi) = sv_newmortal();
7851
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_RawGenBook,0);
7860
XS(_wrap_delete_RawGenBook) {
7861
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7862
const char *_swigerr = _swigmsg;
7864
RawGenBook *arg1 = (RawGenBook *) 0 ;
7868
if ((items < 1) || (items > 1)) {
7869
SWIG_croak("Usage: delete_RawGenBook(self);");
7872
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_RawGenBook,0) < 0) {
7873
SWIG_croak("Type error in argument 1 of delete_RawGenBook. Expected _p_RawGenBook");
7887
XS(_wrap_RawGenBook_createModule) {
7888
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7889
const char *_swigerr = _swigmsg;
7896
if ((items < 1) || (items > 1)) {
7897
SWIG_croak("Usage: RawGenBook_createModule(ipath);");
7899
if (!SvOK((SV*) ST(0))) arg1 = 0;
7900
else arg1 = (char *) SvPV(ST(0), PL_na);
7901
result = (char)RawGenBook::createModule((char const *)arg1);
7903
ST(argvi) = sv_newmortal();
7904
sv_setpvn((SV*)ST(argvi++), &result, 1);
7913
XS(_wrap_RawGenBook_getTreeKey) {
7914
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7915
const char *_swigerr = _swigmsg;
7917
RawGenBook *arg1 = (RawGenBook *) 0 ;
7922
if ((items < 1) || (items > 1)) {
7923
SWIG_croak("Usage: RawGenBook_getTreeKey(self);");
7926
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_RawGenBook,0) < 0) {
7927
SWIG_croak("Type error in argument 1 of RawGenBook_getTreeKey. Expected _p_RawGenBook");
7930
result = (TreeKeyIdx *)RawGenBook_getTreeKey(arg1);
7932
ST(argvi) = sv_newmortal();
7933
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_TreeKeyIdx,0);
7942
XS(_wrap_new_SWLD) {
7943
char _swigmsg[SWIG_MAX_ERRMSG] = "";
7944
const char *_swigerr = _swigmsg;
7946
char *arg1 = (char *) 0 ;
7947
char *arg2 = (char *) 0 ;
7948
SWDisplay *arg3 = (SWDisplay *) 0 ;
7949
SWTextEncoding arg4 = (SWTextEncoding) ENC_UNKNOWN ;
7950
SWTextDirection arg5 = (SWTextDirection) DIRECTION_LTR ;
7951
SWTextMarkup arg6 = (SWTextMarkup) FMT_UNKNOWN ;
7952
char *arg7 = (char *) 0 ;
7957
if ((items < 0) || (items > 7)) {
7958
SWIG_croak("Usage: new_SWLD(imodname,imoddesc,idisp,encoding,dir,markup,ilang);");
7961
if (!SvOK((SV*) ST(0))) arg1 = 0;
7962
else arg1 = (char *) SvPV(ST(0), PL_na);
7965
if (!SvOK((SV*) ST(1))) arg2 = 0;
7966
else arg2 = (char *) SvPV(ST(1), PL_na);
7970
if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_SWDisplay,0) < 0) {
7971
SWIG_croak("Type error in argument 3 of new_SWLD. Expected _p_SWDisplay");
7977
SWTextEncoding * argp;
7978
if (SWIG_ConvertPtr(ST(3),(void **) &argp, SWIGTYPE_p_SWTextEncoding,0) < 0) {
7979
SWIG_croak("Type error in argument 4 of new_SWLD. Expected _p_SWTextEncoding");
7986
SWTextDirection * argp;
7987
if (SWIG_ConvertPtr(ST(4),(void **) &argp, SWIGTYPE_p_SWTextDirection,0) < 0) {
7988
SWIG_croak("Type error in argument 5 of new_SWLD. Expected _p_SWTextDirection");
7995
SWTextMarkup * argp;
7996
if (SWIG_ConvertPtr(ST(5),(void **) &argp, SWIGTYPE_p_SWTextMarkup,0) < 0) {
7997
SWIG_croak("Type error in argument 6 of new_SWLD. Expected _p_SWTextMarkup");
8003
if (!SvOK((SV*) ST(6))) arg7 = 0;
8004
else arg7 = (char *) SvPV(ST(6), PL_na);
8006
result = (SWLD *)new SWLD((char const *)arg1,(char const *)arg2,arg3,arg4,arg5,arg6,(char const *)arg7);
8008
ST(argvi) = sv_newmortal();
8009
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWLD,0);
8018
XS(_wrap_delete_SWLD) {
8019
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8020
const char *_swigerr = _swigmsg;
8022
SWLD *arg1 = (SWLD *) 0 ;
8026
if ((items < 1) || (items > 1)) {
8027
SWIG_croak("Usage: delete_SWLD(self);");
8030
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWLD,0) < 0) {
8031
SWIG_croak("Type error in argument 1 of delete_SWLD. Expected _p_SWLD");
8045
XS(_wrap_new_RawLD) {
8046
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8047
const char *_swigerr = _swigmsg;
8050
char *arg2 = (char *) 0 ;
8051
char *arg3 = (char *) 0 ;
8052
SWDisplay *arg4 = (SWDisplay *) 0 ;
8053
SWTextEncoding arg5 = (SWTextEncoding) ENC_UNKNOWN ;
8054
SWTextDirection arg6 = (SWTextDirection) DIRECTION_LTR ;
8055
SWTextMarkup arg7 = (SWTextMarkup) FMT_UNKNOWN ;
8056
char *arg8 = (char *) 0 ;
8061
if ((items < 1) || (items > 8)) {
8062
SWIG_croak("Usage: new_RawLD(ipath,iname,idesc,idisp,encoding,dir,markup,ilang);");
8064
if (!SvOK((SV*) ST(0))) arg1 = 0;
8065
else arg1 = (char *) SvPV(ST(0), PL_na);
8067
if (!SvOK((SV*) ST(1))) arg2 = 0;
8068
else arg2 = (char *) SvPV(ST(1), PL_na);
8071
if (!SvOK((SV*) ST(2))) arg3 = 0;
8072
else arg3 = (char *) SvPV(ST(2), PL_na);
8076
if (SWIG_ConvertPtr(ST(3), (void **) &arg4, SWIGTYPE_p_SWDisplay,0) < 0) {
8077
SWIG_croak("Type error in argument 4 of new_RawLD. Expected _p_SWDisplay");
8083
SWTextEncoding * argp;
8084
if (SWIG_ConvertPtr(ST(4),(void **) &argp, SWIGTYPE_p_SWTextEncoding,0) < 0) {
8085
SWIG_croak("Type error in argument 5 of new_RawLD. Expected _p_SWTextEncoding");
8092
SWTextDirection * argp;
8093
if (SWIG_ConvertPtr(ST(5),(void **) &argp, SWIGTYPE_p_SWTextDirection,0) < 0) {
8094
SWIG_croak("Type error in argument 6 of new_RawLD. Expected _p_SWTextDirection");
8101
SWTextMarkup * argp;
8102
if (SWIG_ConvertPtr(ST(6),(void **) &argp, SWIGTYPE_p_SWTextMarkup,0) < 0) {
8103
SWIG_croak("Type error in argument 7 of new_RawLD. Expected _p_SWTextMarkup");
8109
if (!SvOK((SV*) ST(7))) arg8 = 0;
8110
else arg8 = (char *) SvPV(ST(7), PL_na);
8112
result = (RawLD *)new RawLD((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,(char const *)arg8);
8114
ST(argvi) = sv_newmortal();
8115
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_RawLD,0);
8124
XS(_wrap_delete_RawLD) {
8125
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8126
const char *_swigerr = _swigmsg;
8128
RawLD *arg1 = (RawLD *) 0 ;
8132
if ((items < 1) || (items > 1)) {
8133
SWIG_croak("Usage: delete_RawLD(self);");
8136
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_RawLD,0) < 0) {
8137
SWIG_croak("Type error in argument 1 of delete_RawLD. Expected _p_RawLD");
8151
XS(_wrap_RawLD_createModule) {
8152
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8153
const char *_swigerr = _swigmsg;
8160
if ((items < 1) || (items > 1)) {
8161
SWIG_croak("Usage: RawLD_createModule(path);");
8163
if (!SvOK((SV*) ST(0))) arg1 = 0;
8164
else arg1 = (char *) SvPV(ST(0), PL_na);
8165
result = (char)RawLD::createModule((char const *)arg1);
8167
ST(argvi) = sv_newmortal();
8168
sv_setpvn((SV*)ST(argvi++), &result, 1);
8177
XS(_wrap_new_RawLD4) {
8178
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8179
const char *_swigerr = _swigmsg;
8182
char *arg2 = (char *) 0 ;
8183
char *arg3 = (char *) 0 ;
8184
SWDisplay *arg4 = (SWDisplay *) 0 ;
8185
SWTextEncoding arg5 = (SWTextEncoding) ENC_UNKNOWN ;
8186
SWTextDirection arg6 = (SWTextDirection) DIRECTION_LTR ;
8187
SWTextMarkup arg7 = (SWTextMarkup) FMT_UNKNOWN ;
8188
char *arg8 = (char *) 0 ;
8193
if ((items < 1) || (items > 8)) {
8194
SWIG_croak("Usage: new_RawLD4(ipath,iname,idesc,idisp,encoding,dir,markup,ilang);");
8196
if (!SvOK((SV*) ST(0))) arg1 = 0;
8197
else arg1 = (char *) SvPV(ST(0), PL_na);
8199
if (!SvOK((SV*) ST(1))) arg2 = 0;
8200
else arg2 = (char *) SvPV(ST(1), PL_na);
8203
if (!SvOK((SV*) ST(2))) arg3 = 0;
8204
else arg3 = (char *) SvPV(ST(2), PL_na);
8208
if (SWIG_ConvertPtr(ST(3), (void **) &arg4, SWIGTYPE_p_SWDisplay,0) < 0) {
8209
SWIG_croak("Type error in argument 4 of new_RawLD4. Expected _p_SWDisplay");
8215
SWTextEncoding * argp;
8216
if (SWIG_ConvertPtr(ST(4),(void **) &argp, SWIGTYPE_p_SWTextEncoding,0) < 0) {
8217
SWIG_croak("Type error in argument 5 of new_RawLD4. Expected _p_SWTextEncoding");
8224
SWTextDirection * argp;
8225
if (SWIG_ConvertPtr(ST(5),(void **) &argp, SWIGTYPE_p_SWTextDirection,0) < 0) {
8226
SWIG_croak("Type error in argument 6 of new_RawLD4. Expected _p_SWTextDirection");
8233
SWTextMarkup * argp;
8234
if (SWIG_ConvertPtr(ST(6),(void **) &argp, SWIGTYPE_p_SWTextMarkup,0) < 0) {
8235
SWIG_croak("Type error in argument 7 of new_RawLD4. Expected _p_SWTextMarkup");
8241
if (!SvOK((SV*) ST(7))) arg8 = 0;
8242
else arg8 = (char *) SvPV(ST(7), PL_na);
8244
result = (RawLD4 *)new RawLD4((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,(char const *)arg8);
8246
ST(argvi) = sv_newmortal();
8247
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_RawLD4,0);
8256
XS(_wrap_delete_RawLD4) {
8257
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8258
const char *_swigerr = _swigmsg;
8260
RawLD4 *arg1 = (RawLD4 *) 0 ;
8264
if ((items < 1) || (items > 1)) {
8265
SWIG_croak("Usage: delete_RawLD4(self);");
8268
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_RawLD4,0) < 0) {
8269
SWIG_croak("Type error in argument 1 of delete_RawLD4. Expected _p_RawLD4");
8283
XS(_wrap_RawLD4_createModule) {
8284
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8285
const char *_swigerr = _swigmsg;
8292
if ((items < 1) || (items > 1)) {
8293
SWIG_croak("Usage: RawLD4_createModule(path);");
8295
if (!SvOK((SV*) ST(0))) arg1 = 0;
8296
else arg1 = (char *) SvPV(ST(0), PL_na);
8297
result = (char)RawLD4::createModule((char const *)arg1);
8299
ST(argvi) = sv_newmortal();
8300
sv_setpvn((SV*)ST(argvi++), &result, 1);
8310
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8311
const char *_swigerr = _swigmsg;
8314
char *arg2 = (char *) 0 ;
8315
char *arg3 = (char *) 0 ;
8316
long arg4 = (long) 200 ;
8317
SWCompress *arg5 = (SWCompress *) 0 ;
8318
SWDisplay *arg6 = (SWDisplay *) 0 ;
8319
SWTextEncoding arg7 = (SWTextEncoding) ENC_UNKNOWN ;
8320
SWTextDirection arg8 = (SWTextDirection) DIRECTION_LTR ;
8321
SWTextMarkup arg9 = (SWTextMarkup) FMT_UNKNOWN ;
8322
char *arg10 = (char *) 0 ;
8327
if ((items < 1) || (items > 10)) {
8328
SWIG_croak("Usage: new_zLD(ipath,iname,idesc,blockCount,icomp,idisp,encoding,dir,markup,ilang);");
8330
if (!SvOK((SV*) ST(0))) arg1 = 0;
8331
else arg1 = (char *) SvPV(ST(0), PL_na);
8333
if (!SvOK((SV*) ST(1))) arg2 = 0;
8334
else arg2 = (char *) SvPV(ST(1), PL_na);
8337
if (!SvOK((SV*) ST(2))) arg3 = 0;
8338
else arg3 = (char *) SvPV(ST(2), PL_na);
8341
arg4 = (long) SvIV(ST(3));
8345
if (SWIG_ConvertPtr(ST(4), (void **) &arg5, SWIGTYPE_p_SWCompress,0) < 0) {
8346
SWIG_croak("Type error in argument 5 of new_zLD. Expected _p_SWCompress");
8352
if (SWIG_ConvertPtr(ST(5), (void **) &arg6, SWIGTYPE_p_SWDisplay,0) < 0) {
8353
SWIG_croak("Type error in argument 6 of new_zLD. Expected _p_SWDisplay");
8359
SWTextEncoding * argp;
8360
if (SWIG_ConvertPtr(ST(6),(void **) &argp, SWIGTYPE_p_SWTextEncoding,0) < 0) {
8361
SWIG_croak("Type error in argument 7 of new_zLD. Expected _p_SWTextEncoding");
8368
SWTextDirection * argp;
8369
if (SWIG_ConvertPtr(ST(7),(void **) &argp, SWIGTYPE_p_SWTextDirection,0) < 0) {
8370
SWIG_croak("Type error in argument 8 of new_zLD. Expected _p_SWTextDirection");
8377
SWTextMarkup * argp;
8378
if (SWIG_ConvertPtr(ST(8),(void **) &argp, SWIGTYPE_p_SWTextMarkup,0) < 0) {
8379
SWIG_croak("Type error in argument 9 of new_zLD. Expected _p_SWTextMarkup");
8385
if (!SvOK((SV*) ST(9))) arg10 = 0;
8386
else arg10 = (char *) SvPV(ST(9), PL_na);
8388
result = (zLD *)new zLD((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,(char const *)arg10);
8390
ST(argvi) = sv_newmortal();
8391
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_zLD,0);
8400
XS(_wrap_delete_zLD) {
8401
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8402
const char *_swigerr = _swigmsg;
8404
zLD *arg1 = (zLD *) 0 ;
8408
if ((items < 1) || (items > 1)) {
8409
SWIG_croak("Usage: delete_zLD(self);");
8412
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_zLD,0) < 0) {
8413
SWIG_croak("Type error in argument 1 of delete_zLD. Expected _p_zLD");
8427
XS(_wrap_zLD_createModule) {
8428
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8429
const char *_swigerr = _swigmsg;
8436
if ((items < 1) || (items > 1)) {
8437
SWIG_croak("Usage: zLD_createModule(path);");
8439
if (!SvOK((SV*) ST(0))) arg1 = 0;
8440
else arg1 = (char *) SvPV(ST(0), PL_na);
8441
result = (char)zLD::createModule((char const *)arg1);
8443
ST(argvi) = sv_newmortal();
8444
sv_setpvn((SV*)ST(argvi++), &result, 1);
8453
XS(_wrap_new_SWCompress) {
8454
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8455
const char *_swigerr = _swigmsg;
8461
if ((items < 0) || (items > 0)) {
8462
SWIG_croak("Usage: new_SWCompress();");
8464
result = (SWCompress *)new SWCompress();
8466
ST(argvi) = sv_newmortal();
8467
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWCompress,0);
8476
XS(_wrap_delete_SWCompress) {
8477
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8478
const char *_swigerr = _swigmsg;
8480
SWCompress *arg1 = (SWCompress *) 0 ;
8484
if ((items < 1) || (items > 1)) {
8485
SWIG_croak("Usage: delete_SWCompress(self);");
8488
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWCompress,0) < 0) {
8489
SWIG_croak("Type error in argument 1 of delete_SWCompress. Expected _p_SWCompress");
8503
XS(_wrap_SWCompress_Buf) {
8504
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8505
const char *_swigerr = _swigmsg;
8507
SWCompress *arg1 = (SWCompress *) 0 ;
8508
char *arg2 = (char *) 0 ;
8509
unsigned long *arg3 = (unsigned long *) 0 ;
8514
if ((items < 1) || (items > 3)) {
8515
SWIG_croak("Usage: SWCompress_Buf(self,buf,len);");
8518
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWCompress,0) < 0) {
8519
SWIG_croak("Type error in argument 1 of SWCompress_Buf. Expected _p_SWCompress");
8523
if (!SvOK((SV*) ST(1))) arg2 = 0;
8524
else arg2 = (char *) SvPV(ST(1), PL_na);
8528
if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_unsigned_long,0) < 0) {
8529
SWIG_croak("Type error in argument 3 of SWCompress_Buf. Expected _p_unsigned_long");
8533
result = (char *)(arg1)->Buf((char const *)arg2,arg3);
8535
ST(argvi) = sv_newmortal();
8537
sv_setpv((SV*)ST(argvi++), (char *) result);
8539
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
8549
XS(_wrap_SWCompress_zBuf) {
8550
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8551
const char *_swigerr = _swigmsg;
8553
SWCompress *arg1 = (SWCompress *) 0 ;
8554
unsigned long *arg2 = (unsigned long *) 0 ;
8555
char *arg3 = (char *) 0 ;
8560
if ((items < 2) || (items > 3)) {
8561
SWIG_croak("Usage: SWCompress_zBuf(self,len,buf);");
8564
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWCompress,0) < 0) {
8565
SWIG_croak("Type error in argument 1 of SWCompress_zBuf. Expected _p_SWCompress");
8569
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_unsigned_long,0) < 0) {
8570
SWIG_croak("Type error in argument 2 of SWCompress_zBuf. Expected _p_unsigned_long");
8574
if (!SvOK((SV*) ST(2))) arg3 = 0;
8575
else arg3 = (char *) SvPV(ST(2), PL_na);
8577
result = (char *)(arg1)->zBuf(arg2,arg3);
8579
ST(argvi) = sv_newmortal();
8581
sv_setpv((SV*)ST(argvi++), (char *) result);
8583
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
8593
XS(_wrap_SWCompress_GetChars) {
8594
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8595
const char *_swigerr = _swigmsg;
8597
SWCompress *arg1 = (SWCompress *) 0 ;
8599
unsigned long arg3 ;
8600
unsigned long result;
8604
if ((items < 3) || (items > 3)) {
8605
SWIG_croak("Usage: SWCompress_GetChars(self,buf,len);");
8608
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWCompress,0) < 0) {
8609
SWIG_croak("Type error in argument 1 of SWCompress_GetChars. Expected _p_SWCompress");
8612
if (!SvOK((SV*) ST(1))) arg2 = 0;
8613
else arg2 = (char *) SvPV(ST(1), PL_na);
8614
arg3 = (unsigned long) SvUV(ST(2));
8615
result = (unsigned long)(arg1)->GetChars(arg2,arg3);
8617
ST(argvi) = sv_newmortal();
8618
sv_setuv(ST(argvi++), (UV) result);
8627
XS(_wrap_SWCompress_SendChars) {
8628
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8629
const char *_swigerr = _swigmsg;
8631
SWCompress *arg1 = (SWCompress *) 0 ;
8633
unsigned long arg3 ;
8634
unsigned long result;
8638
if ((items < 3) || (items > 3)) {
8639
SWIG_croak("Usage: SWCompress_SendChars(self,buf,len);");
8642
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWCompress,0) < 0) {
8643
SWIG_croak("Type error in argument 1 of SWCompress_SendChars. Expected _p_SWCompress");
8646
if (!SvOK((SV*) ST(1))) arg2 = 0;
8647
else arg2 = (char *) SvPV(ST(1), PL_na);
8648
arg3 = (unsigned long) SvUV(ST(2));
8649
result = (unsigned long)(arg1)->SendChars(arg2,arg3);
8651
ST(argvi) = sv_newmortal();
8652
sv_setuv(ST(argvi++), (UV) result);
8661
XS(_wrap_SWCompress_Encode) {
8662
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8663
const char *_swigerr = _swigmsg;
8665
SWCompress *arg1 = (SWCompress *) 0 ;
8669
if ((items < 1) || (items > 1)) {
8670
SWIG_croak("Usage: SWCompress_Encode(self);");
8673
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWCompress,0) < 0) {
8674
SWIG_croak("Type error in argument 1 of SWCompress_Encode. Expected _p_SWCompress");
8688
XS(_wrap_SWCompress_Decode) {
8689
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8690
const char *_swigerr = _swigmsg;
8692
SWCompress *arg1 = (SWCompress *) 0 ;
8696
if ((items < 1) || (items > 1)) {
8697
SWIG_croak("Usage: SWCompress_Decode(self);");
8700
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWCompress,0) < 0) {
8701
SWIG_croak("Type error in argument 1 of SWCompress_Decode. Expected _p_SWCompress");
8715
XS(_wrap_new_LZSSCompress) {
8716
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8717
const char *_swigerr = _swigmsg;
8719
LZSSCompress *result;
8723
if ((items < 0) || (items > 0)) {
8724
SWIG_croak("Usage: new_LZSSCompress();");
8726
result = (LZSSCompress *)new LZSSCompress();
8728
ST(argvi) = sv_newmortal();
8729
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_LZSSCompress,0);
8738
XS(_wrap_delete_LZSSCompress) {
8739
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8740
const char *_swigerr = _swigmsg;
8742
LZSSCompress *arg1 = (LZSSCompress *) 0 ;
8746
if ((items < 1) || (items > 1)) {
8747
SWIG_croak("Usage: delete_LZSSCompress(self);");
8750
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_LZSSCompress,0) < 0) {
8751
SWIG_croak("Type error in argument 1 of delete_LZSSCompress. Expected _p_LZSSCompress");
8765
XS(_wrap_LZSSCompress_Encode) {
8766
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8767
const char *_swigerr = _swigmsg;
8769
LZSSCompress *arg1 = (LZSSCompress *) 0 ;
8773
if ((items < 1) || (items > 1)) {
8774
SWIG_croak("Usage: LZSSCompress_Encode(self);");
8777
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_LZSSCompress,0) < 0) {
8778
SWIG_croak("Type error in argument 1 of LZSSCompress_Encode. Expected _p_LZSSCompress");
8792
XS(_wrap_LZSSCompress_Decode) {
8793
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8794
const char *_swigerr = _swigmsg;
8796
LZSSCompress *arg1 = (LZSSCompress *) 0 ;
8800
if ((items < 1) || (items > 1)) {
8801
SWIG_croak("Usage: LZSSCompress_Decode(self);");
8804
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_LZSSCompress,0) < 0) {
8805
SWIG_croak("Type error in argument 1 of LZSSCompress_Decode. Expected _p_LZSSCompress");
8819
XS(_wrap_new_ZipCompress) {
8820
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8821
const char *_swigerr = _swigmsg;
8823
ZipCompress *result;
8827
if ((items < 0) || (items > 0)) {
8828
SWIG_croak("Usage: new_ZipCompress();");
8830
result = (ZipCompress *)new ZipCompress();
8832
ST(argvi) = sv_newmortal();
8833
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_ZipCompress,0);
8842
XS(_wrap_delete_ZipCompress) {
8843
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8844
const char *_swigerr = _swigmsg;
8846
ZipCompress *arg1 = (ZipCompress *) 0 ;
8850
if ((items < 1) || (items > 1)) {
8851
SWIG_croak("Usage: delete_ZipCompress(self);");
8854
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ZipCompress,0) < 0) {
8855
SWIG_croak("Type error in argument 1 of delete_ZipCompress. Expected _p_ZipCompress");
8869
XS(_wrap_ZipCompress_Encode) {
8870
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8871
const char *_swigerr = _swigmsg;
8873
ZipCompress *arg1 = (ZipCompress *) 0 ;
8877
if ((items < 1) || (items > 1)) {
8878
SWIG_croak("Usage: ZipCompress_Encode(self);");
8881
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ZipCompress,0) < 0) {
8882
SWIG_croak("Type error in argument 1 of ZipCompress_Encode. Expected _p_ZipCompress");
8896
XS(_wrap_ZipCompress_Decode) {
8897
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8898
const char *_swigerr = _swigmsg;
8900
ZipCompress *arg1 = (ZipCompress *) 0 ;
8904
if ((items < 1) || (items > 1)) {
8905
SWIG_croak("Usage: ZipCompress_Decode(self);");
8908
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_ZipCompress,0) < 0) {
8909
SWIG_croak("Type error in argument 1 of ZipCompress_Decode. Expected _p_ZipCompress");
8923
XS(_wrap_new_SWBuf__SWIG_0) {
8924
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8925
const char *_swigerr = _swigmsg;
8927
char *arg1 = (char *) 0 ;
8932
if ((items < 0) || (items > 1)) {
8933
SWIG_croak("Usage: new_SWBuf(initVal);");
8936
if (!SvOK((SV*) ST(0))) arg1 = 0;
8937
else arg1 = (char *) SvPV(ST(0), PL_na);
8939
result = (SWBuf *)new SWBuf((char const *)arg1);
8941
ST(argvi) = sv_newmortal();
8942
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWBuf,0);
8951
XS(_wrap_new_SWBuf__SWIG_1) {
8952
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8953
const char *_swigerr = _swigmsg;
8960
if ((items < 1) || (items > 1)) {
8961
SWIG_croak("Usage: new_SWBuf(initVal);");
8963
arg1 = (char) *SvPV(ST(0),PL_na);
8964
result = (SWBuf *)new SWBuf(arg1);
8966
ST(argvi) = sv_newmortal();
8967
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWBuf,0);
8976
XS(_wrap_new_SWBuf__SWIG_2) {
8977
char _swigmsg[SWIG_MAX_ERRMSG] = "";
8978
const char *_swigerr = _swigmsg;
8985
if ((items < 1) || (items > 1)) {
8986
SWIG_croak("Usage: new_SWBuf(other);");
8989
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWBuf,0) < 0) {
8990
SWIG_croak("Type error in argument 1 of new_SWBuf. Expected _p_SWBuf");
8993
result = (SWBuf *)new SWBuf((SWBuf const &)*arg1);
8995
ST(argvi) = sv_newmortal();
8996
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SWBuf,0);
9005
XS(_wrap_new_SWBuf) {
9008
if ((items >= 0) && (items <= 1)) {
9011
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_SWBuf__SWIG_0); return;
9014
_v = SvPOK(ST(0)) ? 1 : 0;
9017
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_SWBuf__SWIG_0); return;
9024
if (SWIG_ConvertPtr(ST(0), (void **) &tmp, SWIGTYPE_p_SWBuf, 0) == -1) {
9031
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_SWBuf__SWIG_2); return;
9037
_v = SvPOK(ST(0)) ? 1 : 0;
9040
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_new_SWBuf__SWIG_1); return;
9044
croak("No matching function for overloaded 'new_SWBuf'");
9049
XS(_wrap_delete_SWBuf) {
9050
char _swigmsg[SWIG_MAX_ERRMSG] = "";
9051
const char *_swigerr = _swigmsg;
9053
SWBuf *arg1 = (SWBuf *) 0 ;
9057
if ((items < 1) || (items > 1)) {
9058
SWIG_croak("Usage: delete_SWBuf(self);");
9061
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWBuf,0) < 0) {
9062
SWIG_croak("Type error in argument 1 of delete_SWBuf. Expected _p_SWBuf");
9076
XS(_wrap_SWBuf_setFillByte) {
9077
char _swigmsg[SWIG_MAX_ERRMSG] = "";
9078
const char *_swigerr = _swigmsg;
9080
SWBuf *arg1 = (SWBuf *) 0 ;
9085
if ((items < 2) || (items > 2)) {
9086
SWIG_croak("Usage: SWBuf_setFillByte(self,ch);");
9089
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWBuf,0) < 0) {
9090
SWIG_croak("Type error in argument 1 of SWBuf_setFillByte. Expected _p_SWBuf");
9093
arg2 = (char) *SvPV(ST(1),PL_na);
9094
(arg1)->setFillByte(arg2);
9105
XS(_wrap_SWBuf_getFillByte) {
9106
char _swigmsg[SWIG_MAX_ERRMSG] = "";
9107
const char *_swigerr = _swigmsg;
9109
SWBuf *arg1 = (SWBuf *) 0 ;
9114
if ((items < 1) || (items > 1)) {
9115
SWIG_croak("Usage: SWBuf_getFillByte(self);");
9118
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWBuf,0) < 0) {
9119
SWIG_croak("Type error in argument 1 of SWBuf_getFillByte. Expected _p_SWBuf");
9122
result = (char)(arg1)->getFillByte();
9124
ST(argvi) = sv_newmortal();
9125
sv_setpvn((SV*)ST(argvi++), &result, 1);
9134
XS(_wrap_SWBuf_c_str) {
9135
char _swigmsg[SWIG_MAX_ERRMSG] = "";
9136
const char *_swigerr = _swigmsg;
9138
SWBuf *arg1 = (SWBuf *) 0 ;
9143
if ((items < 1) || (items > 1)) {
9144
SWIG_croak("Usage: SWBuf_c_str(self);");
9147
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWBuf,0) < 0) {
9148
SWIG_croak("Type error in argument 1 of SWBuf_c_str. Expected _p_SWBuf");
9151
result = (char *)((SWBuf const *)arg1)->c_str();
9153
ST(argvi) = sv_newmortal();
9155
sv_setpv((SV*)ST(argvi++), (char *) result);
9157
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
9167
XS(_wrap_SWBuf_charAt) {
9168
char _swigmsg[SWIG_MAX_ERRMSG] = "";
9169
const char *_swigerr = _swigmsg;
9171
SWBuf *arg1 = (SWBuf *) 0 ;
9177
if ((items < 2) || (items > 2)) {
9178
SWIG_croak("Usage: SWBuf_charAt(self,pos);");
9181
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWBuf,0) < 0) {
9182
SWIG_croak("Type error in argument 1 of SWBuf_charAt. Expected _p_SWBuf");
9185
arg2 = (unsigned int) SvUV(ST(1));
9187
char &_result_ref = (arg1)->charAt(arg2);
9188
result = (char *) &_result_ref;
9191
ST(argvi) = sv_newmortal();
9192
SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_char,0);
9201
XS(_wrap_SWBuf_size) {
9202
char _swigmsg[SWIG_MAX_ERRMSG] = "";
9203
const char *_swigerr = _swigmsg;
9205
SWBuf *arg1 = (SWBuf *) 0 ;
9206
unsigned int result;
9210
if ((items < 1) || (items > 1)) {
9211
SWIG_croak("Usage: SWBuf_size(self);");
9214
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWBuf,0) < 0) {
9215
SWIG_croak("Type error in argument 1 of SWBuf_size. Expected _p_SWBuf");
9218
result = (unsigned int)((SWBuf const *)arg1)->size();
9220
ST(argvi) = sv_newmortal();
9221
sv_setuv(ST(argvi++), (UV) result);
9230
XS(_wrap_SWBuf_length) {
9231
char _swigmsg[SWIG_MAX_ERRMSG] = "";
9232
const char *_swigerr = _swigmsg;
9234
SWBuf *arg1 = (SWBuf *) 0 ;
9235
unsigned int result;
9239
if ((items < 1) || (items > 1)) {
9240
SWIG_croak("Usage: SWBuf_length(self);");
9243
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWBuf,0) < 0) {
9244
SWIG_croak("Type error in argument 1 of SWBuf_length. Expected _p_SWBuf");
9247
result = (unsigned int)((SWBuf const *)arg1)->length();
9249
ST(argvi) = sv_newmortal();
9250
sv_setuv(ST(argvi++), (UV) result);
9259
XS(_wrap_SWBuf_set__SWIG_0) {
9260
char _swigmsg[SWIG_MAX_ERRMSG] = "";
9261
const char *_swigerr = _swigmsg;
9263
SWBuf *arg1 = (SWBuf *) 0 ;
9268
if ((items < 2) || (items > 2)) {
9269
SWIG_croak("Usage: SWBuf_set(self,newVal);");
9272
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWBuf,0) < 0) {
9273
SWIG_croak("Type error in argument 1 of SWBuf_set. Expected _p_SWBuf");
9276
if (!SvOK((SV*) ST(1))) arg2 = 0;
9277
else arg2 = (char *) SvPV(ST(1), PL_na);
9278
(arg1)->set((char const *)arg2);
9289
XS(_wrap_SWBuf_set__SWIG_1) {
9290
char _swigmsg[SWIG_MAX_ERRMSG] = "";
9291
const char *_swigerr = _swigmsg;
9293
SWBuf *arg1 = (SWBuf *) 0 ;
9298
if ((items < 2) || (items > 2)) {
9299
SWIG_croak("Usage: SWBuf_set(self,newVal);");
9302
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWBuf,0) < 0) {
9303
SWIG_croak("Type error in argument 1 of SWBuf_set. Expected _p_SWBuf");
9307
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_SWBuf,0) < 0) {
9308
SWIG_croak("Type error in argument 2 of SWBuf_set. Expected _p_SWBuf");
9311
(arg1)->set((SWBuf const &)*arg2);
9322
XS(_wrap_SWBuf_set) {
9329
if (SWIG_ConvertPtr(ST(0), (void **) &tmp, SWIGTYPE_p_SWBuf, 0) == -1) {
9338
if (SWIG_ConvertPtr(ST(1), (void **) &tmp, SWIGTYPE_p_SWBuf, 0) == -1) {
9345
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_SWBuf_set__SWIG_1); return;
9353
if (SWIG_ConvertPtr(ST(0), (void **) &tmp, SWIGTYPE_p_SWBuf, 0) == -1) {
9361
_v = SvPOK(ST(1)) ? 1 : 0;
9364
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_SWBuf_set__SWIG_0); return;
9369
croak("No matching function for overloaded 'SWBuf_set'");
9374
XS(_wrap_SWBuf_setSize) {
9375
char _swigmsg[SWIG_MAX_ERRMSG] = "";
9376
const char *_swigerr = _swigmsg;
9378
SWBuf *arg1 = (SWBuf *) 0 ;
9383
if ((items < 2) || (items > 2)) {
9384
SWIG_croak("Usage: SWBuf_setSize(self,len);");
9387
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWBuf,0) < 0) {
9388
SWIG_croak("Type error in argument 1 of SWBuf_setSize. Expected _p_SWBuf");
9391
arg2 = (unsigned int) SvUV(ST(1));
9392
(arg1)->setSize(arg2);
9403
XS(_wrap_SWBuf_append__SWIG_0) {
9404
char _swigmsg[SWIG_MAX_ERRMSG] = "";
9405
const char *_swigerr = _swigmsg;
9407
SWBuf *arg1 = (SWBuf *) 0 ;
9409
int arg3 = (int) -1 ;
9413
if ((items < 2) || (items > 3)) {
9414
SWIG_croak("Usage: SWBuf_append(self,str,max);");
9417
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWBuf,0) < 0) {
9418
SWIG_croak("Type error in argument 1 of SWBuf_append. Expected _p_SWBuf");
9421
if (!SvOK((SV*) ST(1))) arg2 = 0;
9422
else arg2 = (char *) SvPV(ST(1), PL_na);
9424
arg3 = (int) SvIV(ST(2));
9426
(arg1)->append((char const *)arg2,arg3);
9437
XS(_wrap_SWBuf_append__SWIG_1) {
9438
char _swigmsg[SWIG_MAX_ERRMSG] = "";
9439
const char *_swigerr = _swigmsg;
9441
SWBuf *arg1 = (SWBuf *) 0 ;
9443
int arg3 = (int) -1 ;
9447
if ((items < 2) || (items > 3)) {
9448
SWIG_croak("Usage: SWBuf_append(self,str,max);");
9451
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWBuf,0) < 0) {
9452
SWIG_croak("Type error in argument 1 of SWBuf_append. Expected _p_SWBuf");
9456
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_SWBuf,0) < 0) {
9457
SWIG_croak("Type error in argument 2 of SWBuf_append. Expected _p_SWBuf");
9461
arg3 = (int) SvIV(ST(2));
9463
(arg1)->append((SWBuf const &)*arg2,arg3);
9474
XS(_wrap_SWBuf_append__SWIG_2) {
9475
char _swigmsg[SWIG_MAX_ERRMSG] = "";
9476
const char *_swigerr = _swigmsg;
9478
SWBuf *arg1 = (SWBuf *) 0 ;
9483
if ((items < 2) || (items > 2)) {
9484
SWIG_croak("Usage: SWBuf_append(self,ch);");
9487
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWBuf,0) < 0) {
9488
SWIG_croak("Type error in argument 1 of SWBuf_append. Expected _p_SWBuf");
9491
arg2 = (char) *SvPV(ST(1),PL_na);
9492
(arg1)->append(arg2);
9503
XS(_wrap_SWBuf_append) {
9506
if ((items >= 2) && (items <= 3)) {
9510
if (SWIG_ConvertPtr(ST(0), (void **) &tmp, SWIGTYPE_p_SWBuf, 0) == -1) {
9519
if (SWIG_ConvertPtr(ST(1), (void **) &tmp, SWIGTYPE_p_SWBuf, 0) == -1) {
9527
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_SWBuf_append__SWIG_1); return;
9530
_v = SvIOK(ST(2)) ? 1 : 0;
9533
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_SWBuf_append__SWIG_1); return;
9542
if (SWIG_ConvertPtr(ST(0), (void **) &tmp, SWIGTYPE_p_SWBuf, 0) == -1) {
9550
_v = SvPOK(ST(1)) ? 1 : 0;
9553
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_SWBuf_append__SWIG_2); return;
9557
if ((items >= 2) && (items <= 3)) {
9561
if (SWIG_ConvertPtr(ST(0), (void **) &tmp, SWIGTYPE_p_SWBuf, 0) == -1) {
9569
_v = SvPOK(ST(1)) ? 1 : 0;
9573
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_SWBuf_append__SWIG_0); return;
9576
_v = SvIOK(ST(2)) ? 1 : 0;
9579
(*PL_markstack_ptr++);SWIG_CALLXS(_wrap_SWBuf_append__SWIG_0); return;
9585
croak("No matching function for overloaded 'SWBuf_append'");
9590
XS(_wrap_SWBuf_appendFormatted) {
9591
char _swigmsg[SWIG_MAX_ERRMSG] = "";
9592
const char *_swigerr = _swigmsg;
9594
SWBuf *arg1 = (SWBuf *) 0 ;
9601
SWIG_croak("Usage: SWBuf_appendFormatted(self,format,...);");
9604
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWBuf,0) < 0) {
9605
SWIG_croak("Type error in argument 1 of SWBuf_appendFormatted. Expected _p_SWBuf");
9608
if (!SvOK((SV*) ST(1))) arg2 = 0;
9609
else arg2 = (char *) SvPV(ST(1), PL_na);
9610
(arg1)->appendFormatted((char const *)arg2,arg3);
9621
XS(_wrap_SWBuf_getRawData) {
9622
char _swigmsg[SWIG_MAX_ERRMSG] = "";
9623
const char *_swigerr = _swigmsg;
9625
SWBuf *arg1 = (SWBuf *) 0 ;
9630
if ((items < 1) || (items > 1)) {
9631
SWIG_croak("Usage: SWBuf_getRawData(self);");
9634
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWBuf,0) < 0) {
9635
SWIG_croak("Type error in argument 1 of SWBuf_getRawData. Expected _p_SWBuf");
9638
result = (char *)(arg1)->getRawData();
9640
ST(argvi) = sv_newmortal();
9642
sv_setpv((SV*)ST(argvi++), (char *) result);
9644
sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
9654
XS(_wrap_SWBuf_compare) {
9655
char _swigmsg[SWIG_MAX_ERRMSG] = "";
9656
const char *_swigerr = _swigmsg;
9658
SWBuf *arg1 = (SWBuf *) 0 ;
9664
if ((items < 2) || (items > 2)) {
9665
SWIG_croak("Usage: SWBuf_compare(self,other);");
9668
if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_SWBuf,0) < 0) {
9669
SWIG_croak("Type error in argument 1 of SWBuf_compare. Expected _p_SWBuf");
9673
if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_SWBuf,0) < 0) {
9674
SWIG_croak("Type error in argument 2 of SWBuf_compare. Expected _p_SWBuf");
9677
result = (int)((SWBuf const *)arg1)->compare((SWBuf const &)*arg2);
9679
ST(argvi) = sv_newmortal();
9680
sv_setiv(ST(argvi++), (IV) result);
9690
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
9692
static void *_p_zComTo_p_SWCom(void *x) {
9693
return (void *)((SWCom *) ((zCom *) x));
9695
static void *_p_RawComTo_p_SWCom(void *x) {
9696
return (void *)((SWCom *) ((RawCom *) x));
9698
static void *_p_TreeKeyIdxTo_p_TreeKey(void *x) {
9699
return (void *)((TreeKey *) ((TreeKeyIdx *) x));
9701
static void *_p_RawTextTo_p_SWText(void *x) {
9702
return (void *)((SWText *) ((RawText *) x));
9704
static void *_p_zTextTo_p_SWText(void *x) {
9705
return (void *)((SWText *) ((zText *) x));
9707
static void *_p_ListKeyTo_p_SWKey(void *x) {
9708
return (void *)((SWKey *) ((ListKey *) x));
9710
static void *_p_TreeKeyIdxTo_p_SWKey(void *x) {
9711
return (void *)((SWKey *) (TreeKey *) ((TreeKeyIdx *) x));
9713
static void *_p_VerseKeyTo_p_SWKey(void *x) {
9714
return (void *)((SWKey *) ((VerseKey *) x));
9716
static void *_p_TreeKeyTo_p_SWKey(void *x) {
9717
return (void *)((SWKey *) ((TreeKey *) x));
9719
static void *_p_LZSSCompressTo_p_SWCompress(void *x) {
9720
return (void *)((SWCompress *) ((LZSSCompress *) x));
9722
static void *_p_ZipCompressTo_p_SWCompress(void *x) {
9723
return (void *)((SWCompress *) ((ZipCompress *) x));
9725
static void *_p_SWComTo_p_SWModule(void *x) {
9726
return (void *)((SWModule *) ((SWCom *) x));
9728
static void *_p_zLDTo_p_SWModule(void *x) {
9729
return (void *)((SWModule *) (SWLD *) ((zLD *) x));
9731
static void *_p_SWTextTo_p_SWModule(void *x) {
9732
return (void *)((SWModule *) ((SWText *) x));
9734
static void *_p_SWGenBookTo_p_SWModule(void *x) {
9735
return (void *)((SWModule *) ((SWGenBook *) x));
9737
static void *_p_RawGenBookTo_p_SWModule(void *x) {
9738
return (void *)((SWModule *) (SWGenBook *) ((RawGenBook *) x));
9740
static void *_p_RawTextTo_p_SWModule(void *x) {
9741
return (void *)((SWModule *) (SWText *) ((RawText *) x));
9743
static void *_p_zComTo_p_SWModule(void *x) {
9744
return (void *)((SWModule *) (SWCom *) ((zCom *) x));
9746
static void *_p_RawLD4To_p_SWModule(void *x) {
9747
return (void *)((SWModule *) (SWLD *) ((RawLD4 *) x));
9749
static void *_p_zTextTo_p_SWModule(void *x) {
9750
return (void *)((SWModule *) (SWText *) ((zText *) x));
9752
static void *_p_RawComTo_p_SWModule(void *x) {
9753
return (void *)((SWModule *) (SWCom *) ((RawCom *) x));
9755
static void *_p_SWLDTo_p_SWModule(void *x) {
9756
return (void *)((SWModule *) ((SWLD *) x));
9758
static void *_p_RawLDTo_p_SWModule(void *x) {
9759
return (void *)((SWModule *) (SWLD *) ((RawLD *) x));
9761
static void *_p_RawGenBookTo_p_SWGenBook(void *x) {
9762
return (void *)((SWGenBook *) ((RawGenBook *) x));
9764
static void *_p_zLDTo_p_SWLD(void *x) {
9765
return (void *)((SWLD *) ((zLD *) x));
9767
static void *_p_RawLD4To_p_SWLD(void *x) {
9768
return (void *)((SWLD *) ((RawLD4 *) x));
9770
static void *_p_RawLDTo_p_SWLD(void *x) {
9771
return (void *)((SWLD *) ((RawLD *) x));
9773
static swig_type_info _swigt__p_SWLocale[] = {{"_p_SWLocale", 0, "SWLocale *", 0},{"_p_SWLocale"},{0}};
9774
static swig_type_info _swigt__p_SWMgr[] = {{"Sword::SWMgr", 0, "SWMgr *", 0},{"Sword::SWMgr"},{0}};
9775
static swig_type_info _swigt__p_SWCom[] = {{"Sword::SWCom", 0, "SWCom *", 0},{"Sword::zCom", _p_zComTo_p_SWCom},{"Sword::SWCom"},{"Sword::RawCom", _p_RawComTo_p_SWCom},{0}};
9776
static swig_type_info _swigt__p_RawLD4[] = {{"Sword::RawLD4", 0, "RawLD4 *", 0},{"Sword::RawLD4"},{0}};
9777
static swig_type_info _swigt__p_ListKey[] = {{"Sword::ListKey", 0, "ListKey *", 0},{"Sword::ListKey"},{0}};
9778
static swig_type_info _swigt__p_SWKey[] = {{"Sword::SWKey", 0, "SWKey *", 0},{"Sword::SWKey"},{"Sword::ListKey", _p_ListKeyTo_p_SWKey},{"Sword::TreeKeyIdx", _p_TreeKeyIdxTo_p_SWKey},{"Sword::VerseKey", _p_VerseKeyTo_p_SWKey},{"Sword::TreeKey", _p_TreeKeyTo_p_SWKey},{0}};
9779
static swig_type_info _swigt__p_ConfigEntMap[] = {{"_p_ConfigEntMap", 0, "ConfigEntMap *", 0},{"_p_ConfigEntMap"},{0}};
9780
static swig_type_info _swigt__p_p_char[] = {{"_p_p_char", 0, "char **", 0},{"_p_p_char"},{0}};
9781
static swig_type_info _swigt__p_RawLD[] = {{"Sword::RawLD", 0, "RawLD *", 0},{"Sword::RawLD"},{0}};
9782
static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
9783
static swig_type_info _swigt__p_TreeKey[] = {{"Sword::TreeKey", 0, "TreeKey *", 0},{"Sword::TreeKeyIdx", _p_TreeKeyIdxTo_p_TreeKey},{"Sword::TreeKey"},{0}};
9784
static swig_type_info _swigt__p_StringList[] = {{"_p_StringList", 0, "StringList *", 0},{"_p_StringList"},{0}};
9785
static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
9786
static swig_type_info _swigt__p_SWFilterMgr[] = {{"Sword::SWFilterMgr", 0, "SWFilterMgr *", 0},{"Sword::SWFilterMgr"},{0}};
9787
static swig_type_info _swigt__p_SWLD[] = {{"Sword::SWLD", 0, "SWLD *", 0},{"Sword::zLD", _p_zLDTo_p_SWLD},{"Sword::SWLD"},{"Sword::RawLD4", _p_RawLD4To_p_SWLD},{"Sword::RawLD", _p_RawLDTo_p_SWLD},{0}};
9788
static swig_type_info _swigt__p_SWTextDirection[] = {{"_p_SWTextDirection", 0, "SWTextDirection *", 0},{"_p_SWTextDirection"},{0}};
9789
static swig_type_info _swigt__p_RawText[] = {{"Sword::RawText", 0, "RawText *", 0},{"Sword::RawText"},{0}};
9790
static swig_type_info _swigt__p_f_char_p_void__void[] = {{"_p_f_char_p_void__void", 0, "void (*)(char,void *)", 0},{"_p_f_char_p_void__void"},{0}};
9791
static swig_type_info _swigt__p_VerseKey[] = {{"Sword::VerseKey", 0, "VerseKey *", 0},{"Sword::VerseKey"},{0}};
9792
static swig_type_info _swigt__p_SWBuf[] = {{"Sword::SWBuf", 0, "SWBuf *", 0},{"Sword::SWBuf"},{0}};
9793
static swig_type_info _swigt__p_ModMap[] = {{"_p_ModMap", 0, "ModMap *", 0},{"_p_ModMap"},{0}};
9794
static swig_type_info _swigt__p_zCom[] = {{"Sword::zCom", 0, "zCom *", 0},{"Sword::zCom"},{0}};
9795
static swig_type_info _swigt__p_SectionMap[] = {{"_p_SectionMap", 0, "SectionMap *", 0},{"_p_SectionMap"},{0}};
9796
static swig_type_info _swigt__p_SWDisplay[] = {{"_p_SWDisplay", 0, "SWDisplay *", 0},{"_p_SWDisplay"},{0}};
9797
static swig_type_info _swigt__p_AttributeTypeList[] = {{"_p_AttributeTypeList", 0, "AttributeTypeList *", 0},{"_p_AttributeTypeList"},{0}};
9798
static swig_type_info _swigt__p_SWText[] = {{"Sword::SWText", 0, "SWText *", 0},{"Sword::SWText"},{"Sword::RawText", _p_RawTextTo_p_SWText},{"Sword::zText", _p_zTextTo_p_SWText},{0}};
9799
static swig_type_info _swigt__p_std__listTSWBuf_t[] = {{"_p_std__listTSWBuf_t", 0, "std::list<SWBuf > *", 0},{"_p_std__listTSWBuf_t"},{0}};
9800
static swig_type_info _swigt__p_TreeKeyIdx[] = {{"Sword::TreeKeyIdx", 0, "TreeKeyIdx *", 0},{"Sword::TreeKeyIdx"},{0}};
9801
static swig_type_info _swigt__p_SWCompress[] = {{"Sword::SWCompress", 0, "SWCompress *", 0},{"Sword::SWCompress"},{"Sword::LZSSCompress", _p_LZSSCompressTo_p_SWCompress},{"Sword::ZipCompress", _p_ZipCompressTo_p_SWCompress},{0}};
9802
static swig_type_info _swigt__p_LZSSCompress[] = {{"Sword::LZSSCompress", 0, "LZSSCompress *", 0},{"Sword::LZSSCompress"},{0}};
9803
static swig_type_info _swigt__p_ZipCompress[] = {{"Sword::ZipCompress", 0, "ZipCompress *", 0},{"Sword::ZipCompress"},{0}};
9804
static swig_type_info _swigt__p_SW_POSITION[] = {{"Sword::SW_POSITION", 0, "SW_POSITION *", 0},{"Sword::SW_POSITION"},{0}};
9805
static swig_type_info _swigt__p_SWModule[] = {{"Sword::SWModule", 0, "SWModule *", 0},{"Sword::SWModule"},{"Sword::SWGenBook", _p_SWGenBookTo_p_SWModule},{"Sword::RawGenBook", _p_RawGenBookTo_p_SWModule},{"Sword::SWText", _p_SWTextTo_p_SWModule},{"Sword::RawText", _p_RawTextTo_p_SWModule},{"Sword::zLD", _p_zLDTo_p_SWModule},{"Sword::zCom", _p_zComTo_p_SWModule},{"Sword::zText", _p_zTextTo_p_SWModule},{"Sword::RawLD4", _p_RawLD4To_p_SWModule},{"Sword::SWLD", _p_SWLDTo_p_SWModule},{"Sword::RawLD", _p_RawLDTo_p_SWModule},{"Sword::SWCom", _p_SWComTo_p_SWModule},{"Sword::RawCom", _p_RawComTo_p_SWModule},{0}};
9806
static swig_type_info _swigt__p_zLD[] = {{"Sword::zLD", 0, "zLD *", 0},{"Sword::zLD"},{0}};
9807
static swig_type_info _swigt__p_SWGenBook[] = {{"Sword::SWGenBook", 0, "SWGenBook *", 0},{"Sword::SWGenBook"},{"Sword::RawGenBook", _p_RawGenBookTo_p_SWGenBook},{0}};
9808
static swig_type_info _swigt__p_RawCom[] = {{"Sword::RawCom", 0, "RawCom *", 0},{"Sword::RawCom"},{0}};
9809
static swig_type_info _swigt__p_RawGenBook[] = {{"Sword::RawGenBook", 0, "RawGenBook *", 0},{"Sword::RawGenBook"},{0}};
9810
static swig_type_info _swigt__p_SWConfig[] = {{"Sword::SWConfig", 0, "SWConfig *", 0},{"Sword::SWConfig"},{0}};
9811
static swig_type_info _swigt__p_LocaleMgr[] = {{"Sword::LocaleMgr", 0, "LocaleMgr *", 0},{"Sword::LocaleMgr"},{0}};
9812
static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
9813
static swig_type_info _swigt__p_SWTextMarkup[] = {{"_p_SWTextMarkup", 0, "SWTextMarkup *", 0},{"_p_SWTextMarkup"},{0}};
9814
static swig_type_info _swigt__p_zText[] = {{"Sword::zText", 0, "zText *", 0},{"Sword::zText"},{0}};
9815
static swig_type_info _swigt__p_SWTextEncoding[] = {{"_p_SWTextEncoding", 0, "SWTextEncoding *", 0},{"_p_SWTextEncoding"},{0}};
9816
static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
9818
static swig_type_info *swig_types_initial[] = {
9825
_swigt__p_ConfigEntMap,
9830
_swigt__p_StringList,
9832
_swigt__p_SWFilterMgr,
9834
_swigt__p_SWTextDirection,
9836
_swigt__p_f_char_p_void__void,
9841
_swigt__p_SectionMap,
9842
_swigt__p_SWDisplay,
9843
_swigt__p_AttributeTypeList,
9845
_swigt__p_std__listTSWBuf_t,
9846
_swigt__p_TreeKeyIdx,
9847
_swigt__p_SWCompress,
9848
_swigt__p_LZSSCompress,
9849
_swigt__p_ZipCompress,
9850
_swigt__p_SW_POSITION,
9853
_swigt__p_SWGenBook,
9855
_swigt__p_RawGenBook,
9857
_swigt__p_LocaleMgr,
9859
_swigt__p_SWTextMarkup,
9861
_swigt__p_SWTextEncoding,
9862
_swigt__p_unsigned_long,
9867
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
9869
static swig_constant_info swig_constants[] = {
9875
static swig_variable_info swig_variables[] = {
9878
static swig_command_info swig_commands[] = {
9879
{"Swordc::SWConfig_filename_set", _wrap_SWConfig_filename_set},
9880
{"Swordc::SWConfig_filename_get", _wrap_SWConfig_filename_get},
9881
{"Swordc::SWConfig_Sections_set", _wrap_SWConfig_Sections_set},
9882
{"Swordc::SWConfig_Sections_get", _wrap_SWConfig_Sections_get},
9883
{"Swordc::new_SWConfig", _wrap_new_SWConfig},
9884
{"Swordc::delete_SWConfig", _wrap_delete_SWConfig},
9885
{"Swordc::SWConfig_Load", _wrap_SWConfig_Load},
9886
{"Swordc::SWConfig_Save", _wrap_SWConfig_Save},
9887
{"Swordc::SWConfig_set", _wrap_SWConfig_set},
9888
{"Swordc::SWConfig_get", _wrap_SWConfig_get},
9889
{"Swordc::SWMgr_findConfig", _wrap_SWMgr_findConfig},
9890
{"Swordc::SWMgr_config_set", _wrap_SWMgr_config_set},
9891
{"Swordc::SWMgr_config_get", _wrap_SWMgr_config_get},
9892
{"Swordc::SWMgr_sysconfig_set", _wrap_SWMgr_sysconfig_set},
9893
{"Swordc::SWMgr_sysconfig_get", _wrap_SWMgr_sysconfig_get},
9894
{"Swordc::SWMgr_Modules_set", _wrap_SWMgr_Modules_set},
9895
{"Swordc::SWMgr_Modules_get", _wrap_SWMgr_Modules_get},
9896
{"Swordc::SWMgr_prefixPath_set", _wrap_SWMgr_prefixPath_set},
9897
{"Swordc::SWMgr_prefixPath_get", _wrap_SWMgr_prefixPath_get},
9898
{"Swordc::SWMgr_configPath_set", _wrap_SWMgr_configPath_set},
9899
{"Swordc::SWMgr_configPath_get", _wrap_SWMgr_configPath_get},
9900
{"Swordc::new_SWMgr", _wrap_new_SWMgr},
9901
{"Swordc::delete_SWMgr", _wrap_delete_SWMgr},
9902
{"Swordc::SWMgr_Load", _wrap_SWMgr_Load},
9903
{"Swordc::SWMgr_setGlobalOption", _wrap_SWMgr_setGlobalOption},
9904
{"Swordc::SWMgr_getGlobalOption", _wrap_SWMgr_getGlobalOption},
9905
{"Swordc::SWMgr_getGlobalOptionTip", _wrap_SWMgr_getGlobalOptionTip},
9906
{"Swordc::SWMgr_getGlobalOptions", _wrap_SWMgr_getGlobalOptions},
9907
{"Swordc::SWMgr_getGlobalOptionValues", _wrap_SWMgr_getGlobalOptionValues},
9908
{"Swordc::SWMgr_setCipherKey", _wrap_SWMgr_setCipherKey},
9909
{"Swordc::SWMgr_getModule", _wrap_SWMgr_getModule},
9910
{"Swordc::SWMgr_InstallScan", _wrap_SWMgr_InstallScan},
9911
{"Swordc::SWMgr_moduleCount", _wrap_SWMgr_moduleCount},
9912
{"Swordc::SWMgr_getModuleAt", _wrap_SWMgr_getModuleAt},
9913
{"Swordc::SWModule_terminateSearch_set", _wrap_SWModule_terminateSearch_set},
9914
{"Swordc::SWModule_terminateSearch_get", _wrap_SWModule_terminateSearch_get},
9915
{"Swordc::new_SWModule", _wrap_new_SWModule},
9916
{"Swordc::SWModule_Error", _wrap_SWModule_Error},
9917
{"Swordc::SWModule_isUnicode", _wrap_SWModule_isUnicode},
9918
{"Swordc::SWModule_getConfig", _wrap_SWModule_getConfig},
9919
{"Swordc::SWModule_getConfigEntry", _wrap_SWModule_getConfigEntry},
9920
{"Swordc::SWModule_SetKey", _wrap_SWModule_SetKey},
9921
{"Swordc::SWModule_Key", _wrap_SWModule_Key},
9922
{"Swordc::SWModule_CreateKey", _wrap_SWModule_CreateKey},
9923
{"Swordc::SWModule_KeyText", _wrap_SWModule_KeyText},
9924
{"Swordc::SWModule_Display", _wrap_SWModule_Display},
9925
{"Swordc::SWModule_nullPercent", _wrap_SWModule_nullPercent},
9926
{"Swordc::SWModule_Search", _wrap_SWModule_Search},
9927
{"Swordc::SWModule_createSearchFramework", _wrap_SWModule_createSearchFramework},
9928
{"Swordc::SWModule_hasSearchFramework", _wrap_SWModule_hasSearchFramework},
9929
{"Swordc::SWModule_isSearchOptimallySupported", _wrap_SWModule_isSearchOptimallySupported},
9930
{"Swordc::SWModule_next", _wrap_SWModule_next},
9931
{"Swordc::SWModule_prev", _wrap_SWModule_prev},
9932
{"Swordc::SWModule_inc", _wrap_SWModule_inc},
9933
{"Swordc::SWModule_dec", _wrap_SWModule_dec},
9934
{"Swordc::SWModule_setPosition", _wrap_SWModule_setPosition},
9935
{"Swordc::SWModule_top", _wrap_SWModule_top},
9936
{"Swordc::SWModule_bottom", _wrap_SWModule_bottom},
9937
{"Swordc::SWModule_text", _wrap_SWModule_text},
9938
{"Swordc::SWModule_StripText", _wrap_SWModule_StripText},
9939
{"Swordc::SWModule_getRawEntry", _wrap_SWModule_getRawEntry},
9940
{"Swordc::SWModule_setSkipConsecutiveLinks", _wrap_SWModule_setSkipConsecutiveLinks},
9941
{"Swordc::SWModule_getSkipConsecutiveLinks", _wrap_SWModule_getSkipConsecutiveLinks},
9942
{"Swordc::SWModule_getEntryAttributes", _wrap_SWModule_getEntryAttributes},
9943
{"Swordc::SWModule_processEntryAttributes", _wrap_SWModule_processEntryAttributes},
9944
{"Swordc::SWModule_isProcessEntryAttributes", _wrap_SWModule_isProcessEntryAttributes},
9945
{"Swordc::SWModule_Name", _wrap_SWModule_Name},
9946
{"Swordc::SWModule_Description", _wrap_SWModule_Description},
9947
{"Swordc::SWModule_Type", _wrap_SWModule_Type},
9948
{"Swordc::SWModule_Direction", _wrap_SWModule_Direction},
9949
{"Swordc::SWModule_Encoding", _wrap_SWModule_Encoding},
9950
{"Swordc::SWModule_Markup", _wrap_SWModule_Markup},
9951
{"Swordc::SWModule_Lang", _wrap_SWModule_Lang},
9952
{"Swordc::SWModule_isWritable", _wrap_SWModule_isWritable},
9953
{"Swordc::SWModule_createModule", _wrap_SWModule_createModule},
9954
{"Swordc::SWModule_setEntry", _wrap_SWModule_setEntry},
9955
{"Swordc::SWModule_deleteEntry", _wrap_SWModule_deleteEntry},
9956
{"Swordc::SWModule_write", _wrap_SWModule_write},
9957
{"Swordc::SWModule_writeLink", _wrap_SWModule_writeLink},
9958
{"Swordc::delete_SWModule", _wrap_delete_SWModule},
9959
{"Swordc::new_SW_POSITION", _wrap_new_SW_POSITION},
9960
{"Swordc::delete_SW_POSITION", _wrap_delete_SW_POSITION},
9961
{"Swordc::new_SWKey", _wrap_new_SWKey},
9962
{"Swordc::SWKey_clone", _wrap_SWKey_clone},
9963
{"Swordc::delete_SWKey", _wrap_delete_SWKey},
9964
{"Swordc::SWKey_Persist", _wrap_SWKey_Persist},
9965
{"Swordc::SWKey_setPersist", _wrap_SWKey_setPersist},
9966
{"Swordc::SWKey_Error", _wrap_SWKey_Error},
9967
{"Swordc::SWKey_setText", _wrap_SWKey_setText},
9968
{"Swordc::SWKey_getText", _wrap_SWKey_getText},
9969
{"Swordc::SWKey_getShortText", _wrap_SWKey_getShortText},
9970
{"Swordc::SWKey_compare", _wrap_SWKey_compare},
9971
{"Swordc::SWKey_equals", _wrap_SWKey_equals},
9972
{"Swordc::SWKey_decrement", _wrap_SWKey_decrement},
9973
{"Swordc::SWKey_increment", _wrap_SWKey_increment},
9974
{"Swordc::SWKey_Traversable", _wrap_SWKey_Traversable},
9975
{"Swordc::SWKey_Index", _wrap_SWKey_Index},
9976
{"Swordc::SWKey_next", _wrap_SWKey_next},
9977
{"Swordc::SWKey_prev", _wrap_SWKey_prev},
9978
{"Swordc::SWKey_setKey", _wrap_SWKey_setKey},
9979
{"Swordc::SWKey_toVerseKey", _wrap_SWKey_toVerseKey},
9980
{"Swordc::new_VerseKey", _wrap_new_VerseKey},
9981
{"Swordc::delete_VerseKey", _wrap_delete_VerseKey},
9982
{"Swordc::VerseKey_clone", _wrap_VerseKey_clone},
9983
{"Swordc::VerseKey_LowerBound", _wrap_VerseKey_LowerBound},
9984
{"Swordc::VerseKey_UpperBound", _wrap_VerseKey_UpperBound},
9985
{"Swordc::VerseKey_ClearBounds", _wrap_VerseKey_ClearBounds},
9986
{"Swordc::VerseKey_ParseVerseList", _wrap_VerseKey_ParseVerseList},
9987
{"Swordc::VerseKey_setText", _wrap_VerseKey_setText},
9988
{"Swordc::VerseKey_getText", _wrap_VerseKey_getText},
9989
{"Swordc::VerseKey_getRangeText", _wrap_VerseKey_getRangeText},
9990
{"Swordc::VerseKey_getShortText", _wrap_VerseKey_getShortText},
9991
{"Swordc::VerseKey_Traversable", _wrap_VerseKey_Traversable},
9992
{"Swordc::VerseKey_decrement", _wrap_VerseKey_decrement},
9993
{"Swordc::VerseKey_increment", _wrap_VerseKey_increment},
9994
{"Swordc::VerseKey_getBookName", _wrap_VerseKey_getBookName},
9995
{"Swordc::VerseKey_getBookAbbrev", _wrap_VerseKey_getBookAbbrev},
9996
{"Swordc::VerseKey_Testament", _wrap_VerseKey_Testament},
9997
{"Swordc::VerseKey_Book", _wrap_VerseKey_Book},
9998
{"Swordc::VerseKey_Chapter", _wrap_VerseKey_Chapter},
9999
{"Swordc::VerseKey_Verse", _wrap_VerseKey_Verse},
10000
{"Swordc::VerseKey_Normalize", _wrap_VerseKey_Normalize},
10001
{"Swordc::VerseKey_AutoNormalize", _wrap_VerseKey_AutoNormalize},
10002
{"Swordc::VerseKey_Headings", _wrap_VerseKey_Headings},
10003
{"Swordc::VerseKey_getOSISRef", _wrap_VerseKey_getOSISRef},
10004
{"Swordc::VerseKey_compare", _wrap_VerseKey_compare},
10005
{"Swordc::VerseKey__compare", _wrap_VerseKey__compare},
10006
{"Swordc::VerseKey_setLocale", _wrap_VerseKey_setLocale},
10007
{"Swordc::VerseKey_getLocale", _wrap_VerseKey_getLocale},
10008
{"Swordc::VerseKey_bookCount", _wrap_VerseKey_bookCount},
10009
{"Swordc::VerseKey_bookName", _wrap_VerseKey_bookName},
10010
{"Swordc::VerseKey_chapterCount", _wrap_VerseKey_chapterCount},
10011
{"Swordc::VerseKey_verseCount", _wrap_VerseKey_verseCount},
10012
{"Swordc::new_ListKey", _wrap_new_ListKey},
10013
{"Swordc::delete_ListKey", _wrap_delete_ListKey},
10014
{"Swordc::ListKey_clone", _wrap_ListKey_clone},
10015
{"Swordc::ListKey_ClearList", _wrap_ListKey_ClearList},
10016
{"Swordc::ListKey_Count", _wrap_ListKey_Count},
10017
{"Swordc::ListKey_Remove", _wrap_ListKey_Remove},
10018
{"Swordc::ListKey_SetToElement", _wrap_ListKey_SetToElement},
10019
{"Swordc::ListKey_GetElement", _wrap_ListKey_GetElement},
10020
{"Swordc::ListKey_add", _wrap_ListKey_add},
10021
{"Swordc::ListKey_copyFrom", _wrap_ListKey_copyFrom},
10022
{"Swordc::ListKey_setPosition", _wrap_ListKey_setPosition},
10023
{"Swordc::ListKey_decrement", _wrap_ListKey_decrement},
10024
{"Swordc::ListKey_increment", _wrap_ListKey_increment},
10025
{"Swordc::ListKey_Traversable", _wrap_ListKey_Traversable},
10026
{"Swordc::ListKey_Index", _wrap_ListKey_Index},
10027
{"Swordc::TreeKey_getLocalName", _wrap_TreeKey_getLocalName},
10028
{"Swordc::TreeKey_setLocalName", _wrap_TreeKey_setLocalName},
10029
{"Swordc::TreeKey_getUserData", _wrap_TreeKey_getUserData},
10030
{"Swordc::TreeKey_setUserData", _wrap_TreeKey_setUserData},
10031
{"Swordc::TreeKey_getFullName", _wrap_TreeKey_getFullName},
10032
{"Swordc::TreeKey_root", _wrap_TreeKey_root},
10033
{"Swordc::TreeKey_parent", _wrap_TreeKey_parent},
10034
{"Swordc::TreeKey_firstChild", _wrap_TreeKey_firstChild},
10035
{"Swordc::TreeKey_nextSibling", _wrap_TreeKey_nextSibling},
10036
{"Swordc::TreeKey_previousSibling", _wrap_TreeKey_previousSibling},
10037
{"Swordc::TreeKey_hasChildren", _wrap_TreeKey_hasChildren},
10038
{"Swordc::TreeKey_append", _wrap_TreeKey_append},
10039
{"Swordc::TreeKey_appendChild", _wrap_TreeKey_appendChild},
10040
{"Swordc::TreeKey_insertBefore", _wrap_TreeKey_insertBefore},
10041
{"Swordc::TreeKey_remove", _wrap_TreeKey_remove},
10042
{"Swordc::TreeKey_setOffset", _wrap_TreeKey_setOffset},
10043
{"Swordc::TreeKey_getOffset", _wrap_TreeKey_getOffset},
10044
{"Swordc::TreeKey_setPosition", _wrap_TreeKey_setPosition},
10045
{"Swordc::TreeKey_Traversable", _wrap_TreeKey_Traversable},
10046
{"Swordc::TreeKey_Index", _wrap_TreeKey_Index},
10047
{"Swordc::delete_TreeKeyIdx", _wrap_delete_TreeKeyIdx},
10048
{"Swordc::TreeKeyIdx_save", _wrap_TreeKeyIdx_save},
10049
{"Swordc::TreeKeyIdx_copyFrom", _wrap_TreeKeyIdx_copyFrom},
10050
{"Swordc::TreeKeyIdx__compare", _wrap_TreeKeyIdx__compare},
10051
{"Swordc::TreeKeyIdx_create", _wrap_TreeKeyIdx_create},
10052
{"Swordc::new_LocaleMgr", _wrap_new_LocaleMgr},
10053
{"Swordc::delete_LocaleMgr", _wrap_delete_LocaleMgr},
10054
{"Swordc::LocaleMgr_getLocale", _wrap_LocaleMgr_getLocale},
10055
{"Swordc::LocaleMgr_getAvailableLocales", _wrap_LocaleMgr_getAvailableLocales},
10056
{"Swordc::LocaleMgr_getDefaultLocaleName", _wrap_LocaleMgr_getDefaultLocaleName},
10057
{"Swordc::LocaleMgr_setDefaultLocaleName", _wrap_LocaleMgr_setDefaultLocaleName},
10058
{"Swordc::LocaleMgr_getSystemLocaleMgr", _wrap_LocaleMgr_getSystemLocaleMgr},
10059
{"Swordc::new_SWText", _wrap_new_SWText},
10060
{"Swordc::delete_SWText", _wrap_delete_SWText},
10061
{"Swordc::new_RawText", _wrap_new_RawText},
10062
{"Swordc::RawText_createModule", _wrap_RawText_createModule},
10063
{"Swordc::delete_RawText", _wrap_delete_RawText},
10064
{"Swordc::new_zText", _wrap_new_zText},
10065
{"Swordc::delete_zText", _wrap_delete_zText},
10066
{"Swordc::zText_createModule", _wrap_zText_createModule},
10067
{"Swordc::new_RawCom", _wrap_new_RawCom},
10068
{"Swordc::delete_RawCom", _wrap_delete_RawCom},
10069
{"Swordc::RawCom_createModule", _wrap_RawCom_createModule},
10070
{"Swordc::new_zCom", _wrap_new_zCom},
10071
{"Swordc::delete_zCom", _wrap_delete_zCom},
10072
{"Swordc::zCom_createModule", _wrap_zCom_createModule},
10073
{"Swordc::new_RawGenBook", _wrap_new_RawGenBook},
10074
{"Swordc::delete_RawGenBook", _wrap_delete_RawGenBook},
10075
{"Swordc::RawGenBook_createModule", _wrap_RawGenBook_createModule},
10076
{"Swordc::RawGenBook_getTreeKey", _wrap_RawGenBook_getTreeKey},
10077
{"Swordc::new_SWLD", _wrap_new_SWLD},
10078
{"Swordc::delete_SWLD", _wrap_delete_SWLD},
10079
{"Swordc::new_RawLD", _wrap_new_RawLD},
10080
{"Swordc::delete_RawLD", _wrap_delete_RawLD},
10081
{"Swordc::RawLD_createModule", _wrap_RawLD_createModule},
10082
{"Swordc::new_RawLD4", _wrap_new_RawLD4},
10083
{"Swordc::delete_RawLD4", _wrap_delete_RawLD4},
10084
{"Swordc::RawLD4_createModule", _wrap_RawLD4_createModule},
10085
{"Swordc::new_zLD", _wrap_new_zLD},
10086
{"Swordc::delete_zLD", _wrap_delete_zLD},
10087
{"Swordc::zLD_createModule", _wrap_zLD_createModule},
10088
{"Swordc::new_SWCompress", _wrap_new_SWCompress},
10089
{"Swordc::delete_SWCompress", _wrap_delete_SWCompress},
10090
{"Swordc::SWCompress_Buf", _wrap_SWCompress_Buf},
10091
{"Swordc::SWCompress_zBuf", _wrap_SWCompress_zBuf},
10092
{"Swordc::SWCompress_GetChars", _wrap_SWCompress_GetChars},
10093
{"Swordc::SWCompress_SendChars", _wrap_SWCompress_SendChars},
10094
{"Swordc::SWCompress_Encode", _wrap_SWCompress_Encode},
10095
{"Swordc::SWCompress_Decode", _wrap_SWCompress_Decode},
10096
{"Swordc::new_LZSSCompress", _wrap_new_LZSSCompress},
10097
{"Swordc::delete_LZSSCompress", _wrap_delete_LZSSCompress},
10098
{"Swordc::LZSSCompress_Encode", _wrap_LZSSCompress_Encode},
10099
{"Swordc::LZSSCompress_Decode", _wrap_LZSSCompress_Decode},
10100
{"Swordc::new_ZipCompress", _wrap_new_ZipCompress},
10101
{"Swordc::delete_ZipCompress", _wrap_delete_ZipCompress},
10102
{"Swordc::ZipCompress_Encode", _wrap_ZipCompress_Encode},
10103
{"Swordc::ZipCompress_Decode", _wrap_ZipCompress_Decode},
10104
{"Swordc::new_SWBuf", _wrap_new_SWBuf},
10105
{"Swordc::delete_SWBuf", _wrap_delete_SWBuf},
10106
{"Swordc::SWBuf_setFillByte", _wrap_SWBuf_setFillByte},
10107
{"Swordc::SWBuf_getFillByte", _wrap_SWBuf_getFillByte},
10108
{"Swordc::SWBuf_c_str", _wrap_SWBuf_c_str},
10109
{"Swordc::SWBuf_charAt", _wrap_SWBuf_charAt},
10110
{"Swordc::SWBuf_size", _wrap_SWBuf_size},
10111
{"Swordc::SWBuf_length", _wrap_SWBuf_length},
10112
{"Swordc::SWBuf_set", _wrap_SWBuf_set},
10113
{"Swordc::SWBuf_setSize", _wrap_SWBuf_setSize},
10114
{"Swordc::SWBuf_append", _wrap_SWBuf_append},
10115
{"Swordc::SWBuf_appendFormatted", _wrap_SWBuf_appendFormatted},
10116
{"Swordc::SWBuf_getRawData", _wrap_SWBuf_getRawData},
10117
{"Swordc::SWBuf_compare", _wrap_SWBuf_compare},
10128
static int _init = 0;
10130
for (i = 0; swig_types_initial[i]; i++) {
10131
swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
10136
/* Install commands */
10137
for (i = 0; swig_commands[i].name; i++) {
10138
newXS((char*) swig_commands[i].name,swig_commands[i].wrapper, (char*)__FILE__);
10141
/* Install variables */
10142
for (i = 0; swig_variables[i].name; i++) {
10144
sv = perl_get_sv((char*) swig_variables[i].name, TRUE | 0x2);
10145
if (swig_variables[i].type) {
10146
SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
10148
sv_setiv(sv,(IV) 0);
10150
swig_create_magic(sv, (char *) swig_variables[i].name, swig_variables[i].set, swig_variables[i].get);
10153
/* Install constant */
10154
for (i = 0; swig_constants[i].type; i++) {
10156
sv = perl_get_sv((char*)swig_constants[i].name, TRUE | 0x2);
10157
switch(swig_constants[i].type) {
10159
sv_setiv(sv, (IV) swig_constants[i].lvalue);
10162
sv_setnv(sv, (double) swig_constants[i].dvalue);
10165
sv_setpv(sv, (char *) swig_constants[i].pvalue);
10168
SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
10171
/* obj = SWIG_NewPackedObj(swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype)); */
10179
SWIG_TypeClientData(SWIGTYPE_p_SWConfig, (void*) "Sword::SWConfig");
10180
SWIG_TypeClientData(SWIGTYPE_p_SWMgr, (void*) "Sword::SWMgr");
10181
SWIG_TypeClientData(SWIGTYPE_p_SWModule, (void*) "Sword::SWModule");
10182
SWIG_TypeClientData(SWIGTYPE_p_SW_POSITION, (void*) "Sword::SW_POSITION");
10183
SWIG_TypeClientData(SWIGTYPE_p_SWKey, (void*) "Sword::SWKey");
10184
SWIG_TypeClientData(SWIGTYPE_p_VerseKey, (void*) "Sword::VerseKey");
10185
SWIG_TypeClientData(SWIGTYPE_p_ListKey, (void*) "Sword::ListKey");
10186
SWIG_TypeClientData(SWIGTYPE_p_TreeKey, (void*) "Sword::TreeKey");
10187
SWIG_TypeClientData(SWIGTYPE_p_TreeKeyIdx, (void*) "Sword::TreeKeyIdx");
10188
SWIG_TypeClientData(SWIGTYPE_p_LocaleMgr, (void*) "Sword::LocaleMgr");
10189
SWIG_TypeClientData(SWIGTYPE_p_SWFilterMgr, (void*) "Sword::SWFilterMgr");
10190
SWIG_TypeClientData(SWIGTYPE_p_SWText, (void*) "Sword::SWText");
10191
SWIG_TypeClientData(SWIGTYPE_p_RawText, (void*) "Sword::RawText");
10192
SWIG_TypeClientData(SWIGTYPE_p_zText, (void*) "Sword::zText");
10193
SWIG_TypeClientData(SWIGTYPE_p_SWCom, (void*) "Sword::SWCom");
10194
SWIG_TypeClientData(SWIGTYPE_p_RawCom, (void*) "Sword::RawCom");
10195
SWIG_TypeClientData(SWIGTYPE_p_zCom, (void*) "Sword::zCom");
10196
SWIG_TypeClientData(SWIGTYPE_p_SWGenBook, (void*) "Sword::SWGenBook");
10197
SWIG_TypeClientData(SWIGTYPE_p_RawGenBook, (void*) "Sword::RawGenBook");
10198
SWIG_TypeClientData(SWIGTYPE_p_SWLD, (void*) "Sword::SWLD");
10199
SWIG_TypeClientData(SWIGTYPE_p_RawLD, (void*) "Sword::RawLD");
10200
SWIG_TypeClientData(SWIGTYPE_p_RawLD4, (void*) "Sword::RawLD4");
10201
SWIG_TypeClientData(SWIGTYPE_p_zLD, (void*) "Sword::zLD");
10202
SWIG_TypeClientData(SWIGTYPE_p_SWCompress, (void*) "Sword::SWCompress");
10203
SWIG_TypeClientData(SWIGTYPE_p_LZSSCompress, (void*) "Sword::LZSSCompress");
10204
SWIG_TypeClientData(SWIGTYPE_p_ZipCompress, (void*) "Sword::ZipCompress");
10205
SWIG_TypeClientData(SWIGTYPE_p_SWBuf, (void*) "Sword::SWBuf");
10206
ST(0) = &PL_sv_yes;