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
/* -----------------------------------------------------------------------------
14
* This section contains generic SWIG labels for method/variable
15
* declarations/attributes, and other compiler dependent labels.
16
* ----------------------------------------------------------------------------- */
18
/* template workaround for compilers that cannot correctly implement the C++ standard */
19
#ifndef SWIGTEMPLATEDISAMBIGUATOR
20
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
21
# define SWIGTEMPLATEDISAMBIGUATOR template
22
# elif defined(__HP_aCC)
23
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
24
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
25
# define SWIGTEMPLATEDISAMBIGUATOR template
27
# define SWIGTEMPLATEDISAMBIGUATOR
31
/* inline attribute */
33
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
34
# define SWIGINLINE inline
40
/* attribute recognised by some compilers to avoid 'unused' warnings */
42
# if defined(__GNUC__)
43
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
44
# define SWIGUNUSED __attribute__ ((__unused__))
49
# define SWIGUNUSED __attribute__ ((__unused__))
55
#ifndef SWIG_MSC_UNSUPPRESS_4505
56
# if defined(_MSC_VER)
57
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
61
#ifndef SWIGUNUSEDPARM
63
# define SWIGUNUSEDPARM(p)
65
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
69
/* internal SWIG method */
71
# define SWIGINTERN static SWIGUNUSED
74
/* internal inline SWIG method */
75
#ifndef SWIGINTERNINLINE
76
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
79
/* exporting methods */
80
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
81
# ifndef GCC_HASCLASSVISIBILITY
82
# define GCC_HASCLASSVISIBILITY
87
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
88
# if defined(STATIC_LINKED)
91
# define SWIGEXPORT __declspec(dllexport)
94
# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
95
# define SWIGEXPORT __attribute__ ((visibility("default")))
102
/* calling conventions for Windows */
104
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
105
# define SWIGSTDCALL __stdcall
111
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
112
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
113
# define _CRT_SECURE_NO_DEPRECATE
116
/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
117
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
118
# define _SCL_SECURE_NO_DEPRECATE
122
/* -----------------------------------------------------------------------------
125
* This file contains generic C API SWIG runtime support for pointer
127
* ----------------------------------------------------------------------------- */
129
/* This should only be incremented when either the layout of swig_type_info changes,
130
or for whatever reason, the runtime changes incompatibly */
131
#define SWIG_RUNTIME_VERSION "4"
133
/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
134
#ifdef SWIG_TYPE_TABLE
135
# define SWIG_QUOTE_STRING(x) #x
136
# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
137
# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
139
# define SWIG_TYPE_TABLE_NAME
143
You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
144
creating a static or dynamic library from the SWIG runtime code.
145
In 99.9% of the cases, SWIG just needs to declare them as 'static'.
147
But only do this if strictly necessary, ie, if you have problems
148
with your compiler or suchlike.
152
# define SWIGRUNTIME SWIGINTERN
155
#ifndef SWIGRUNTIMEINLINE
156
# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
159
/* Generic buffer size */
160
#ifndef SWIG_BUFFER_SIZE
161
# define SWIG_BUFFER_SIZE 1024
164
/* Flags for pointer conversions */
165
#define SWIG_POINTER_DISOWN 0x1
166
#define SWIG_CAST_NEW_MEMORY 0x2
168
/* Flags for new pointer objects */
169
#define SWIG_POINTER_OWN 0x1
173
Flags/methods for returning states.
175
The SWIG conversion methods, as ConvertPtr, return and integer
176
that tells if the conversion was successful or not. And if not,
177
an error code can be returned (see swigerrors.swg for the codes).
179
Use the following macros/flags to set or process the returning
182
In old versions of SWIG, code such as the following was usually written:
184
if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
190
Now you can be more explicit:
192
int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
193
if (SWIG_IsOK(res)) {
199
which is the same really, but now you can also do
202
int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
203
if (SWIG_IsOK(res)) {
205
if (SWIG_IsNewObj(res) {
215
I.e., now SWIG_ConvertPtr can return new objects and you can
216
identify the case and take care of the deallocation. Of course that
217
also requires SWIG_ConvertPtr to return new result values, such as
219
int SWIG_ConvertPtr(obj, ptr,...) {
221
if (<need new object>) {
222
*ptr = <ptr to new allocated object>;
225
*ptr = <ptr to old object>;
233
Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
234
more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
237
Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
238
allows to return the 'cast rank', for example, if you have this
245
food(1) // cast rank '1' (1 -> 1.0)
246
fooi(1) // cast rank '0'
248
just use the SWIG_AddCast()/SWIG_CheckState()
252
#define SWIG_ERROR (-1)
253
#define SWIG_IsOK(r) (r >= 0)
254
#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
256
/* The CastRankLimit says how many bits are used for the cast rank */
257
#define SWIG_CASTRANKLIMIT (1 << 8)
258
/* The NewMask denotes the object was created (using new/malloc) */
259
#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
260
/* The TmpMask is for in/out typemaps that use temporal objects */
261
#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
262
/* Simple returning values */
263
#define SWIG_BADOBJ (SWIG_ERROR)
264
#define SWIG_OLDOBJ (SWIG_OK)
265
#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
266
#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
267
/* Check, add and del mask methods */
268
#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
269
#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
270
#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
271
#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
272
#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
273
#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
276
#if defined(SWIG_CASTRANK_MODE)
277
# ifndef SWIG_TypeRank
278
# define SWIG_TypeRank unsigned long
280
# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
281
# define SWIG_MAXCASTRANK (2)
283
# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
284
# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
285
SWIGINTERNINLINE int SWIG_AddCast(int r) {
286
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
288
SWIGINTERNINLINE int SWIG_CheckState(int r) {
289
return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
291
#else /* no cast-rank mode */
292
# define SWIG_AddCast
293
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
303
typedef void *(*swig_converter_func)(void *, int *);
304
typedef struct swig_type_info *(*swig_dycast_func)(void **);
306
/* Structure to store information on one type */
307
typedef struct swig_type_info {
308
const char *name; /* mangled name of this type */
309
const char *str; /* human readable name of this type */
310
swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
311
struct swig_cast_info *cast; /* linked list of types that can cast into this type */
312
void *clientdata; /* language specific type data */
313
int owndata; /* flag if the structure owns the clientdata */
316
/* Structure to store a type and conversion function used for casting */
317
typedef struct swig_cast_info {
318
swig_type_info *type; /* pointer to type that is equivalent to this type */
319
swig_converter_func converter; /* function to cast the void pointers */
320
struct swig_cast_info *next; /* pointer to next cast in linked list */
321
struct swig_cast_info *prev; /* pointer to the previous cast */
324
/* Structure used to store module information
325
* Each module generates one structure like this, and the runtime collects
326
* all of these structures and stores them in a circularly linked list.*/
327
typedef struct swig_module_info {
328
swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
329
size_t size; /* Number of types in this module */
330
struct swig_module_info *next; /* Pointer to next element in circularly linked list */
331
swig_type_info **type_initial; /* Array of initially generated type structures */
332
swig_cast_info **cast_initial; /* Array of initially generated casting structures */
333
void *clientdata; /* Language specific module data */
337
Compare two type names skipping the space characters, therefore
338
"char*" == "char *" and "Class<int>" == "Class<int >", etc.
340
Return 0 when the two name types are equivalent, as in
341
strncmp, but skipping ' '.
344
SWIG_TypeNameComp(const char *f1, const char *l1,
345
const char *f2, const char *l2) {
346
for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
347
while ((*f1 == ' ') && (f1 != l1)) ++f1;
348
while ((*f2 == ' ') && (f2 != l2)) ++f2;
349
if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
351
return (int)((l1 - f1) - (l2 - f2));
355
Check type equivalence in a name list like <name1>|<name2>|...
356
Return 0 if not equal, 1 if equal
359
SWIG_TypeEquiv(const char *nb, const char *tb) {
361
const char* te = tb + strlen(tb);
363
while (!equiv && *ne) {
364
for (nb = ne; *ne; ++ne) {
365
if (*ne == '|') break;
367
equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
374
Check type equivalence in a name list like <name1>|<name2>|...
375
Return 0 if equal, -1 if nb < tb, 1 if nb > tb
378
SWIG_TypeCompare(const char *nb, const char *tb) {
380
const char* te = tb + strlen(tb);
382
while (!equiv && *ne) {
383
for (nb = ne; *ne; ++ne) {
384
if (*ne == '|') break;
386
equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
396
SWIGRUNTIME swig_cast_info *
397
SWIG_TypeCheck(const char *c, swig_type_info *ty) {
399
swig_cast_info *iter = ty->cast;
401
if (strcmp(iter->type->name, c) == 0) {
402
if (iter == ty->cast)
404
/* Move iter to the top of the linked list */
405
iter->prev->next = iter->next;
407
iter->next->prev = iter->prev;
408
iter->next = ty->cast;
410
if (ty->cast) ty->cast->prev = iter;
421
Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
423
SWIGRUNTIME swig_cast_info *
424
SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
426
swig_cast_info *iter = ty->cast;
428
if (iter->type == from) {
429
if (iter == ty->cast)
431
/* Move iter to the top of the linked list */
432
iter->prev->next = iter->next;
434
iter->next->prev = iter->prev;
435
iter->next = ty->cast;
437
if (ty->cast) ty->cast->prev = iter;
448
Cast a pointer up an inheritance hierarchy
450
SWIGRUNTIMEINLINE void *
451
SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
452
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
456
Dynamic pointer casting. Down an inheritance hierarchy
458
SWIGRUNTIME swig_type_info *
459
SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
460
swig_type_info *lastty = ty;
461
if (!ty || !ty->dcast) return ty;
462
while (ty && (ty->dcast)) {
463
ty = (*ty->dcast)(ptr);
470
Return the name associated with this type
472
SWIGRUNTIMEINLINE const char *
473
SWIG_TypeName(const swig_type_info *ty) {
478
Return the pretty name associated with this type,
479
that is an unmangled type name in a form presentable to the user.
481
SWIGRUNTIME const char *
482
SWIG_TypePrettyName(const swig_type_info *type) {
483
/* The "str" field contains the equivalent pretty names of the
484
type, separated by vertical-bar characters. We choose
485
to print the last name, as it is often (?) the most
487
if (!type) return NULL;
488
if (type->str != NULL) {
489
const char *last_name = type->str;
491
for (s = type->str; *s; s++)
492
if (*s == '|') last_name = s+1;
500
Set the clientdata field for a type
503
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
504
swig_cast_info *cast = ti->cast;
505
/* if (ti->clientdata == clientdata) return; */
506
ti->clientdata = clientdata;
509
if (!cast->converter) {
510
swig_type_info *tc = cast->type;
511
if (!tc->clientdata) {
512
SWIG_TypeClientData(tc, clientdata);
519
SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
520
SWIG_TypeClientData(ti, clientdata);
525
Search for a swig_type_info structure only by mangled name
526
Search is a O(log #types)
528
We start searching at module start, and finish searching when start == end.
529
Note: if start == end at the beginning of the function, we go all the way around
532
SWIGRUNTIME swig_type_info *
533
SWIG_MangledTypeQueryModule(swig_module_info *start,
534
swig_module_info *end,
536
swig_module_info *iter = start;
539
register size_t l = 0;
540
register size_t r = iter->size - 1;
542
/* since l+r >= 0, we can (>> 1) instead (/ 2) */
543
register size_t i = (l + r) >> 1;
544
const char *iname = iter->types[i]->name;
546
register int compare = strcmp(name, iname);
548
return iter->types[i];
549
} else if (compare < 0) {
555
} else if (compare > 0) {
559
break; /* should never happen */
564
} while (iter != end);
569
Search for a swig_type_info structure for either a mangled name or a human readable name.
570
It first searches the mangled names of the types, which is a O(log #types)
571
If a type is not found it then searches the human readable names, which is O(#types).
573
We start searching at module start, and finish searching when start == end.
574
Note: if start == end at the beginning of the function, we go all the way around
577
SWIGRUNTIME swig_type_info *
578
SWIG_TypeQueryModule(swig_module_info *start,
579
swig_module_info *end,
581
/* STEP 1: Search the name field using binary search */
582
swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
586
/* STEP 2: If the type hasn't been found, do a complete search
587
of the str field (the human readable name) */
588
swig_module_info *iter = start;
590
register size_t i = 0;
591
for (; i < iter->size; ++i) {
592
if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
593
return iter->types[i];
596
} while (iter != end);
599
/* neither found a match */
604
Pack binary data into a string
607
SWIG_PackData(char *c, void *ptr, size_t sz) {
608
static const char hex[17] = "0123456789abcdef";
609
register const unsigned char *u = (unsigned char *) ptr;
610
register const unsigned char *eu = u + sz;
611
for (; u != eu; ++u) {
612
register unsigned char uu = *u;
613
*(c++) = hex[(uu & 0xf0) >> 4];
614
*(c++) = hex[uu & 0xf];
620
Unpack binary data from a string
622
SWIGRUNTIME const char *
623
SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
624
register unsigned char *u = (unsigned char *) ptr;
625
register const unsigned char *eu = u + sz;
626
for (; u != eu; ++u) {
627
register char d = *(c++);
628
register unsigned char uu;
629
if ((d >= '0') && (d <= '9'))
630
uu = ((d - '0') << 4);
631
else if ((d >= 'a') && (d <= 'f'))
632
uu = ((d - ('a'-10)) << 4);
636
if ((d >= '0') && (d <= '9'))
638
else if ((d >= 'a') && (d <= 'f'))
639
uu |= (d - ('a'-10));
648
Pack 'void *' into a string buffer.
651
SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
653
if ((2*sizeof(void *) + 2) > bsz) return 0;
655
r = SWIG_PackData(r,&ptr,sizeof(void *));
656
if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
661
SWIGRUNTIME const char *
662
SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
664
if (strcmp(c,"NULL") == 0) {
671
return SWIG_UnpackData(++c,ptr,sizeof(void *));
675
SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
677
size_t lname = (name ? strlen(name) : 0);
678
if ((2*sz + 2 + lname) > bsz) return 0;
680
r = SWIG_PackData(r,ptr,sz);
682
strncpy(r,name,lname+1);
689
SWIGRUNTIME const char *
690
SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
692
if (strcmp(c,"NULL") == 0) {
699
return SWIG_UnpackData(++c,ptr,sz);
706
/* -----------------------------------------------------------------------------
707
* See the LICENSE file for information on copyright, usage and redistribution
708
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
712
* This file contains the runtime support for Lua modules
713
* and includes code for managing global variables and pointer
715
* ----------------------------------------------------------------------------- */
723
#include <stdlib.h> /* for malloc */
724
#include <assert.h> /* for a few sanity tests */
726
/* -----------------------------------------------------------------------------
728
* ----------------------------------------------------------------------------- */
730
#define SWIG_LUA_INT 1
731
#define SWIG_LUA_FLOAT 2
732
#define SWIG_LUA_STRING 3
733
#define SWIG_LUA_POINTER 4
734
#define SWIG_LUA_BINARY 5
735
#define SWIG_LUA_CHAR 6
737
/* Structure for variable linking table */
744
/* Constant information structure */
751
swig_type_info **ptype;
752
} swig_lua_const_info;
756
lua_CFunction method;
761
lua_CFunction getmethod;
762
lua_CFunction setmethod;
763
} swig_lua_attribute;
765
typedef struct swig_lua_class {
767
swig_type_info **type;
768
lua_CFunction constructor;
769
void (*destructor)(void *);
770
swig_lua_method *methods;
771
swig_lua_attribute *attributes;
772
struct swig_lua_class **bases;
773
const char **base_names;
776
/* this is the struct for wrappering all pointers in SwigLua
779
swig_type_info *type;
780
int own; /* 1 if owned & must be destroyed */
784
/* this is the struct for wrapping arbitary packed binary data
785
(currently it is only used for member function pointers)
786
the data ordering is similar to swig_lua_userdata, but it is currently not possible
787
to tell the two structures apart within Swig, other than by looking at the type
790
swig_type_info *type;
791
int own; /* 1 if owned & must be destroyed */
792
char data[1]; /* arbitary amount of data */
795
/* Common SWIG API */
796
#define SWIG_NewPointerObj(L, ptr, type, owner) SWIG_Lua_NewPointerObj(L, (void *)ptr, type, owner)
797
#define SWIG_ConvertPtr(L,idx, ptr, type, flags) SWIG_Lua_ConvertPtr(L,idx,ptr,type,flags)
798
#define SWIG_MustGetPtr(L,idx, type,flags, argnum,fnname) SWIG_Lua_MustGetPtr(L,idx, type,flags, argnum,fnname)
799
/* for C++ member pointers, ie, member methods */
800
#define SWIG_ConvertMember(L, idx, ptr, sz, ty) SWIG_Lua_ConvertPacked(L, idx, ptr, sz, ty)
801
#define SWIG_NewMemberObj(L, ptr, sz, type) SWIG_Lua_NewPackedObj(L, ptr, sz, type)
804
#define SWIG_GetModule(clientdata) SWIG_Lua_GetModule((lua_State*)(clientdata))
805
#define SWIG_SetModule(clientdata, pointer) SWIG_Lua_SetModule((lua_State*) (clientdata), pointer)
806
#define SWIG_MODULE_CLIENTDATA_TYPE lua_State*
808
/* Contract support */
809
#define SWIG_contract_assert(expr, msg) \
810
if (!(expr)) { lua_pushstring(L, (char *) msg); goto fail; } else
812
/* helper #defines */
813
#define SWIG_fail {goto fail;}
814
#define SWIG_fail_arg(func_name,argnum,type) \
815
{lua_pushfstring(L,"Error in %s (arg %d), expected '%s' got '%s'",\
816
func_name,argnum,type,SWIG_Lua_typename(L,argnum));\
818
#define SWIG_fail_ptr(func_name,argnum,type) \
819
SWIG_fail_arg(func_name,argnum,(type && type->str)?type->str:"void*")
820
#define SWIG_check_num_args(func_name,a,b) \
821
if (lua_gettop(L)<a || lua_gettop(L)>b) \
822
{lua_pushfstring(L,"Error in %s expected %d..%d args, got %d",func_name,a,b,lua_gettop(L));\
826
#define SWIG_Lua_get_table(L,n) \
827
(lua_pushstring(L, n), lua_rawget(L,-2))
829
#define SWIG_Lua_add_function(L,n,f) \
830
(lua_pushstring(L, n), \
831
lua_pushcfunction(L, f), \
834
/* special helper for allowing 'nil' for usertypes */
835
#define SWIG_isptrtype(L,I) (lua_isuserdata(L,I) || lua_isnil(L,I))
838
/* Special helper for member function pointers
839
it gets the address, casts it, then dereferences it */
840
//#define SWIG_mem_fn_as_voidptr(a) (*((char**)&(a)))
843
/* storing/access of swig_module_info */
844
SWIGRUNTIME swig_module_info *
845
SWIG_Lua_GetModule(lua_State* L) {
846
swig_module_info *ret = 0;
847
lua_pushstring(L,"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
848
lua_rawget(L,LUA_REGISTRYINDEX);
849
if (lua_islightuserdata(L,-1))
850
ret=(swig_module_info*)lua_touserdata(L,-1);
851
lua_pop(L,1); /* tidy */
856
SWIG_Lua_SetModule(lua_State* L, swig_module_info *module) {
857
/* add this all into the Lua registry: */
858
lua_pushstring(L,"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
859
lua_pushlightuserdata(L,(void*)module);
860
lua_rawset(L,LUA_REGISTRYINDEX);
863
/* -----------------------------------------------------------------------------
864
* global variable support code: modules
865
* ----------------------------------------------------------------------------- */
867
/* this function is called when trying to set an immutable.
868
default value is to print an error.
869
This can removed with a compile flag SWIGLUA_IGNORE_SET_IMMUTABLE */
870
SWIGINTERN int SWIG_Lua_set_immutable(lua_State* L)
872
/* there should be 1 param passed in: the new value */
873
#ifndef SWIGLUA_IGNORE_SET_IMMUTABLE
874
lua_pop(L,1); /* remove it */
875
lua_pushstring(L,"This variable is immutable");
878
return 0; /* should not return anything */
881
/* the module.get method used for getting linked data */
882
SWIGINTERN int SWIG_Lua_module_get(lua_State* L)
884
/* there should be 2 params passed in
885
(1) table (not the meta table)
886
(2) string name of the attribute
887
printf("SWIG_Lua_module_get %p(%s) '%s'\n",
888
lua_topointer(L,1),lua_typename(L,lua_type(L,1)),
891
/* get the metatable */
892
assert(lua_istable(L,1)); /* just in case */
893
lua_getmetatable(L,1); /* get the metatable */
894
assert(lua_istable(L,-1)); /* just in case */
895
SWIG_Lua_get_table(L,".get"); /* get the .get table */
896
lua_remove(L,3); /* remove metatable */
897
if (lua_istable(L,-1))
899
/* look for the key in the .get table */
900
lua_pushvalue(L,2); /* key */
902
lua_remove(L,3); /* remove .get */
903
if (lua_iscfunction(L,-1))
904
{ /* found it so call the fn & return its value */
908
lua_pop(L,1); /* remove the top */
910
lua_pop(L,1); /* remove the .get */
911
lua_pushnil(L); /* return a nil */
915
/* the module.set method used for setting linked data */
916
SWIGINTERN int SWIG_Lua_module_set(lua_State* L)
918
/* there should be 3 params passed in
919
(1) table (not the meta table)
920
(2) string name of the attribute
921
(3) any for the new value
923
/* get the metatable */
924
assert(lua_istable(L,1)); /* just in case */
925
lua_getmetatable(L,1); /* get the metatable */
926
assert(lua_istable(L,-1)); /* just in case */
927
SWIG_Lua_get_table(L,".set"); /* get the .set table */
928
lua_remove(L,4); /* remove metatable */
929
if (lua_istable(L,-1))
931
/* look for the key in the .set table */
932
lua_pushvalue(L,2); /* key */
934
lua_remove(L,4); /* remove .set */
935
if (lua_iscfunction(L,-1))
936
{ /* found it so call the fn & return its value */
937
lua_pushvalue(L,3); /* value */
942
lua_settop(L,3); /* reset back to start */
943
/* we now have the table, key & new value, so just set directly */
944
lua_rawset(L,1); /* add direct */
948
/* registering a module in lua */
949
SWIGINTERN void SWIG_Lua_module_begin(lua_State* L,const char* name)
951
assert(lua_istable(L,-1)); /* just in case */
952
lua_pushstring(L,name);
953
lua_newtable(L); /* the table */
955
lua_newtable(L); /* the meta table */
956
SWIG_Lua_add_function(L,"__index",SWIG_Lua_module_get);
957
SWIG_Lua_add_function(L,"__newindex",SWIG_Lua_module_set);
958
lua_pushstring(L,".get");
959
lua_newtable(L); /* the .get table */
960
lua_rawset(L,-3); /* add .get into metatable */
961
lua_pushstring(L,".set");
962
lua_newtable(L); /* the .set table */
963
lua_rawset(L,-3); /* add .set into metatable */
964
lua_setmetatable(L,-2); /* sets meta table in module */
965
lua_rawset(L,-3); /* add module into parent */
966
SWIG_Lua_get_table(L,name); /* get the table back out */
969
/* ending the register */
970
SWIGINTERN void SWIG_Lua_module_end(lua_State* L)
972
lua_pop(L,1); /* tidy stack (remove module) */
975
/* adding a linked variable to the module */
976
SWIGINTERN void SWIG_Lua_module_add_variable(lua_State* L,const char* name,lua_CFunction getFn,lua_CFunction setFn)
978
assert(lua_istable(L,-1)); /* just in case */
979
lua_getmetatable(L,-1); /* get the metatable */
980
assert(lua_istable(L,-1)); /* just in case */
981
SWIG_Lua_get_table(L,".get"); /* find the .get table */
982
assert(lua_istable(L,-1)); /* should be a table: */
983
SWIG_Lua_add_function(L,name,getFn);
984
lua_pop(L,1); /* tidy stack (remove table) */
985
if (setFn) /* if there is a set fn */
987
SWIG_Lua_get_table(L,".set"); /* find the .set table */
988
assert(lua_istable(L,-1)); /* should be a table: */
989
SWIG_Lua_add_function(L,name,setFn);
990
lua_pop(L,1); /* tidy stack (remove table) */
992
lua_pop(L,1); /* tidy stack (remove meta) */
995
/* adding a function module */
996
SWIGINTERN void SWIG_Lua_module_add_function(lua_State* L,const char* name,lua_CFunction fn)
998
SWIG_Lua_add_function(L,name,fn);
1001
/* -----------------------------------------------------------------------------
1002
* global variable support code: classes
1003
* ----------------------------------------------------------------------------- */
1005
/* the class.get method, performs the lookup of class attributes */
1006
SWIGINTERN int SWIG_Lua_class_get(lua_State* L)
1008
/* there should be 2 params passed in
1009
(1) userdata (not the meta table)
1010
(2) string name of the attribute
1012
assert(lua_isuserdata(L,-2)); /* just in case */
1013
lua_getmetatable(L,-2); /* get the meta table */
1014
assert(lua_istable(L,-1)); /* just in case */
1015
SWIG_Lua_get_table(L,".get"); /* find the .get table */
1016
assert(lua_istable(L,-1)); /* just in case */
1017
/* look for the key in the .get table */
1018
lua_pushvalue(L,2); /* key */
1020
lua_remove(L,-2); /* stack tidy, remove .get table */
1021
if (lua_iscfunction(L,-1))
1022
{ /* found it so call the fn & return its value */
1023
lua_pushvalue(L,1); /* the userdata */
1024
lua_call(L,1,1); /* 1 value in (userdata),1 out (result) */
1025
lua_remove(L,-2); /* stack tidy, remove metatable */
1028
lua_pop(L,1); /* remove whatever was there */
1029
/* ok, so try the .fn table */
1030
SWIG_Lua_get_table(L,".fn"); /* find the .get table */
1031
assert(lua_istable(L,-1)); /* just in case */
1032
lua_pushvalue(L,2); /* key */
1033
lua_rawget(L,-2); /* look for the fn */
1034
lua_remove(L,-2); /* stack tidy, remove .fn table */
1035
if (lua_isfunction(L,-1)) /* note: if its a C function or lua function */
1036
{ /* found it so return the fn & let lua call it */
1037
lua_remove(L,-2); /* stack tidy, remove metatable */
1040
lua_pop(L,1); /* remove whatever was there */
1041
/* NEW: looks for the __getitem() fn
1042
this is a user provided get fn */
1043
SWIG_Lua_get_table(L,"__getitem"); /* find the __getitem fn */
1044
if (lua_iscfunction(L,-1)) /* if its there */
1045
{ /* found it so call the fn & return its value */
1046
lua_pushvalue(L,1); /* the userdata */
1047
lua_pushvalue(L,2); /* the parameter */
1048
lua_call(L,2,1); /* 2 value in (userdata),1 out (result) */
1049
lua_remove(L,-2); /* stack tidy, remove metatable */
1052
return 0; /* sorry not known */
1055
/* the class.set method, performs the lookup of class attributes */
1056
SWIGINTERN int SWIG_Lua_class_set(lua_State* L)
1058
/* there should be 3 params passed in
1059
(1) table (not the meta table)
1060
(2) string name of the attribute
1061
(3) any for the new value
1062
printf("SWIG_Lua_class_set %p(%s) '%s' %p(%s)\n",
1063
lua_topointer(L,1),lua_typename(L,lua_type(L,1)),
1065
lua_topointer(L,3),lua_typename(L,lua_type(L,3)));*/
1067
assert(lua_isuserdata(L,1)); /* just in case */
1068
lua_getmetatable(L,1); /* get the meta table */
1069
assert(lua_istable(L,-1)); /* just in case */
1071
SWIG_Lua_get_table(L,".set"); /* find the .set table */
1072
if (lua_istable(L,-1))
1074
/* look for the key in the .set table */
1075
lua_pushvalue(L,2); /* key */
1077
if (lua_iscfunction(L,-1))
1078
{ /* found it so call the fn & return its value */
1079
lua_pushvalue(L,1); /* userdata */
1080
lua_pushvalue(L,3); /* value */
1084
lua_pop(L,1); /* remove the value */
1086
lua_pop(L,1); /* remove the value .set table */
1087
/* NEW: looks for the __setitem() fn
1088
this is a user provided set fn */
1089
SWIG_Lua_get_table(L,"__setitem"); /* find the fn */
1090
if (lua_iscfunction(L,-1)) /* if its there */
1091
{ /* found it so call the fn & return its value */
1092
lua_pushvalue(L,1); /* the userdata */
1093
lua_pushvalue(L,2); /* the parameter */
1094
lua_pushvalue(L,3); /* the value */
1095
lua_call(L,3,0); /* 3 values in ,0 out */
1096
lua_remove(L,-2); /* stack tidy, remove metatable */
1102
/* the class.destruct method called by the interpreter */
1103
SWIGINTERN int SWIG_Lua_class_destruct(lua_State* L)
1105
/* there should be 1 params passed in
1106
(1) userdata (not the meta table) */
1107
swig_lua_userdata* usr;
1108
swig_lua_class* clss;
1109
assert(lua_isuserdata(L,-1)); /* just in case */
1110
usr=(swig_lua_userdata*)lua_touserdata(L,-1); /* get it */
1111
/* if must be destroyed & has a destructor */
1112
if (usr->own) /* if must be destroyed */
1114
clss=(swig_lua_class*)usr->type->clientdata; /* get the class */
1115
if (clss && clss->destructor) /* there is a destroy fn */
1117
clss->destructor(usr->ptr); /* bye bye */
1123
/* gets the swig class registry (or creates it) */
1124
SWIGINTERN void SWIG_Lua_get_class_registry(lua_State* L)
1126
/* add this all into the swig registry: */
1127
lua_pushstring(L,"SWIG");
1128
lua_rawget(L,LUA_REGISTRYINDEX); /* get the registry */
1129
if (!lua_istable(L,-1)) /* not there */
1130
{ /* must be first time, so add it */
1131
lua_pop(L,1); /* remove the result */
1132
lua_pushstring(L,"SWIG");
1134
lua_rawset(L,LUA_REGISTRYINDEX);
1136
lua_pushstring(L,"SWIG");
1137
lua_rawget(L,LUA_REGISTRYINDEX);
1141
/* helper fn to get the classes metatable from the register */
1142
SWIGINTERN void SWIG_Lua_get_class_metatable(lua_State* L,const char* cname)
1144
SWIG_Lua_get_class_registry(L); /* get the registry */
1145
lua_pushstring(L,cname); /* get the name */
1146
lua_rawget(L,-2); /* get it */
1147
lua_remove(L,-2); /* tidy up (remove registry) */
1150
/* helper add a variable to a registered class */
1151
SWIGINTERN void SWIG_Lua_add_class_variable(lua_State* L,const char* name,lua_CFunction getFn,lua_CFunction setFn)
1153
assert(lua_istable(L,-1)); /* just in case */
1154
SWIG_Lua_get_table(L,".get"); /* find the .get table */
1155
assert(lua_istable(L,-1)); /* just in case */
1156
SWIG_Lua_add_function(L,name,getFn);
1157
lua_pop(L,1); /* tidy stack (remove table) */
1160
SWIG_Lua_get_table(L,".set"); /* find the .set table */
1161
assert(lua_istable(L,-1)); /* just in case */
1162
SWIG_Lua_add_function(L,name,setFn);
1163
lua_pop(L,1); /* tidy stack (remove table) */
1167
/* helper to recursively add class details (attributes & operations) */
1168
SWIGINTERN void SWIG_Lua_add_class_details(lua_State* L,swig_lua_class* clss)
1171
/* call all the base classes first: we can then override these later: */
1172
for(i=0;clss->bases[i];i++)
1174
SWIG_Lua_add_class_details(L,clss->bases[i]);
1177
for(i=0;clss->attributes[i].name;i++){
1178
SWIG_Lua_add_class_variable(L,clss->attributes[i].name,clss->attributes[i].getmethod,clss->attributes[i].setmethod);
1180
/* add methods to the metatable */
1181
SWIG_Lua_get_table(L,".fn"); /* find the .fn table */
1182
assert(lua_istable(L,-1)); /* just in case */
1183
for(i=0;clss->methods[i].name;i++){
1184
SWIG_Lua_add_function(L,clss->methods[i].name,clss->methods[i].method);
1186
lua_pop(L,1); /* tidy stack (remove table) */
1187
/* add operator overloads
1188
these look ANY method which start with "__" and assume they
1189
are operator overloads & add them to the metatable
1190
(this might mess up is someone defines a method __gc (the destructor)*/
1191
for(i=0;clss->methods[i].name;i++){
1192
if (clss->methods[i].name[0]=='_' && clss->methods[i].name[1]=='_'){
1193
SWIG_Lua_add_function(L,clss->methods[i].name,clss->methods[i].method);
1198
/* set up the base classes pointers.
1199
Each class structure has a list of pointers to the base class structures.
1200
This function fills them.
1201
It cannot be done at compile time, as this will not work with hireachies
1202
spread over more than one swig file.
1203
Therefore it must be done at runtime, querying the SWIG type system.
1205
SWIGINTERN void SWIG_Lua_init_base_class(lua_State* L,swig_lua_class* clss)
1208
swig_module_info* module=SWIG_GetModule(L);
1209
for(i=0;clss->base_names[i];i++)
1211
if (clss->bases[i]==0) /* not found yet */
1213
/* lookup and cache the base class */
1214
swig_type_info *info = SWIG_TypeQueryModule(module,module,clss->base_names[i]);
1215
if (info) clss->bases[i] = (swig_lua_class *) info->clientdata;
1220
/* performs the entire class registration process */
1221
SWIGINTERN void SWIG_Lua_class_register(lua_State* L,swig_lua_class* clss)
1223
/* add its constructor to module with the name of the class
1224
so you can do MyClass(...) as well as new_MyClass(...)
1225
BUT only if a constructor is defined
1226
(this overcomes the problem of pure virtual classes without constructors)*/
1227
if (clss->constructor)
1228
SWIG_Lua_add_function(L,clss->name,clss->constructor);
1230
SWIG_Lua_get_class_registry(L); /* get the registry */
1231
lua_pushstring(L,clss->name); /* get the name */
1232
lua_newtable(L); /* create the metatable */
1233
/* add string of class name called ".type" */
1234
lua_pushstring(L,".type");
1235
lua_pushstring(L,clss->name);
1237
/* add a table called ".get" */
1238
lua_pushstring(L,".get");
1241
/* add a table called ".set" */
1242
lua_pushstring(L,".set");
1245
/* add a table called ".fn" */
1246
lua_pushstring(L,".fn");
1249
/* add accessor fns for using the .get,.set&.fn */
1250
SWIG_Lua_add_function(L,"__index",SWIG_Lua_class_get);
1251
SWIG_Lua_add_function(L,"__newindex",SWIG_Lua_class_set);
1252
SWIG_Lua_add_function(L,"__gc",SWIG_Lua_class_destruct);
1254
lua_rawset(L,-3); /* metatable into registry */
1255
lua_pop(L,1); /* tidy stack (remove registry) */
1257
SWIG_Lua_get_class_metatable(L,clss->name);
1258
SWIG_Lua_add_class_details(L,clss); /* recursive adding of details (atts & ops) */
1259
lua_pop(L,1); /* tidy stack (remove class metatable) */
1262
/* -----------------------------------------------------------------------------
1263
* Class/structure conversion fns
1264
* ----------------------------------------------------------------------------- */
1266
/* helper to add metatable to new lua object */
1267
SWIGINTERN void _SWIG_Lua_AddMetatable(lua_State* L,swig_type_info *type)
1269
if (type->clientdata) /* there is clientdata: so add the metatable */
1271
SWIG_Lua_get_class_metatable(L,((swig_lua_class*)(type->clientdata))->name);
1272
if (lua_istable(L,-1))
1274
lua_setmetatable(L,-2);
1283
/* pushes a new object into the lua stack */
1284
SWIGRUNTIME void SWIG_Lua_NewPointerObj(lua_State* L,void* ptr,swig_type_info *type, int own)
1286
swig_lua_userdata* usr;
1291
usr=(swig_lua_userdata*)lua_newuserdata(L,sizeof(swig_lua_userdata)); /* get data */
1292
usr->ptr=ptr; /* set the ptr */
1295
_SWIG_Lua_AddMetatable(L,type); /* add metatable */
1298
/* takes a object from the lua stack & converts it into an object of the correct type
1300
SWIGRUNTIME int SWIG_Lua_ConvertPtr(lua_State* L,int index,void** ptr,swig_type_info *type,int flags)
1302
swig_lua_userdata* usr;
1303
swig_cast_info *cast;
1304
if (lua_isnil(L,index)){*ptr=0; return SWIG_OK;} /* special case: lua nil => NULL pointer */
1305
usr=(swig_lua_userdata*)lua_touserdata(L,index); /* get data */
1308
if (flags & SWIG_POINTER_DISOWN) /* must disown the object */
1312
if (!type) /* special cast void*, no casting fn */
1315
return SWIG_OK; /* ok */
1317
cast=SWIG_TypeCheckStruct(usr->type,type); /* performs normal type checking */
1321
*ptr=SWIG_TypeCast(cast,usr->ptr,&newmemory);
1322
assert(!newmemory); /* newmemory handling not yet implemented */
1323
return SWIG_OK; /* ok */
1326
return SWIG_ERROR; /* error */
1329
SWIGRUNTIME void* SWIG_Lua_MustGetPtr(lua_State* L,int index,swig_type_info *type,int flags,
1330
int argnum,const char* func_name){
1332
if (!SWIG_IsOK(SWIG_ConvertPtr(L,index,&result,type,flags))){
1333
lua_pushfstring(L,"Error in %s, expected a %s at argument number %d\n",
1334
func_name,(type && type->str)?type->str:"void*",argnum);
1340
/* pushes a packed userdata. user for member fn pointers only */
1341
SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State* L,void* ptr,size_t size,swig_type_info *type)
1343
swig_lua_rawdata* raw;
1344
assert(ptr); /* not acceptable to pass in a NULL value */
1345
raw=(swig_lua_rawdata*)lua_newuserdata(L,sizeof(swig_lua_rawdata)-1+size); /* alloc data */
1348
memcpy(raw->data,ptr,size); /* copy the data */
1349
_SWIG_Lua_AddMetatable(L,type); /* add metatable */
1352
/* converts a packed userdata. user for member fn pointers only */
1353
SWIGRUNTIME int SWIG_Lua_ConvertPacked(lua_State* L,int index,void* ptr,size_t size,swig_type_info *type)
1355
swig_lua_rawdata* raw;
1356
raw=(swig_lua_rawdata*)lua_touserdata(L,index); /* get data */
1357
if (!raw) return SWIG_ERROR; /* error */
1358
if (type==0 || type==raw->type) /* void* or identical type */
1360
memcpy(ptr,raw->data,size); /* copy it */
1361
return SWIG_OK; /* ok */
1363
return SWIG_ERROR; /* error */
1366
/* a function to get the typestring of a piece of data */
1367
SWIGRUNTIME const char *SWIG_Lua_typename(lua_State *L, int tp)
1369
swig_lua_userdata* usr;
1370
if (lua_isuserdata(L,tp))
1372
usr=(swig_lua_userdata*)lua_touserdata(L,1); /* get data */
1373
if (usr && usr->type && usr->type->str)
1374
return usr->type->str;
1375
return "userdata (unknown type)";
1377
return lua_typename(L,lua_type(L,tp));
1380
/* lua callable function to get the userdata's type */
1381
SWIGRUNTIME int SWIG_Lua_type(lua_State* L)
1383
lua_pushstring(L,SWIG_Lua_typename(L,1));
1387
/* lua callable function to compare userdata's value
1388
the issue is that two userdata may point to the same thing
1389
but to lua, they are different objects */
1390
SWIGRUNTIME int SWIG_Lua_equal(lua_State* L)
1393
swig_lua_userdata *usr1,*usr2;
1394
if (!lua_isuserdata(L,1) || !lua_isuserdata(L,2)) /* just in case */
1395
return 0; /* nil reply */
1396
usr1=(swig_lua_userdata*)lua_touserdata(L,1); /* get data */
1397
usr2=(swig_lua_userdata*)lua_touserdata(L,2); /* get data */
1398
/*result=(usr1->ptr==usr2->ptr && usr1->type==usr2->type); only works if type is the same*/
1399
result=(usr1->ptr==usr2->ptr);
1400
lua_pushboolean(L,result);
1404
/* -----------------------------------------------------------------------------
1405
* global variable support code: class/struct typemap functions
1406
* ----------------------------------------------------------------------------- */
1408
/* Install Constants */
1410
SWIG_Lua_InstallConstants(lua_State* L, swig_lua_const_info constants[]) {
1412
for (i = 0; constants[i].type; i++) {
1413
switch(constants[i].type) {
1415
lua_pushstring(L,constants[i].name);
1416
lua_pushnumber(L,(lua_Number)constants[i].lvalue);
1419
case SWIG_LUA_FLOAT:
1420
lua_pushstring(L,constants[i].name);
1421
lua_pushnumber(L,(lua_Number)constants[i].dvalue);
1425
lua_pushstring(L,constants[i].name);
1426
lua_pushfstring(L,"%c",(char)constants[i].lvalue);
1429
case SWIG_LUA_STRING:
1430
lua_pushstring(L,constants[i].name);
1431
lua_pushstring(L,(char *) constants[i].pvalue);
1434
case SWIG_LUA_POINTER:
1435
lua_pushstring(L,constants[i].name);
1436
SWIG_NewPointerObj(L,constants[i].pvalue, *(constants[i]).ptype,0);
1439
case SWIG_LUA_BINARY:
1440
lua_pushstring(L,constants[i].name);
1441
SWIG_NewMemberObj(L,constants[i].pvalue,constants[i].lvalue,*(constants[i]).ptype);
1450
/* -----------------------------------------------------------------------------
1451
* executing lua code from within the wrapper
1452
* ----------------------------------------------------------------------------- */
1454
#ifndef SWIG_DOSTRING_FAIL /* Allows redefining of error function */
1455
#define SWIG_DOSTRING_FAIL(S) fprintf(stderr,"%s\n",S)
1457
/* Executes a C string in Lua a really simple way of calling lua from C
1458
Unfortunately lua keeps changing its API's, so we need a conditional compile
1459
In lua 5.0.X its lua_dostring()
1460
In lua 5.1.X its luaL_dostring()
1463
SWIG_Lua_dostring(lua_State *L, const char* str) {
1465
if (str==0 || str[0]==0) return 0; /* nothing to do */
1466
top=lua_gettop(L); /* save stack */
1467
#if (defined(LUA_VERSION_NUM) && (LUA_VERSION_NUM>=501))
1468
ok=luaL_dostring(L,str); /* looks like this is lua 5.1.X or later, good */
1470
ok=lua_dostring(L,str); /* might be lua 5.0.x, using lua_dostring */
1473
SWIG_DOSTRING_FAIL(lua_tostring(L,-1));
1475
lua_settop(L,top); /* restore the stack */
1483
/* ------------------------------ end luarun.swg ------------------------------ */
1486
/* -------- TYPES TABLE (BEGIN) -------- */
1488
#define SWIGTYPE_p_GHashTable swig_types[0]
1489
#define SWIGTYPE_p_GList swig_types[1]
1490
#define SWIGTYPE_p_GSList swig_types[2]
1491
#define SWIGTYPE_p_GTimeVal swig_types[3]
1492
#define SWIGTYPE_p_GtkButton swig_types[4]
1493
#define SWIGTYPE_p_GtkMenuItem swig_types[5]
1494
#define SWIGTYPE_p_GtkRadioAction swig_types[6]
1495
#define SWIGTYPE_p_GtkToggleAction swig_types[7]
1496
#define SWIGTYPE_p_GtkTreeIter swig_types[8]
1497
#define SWIGTYPE_p_GtkTreePath swig_types[9]
1498
#define SWIGTYPE_p_GtkTreeSelection swig_types[10]
1499
#define SWIGTYPE_p_GtkTreeSortable swig_types[11]
1500
#define SWIGTYPE_p_GtkTreeStore swig_types[12]
1501
#define SWIGTYPE_p_GtkTreeView swig_types[13]
1502
#define SWIGTYPE_p_GtkTreeViewColumn swig_types[14]
1503
#define SWIGTYPE_p_GtkWidget swig_types[15]
1504
#define SWIGTYPE_p_gpointer swig_types[16]
1505
#define SWIGTYPE_p_gulong swig_types[17]
1506
#define SWIGTYPE_p_item swig_types[18]
1507
#define SWIGTYPE_p_itemSetPtr swig_types[19]
1508
#define SWIGTYPE_p_node swig_types[20]
1509
#define SWIGTYPE_p_nodeSource swig_types[21]
1510
#define SWIGTYPE_p_nodeType swig_types[22]
1511
#define SWIGTYPE_p_nodeViewSortType swig_types[23]
1512
#define SWIGTYPE_p_nodeViewType swig_types[24]
1513
#define SWIGTYPE_p_socialSite swig_types[25]
1514
#define SWIGTYPE_p_subscription swig_types[26]
1515
#define SWIGTYPE_p_subscriptionType swig_types[27]
1516
#define SWIGTYPE_p_time_t swig_types[28]
1517
#define SWIGTYPE_p_updateJob swig_types[29]
1518
#define SWIGTYPE_p_updateOptionsPtr swig_types[30]
1519
#define SWIGTYPE_p_updateStatePtr swig_types[31]
1520
#define SWIGTYPE_p_xmlNodePtr swig_types[32]
1521
static swig_type_info *swig_types[34];
1522
static swig_module_info swig_module = {swig_types, 33, 0, 0, 0, 0};
1523
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1524
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1526
/* -------- TYPES TABLE (END) -------- */
1528
#define SWIG_name "liferea"
1529
#define SWIG_init luaopen_liferea
1530
#define SWIG_init_user luaopen_liferea_user
1532
#define SWIG_LUACODE luaopen_liferea_luacode
1535
#include "../node.h"
1536
#include "../feed.h"
1537
#include "../item.h"
1538
#include "../item_state.h"
1539
#include "../itemlist.h"
1540
#include "../social.h"
1541
#include "../subscription.h"
1543
#include "../ui/ui_feedlist.h"
1544
#include "../ui/ui_itemlist.h"
1545
#include "../ui/ui_node.h"
1550
static int _wrap_node_data_set(lua_State* L) {
1552
struct node *arg1 = (struct node *) 0 ;
1556
SWIG_check_num_args("data",2,2)
1557
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("data",1,"struct node *");
1558
if(!lua_isuserdata(L,2)) SWIG_fail_arg("data",2,"gpointer");
1560
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
1561
SWIG_fail_ptr("node_data_set",1,SWIGTYPE_p_node);
1565
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
1566
SWIG_fail_ptr("node_data_set",2,SWIGTYPE_p_gpointer);
1570
if (arg1) (arg1)->data = arg2;
1582
static int _wrap_node_data_get(lua_State* L) {
1584
struct node *arg1 = (struct node *) 0 ;
1587
SWIG_check_num_args("data",1,1)
1588
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("data",1,"struct node *");
1590
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
1591
SWIG_fail_ptr("node_data_get",1,SWIGTYPE_p_node);
1594
result = ((arg1)->data);
1596
gpointer * resultptr;
1597
resultptr = (gpointer *) malloc(sizeof(gpointer));
1598
memmove(resultptr, &result, sizeof(gpointer));
1599
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_gpointer,1); SWIG_arg++;
1611
static int _wrap_node_subscription_set(lua_State* L) {
1613
struct node *arg1 = (struct node *) 0 ;
1614
struct subscription *arg2 = (struct subscription *) 0 ;
1616
SWIG_check_num_args("subscription",2,2)
1617
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription",1,"struct node *");
1618
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("subscription",2,"struct subscription *");
1620
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
1621
SWIG_fail_ptr("node_subscription_set",1,SWIGTYPE_p_node);
1625
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_subscription,SWIG_POINTER_DISOWN))){
1626
SWIG_fail_ptr("node_subscription_set",2,SWIGTYPE_p_subscription);
1629
if (arg1) (arg1)->subscription = arg2;
1641
static int _wrap_node_subscription_get(lua_State* L) {
1643
struct node *arg1 = (struct node *) 0 ;
1644
struct subscription *result = 0 ;
1646
SWIG_check_num_args("subscription",1,1)
1647
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription",1,"struct node *");
1649
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
1650
SWIG_fail_ptr("node_subscription_get",1,SWIGTYPE_p_node);
1653
result = (struct subscription *) ((arg1)->subscription);
1654
SWIG_NewPointerObj(L,result,SWIGTYPE_p_subscription,0); SWIG_arg++;
1665
static int _wrap_node_type_set(lua_State* L) {
1667
struct node *arg1 = (struct node *) 0 ;
1668
struct nodeType *arg2 = (struct nodeType *) 0 ;
1670
SWIG_check_num_args("type",2,2)
1671
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("type",1,"struct node *");
1672
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("type",2,"struct nodeType *");
1674
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
1675
SWIG_fail_ptr("node_type_set",1,SWIGTYPE_p_node);
1679
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_nodeType,SWIG_POINTER_DISOWN))){
1680
SWIG_fail_ptr("node_type_set",2,SWIGTYPE_p_nodeType);
1683
if (arg1) (arg1)->type = arg2;
1695
static int _wrap_node_type_get(lua_State* L) {
1697
struct node *arg1 = (struct node *) 0 ;
1698
struct nodeType *result = 0 ;
1700
SWIG_check_num_args("type",1,1)
1701
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("type",1,"struct node *");
1703
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
1704
SWIG_fail_ptr("node_type_get",1,SWIGTYPE_p_node);
1707
result = (struct nodeType *) ((arg1)->type);
1708
SWIG_NewPointerObj(L,result,SWIGTYPE_p_nodeType,0); SWIG_arg++;
1719
static int _wrap_node_source_set(lua_State* L) {
1721
struct node *arg1 = (struct node *) 0 ;
1722
struct nodeSource *arg2 = (struct nodeSource *) 0 ;
1724
SWIG_check_num_args("source",2,2)
1725
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("source",1,"struct node *");
1726
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("source",2,"struct nodeSource *");
1728
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
1729
SWIG_fail_ptr("node_source_set",1,SWIGTYPE_p_node);
1733
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_nodeSource,SWIG_POINTER_DISOWN))){
1734
SWIG_fail_ptr("node_source_set",2,SWIGTYPE_p_nodeSource);
1737
if (arg1) (arg1)->source = arg2;
1749
static int _wrap_node_source_get(lua_State* L) {
1751
struct node *arg1 = (struct node *) 0 ;
1752
struct nodeSource *result = 0 ;
1754
SWIG_check_num_args("source",1,1)
1755
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("source",1,"struct node *");
1757
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
1758
SWIG_fail_ptr("node_source_get",1,SWIGTYPE_p_node);
1761
result = (struct nodeSource *) ((arg1)->source);
1762
SWIG_NewPointerObj(L,result,SWIGTYPE_p_nodeSource,0); SWIG_arg++;
1773
static int _wrap_node_iconFile_set(lua_State* L) {
1775
struct node *arg1 = (struct node *) 0 ;
1776
char *arg2 = (char *) 0 ;
1778
SWIG_check_num_args("iconFile",2,2)
1779
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("iconFile",1,"struct node *");
1780
if(!lua_isstring(L,2)) SWIG_fail_arg("iconFile",2,"char *");
1782
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
1783
SWIG_fail_ptr("node_iconFile_set",1,SWIGTYPE_p_node);
1786
arg2 = (char *)lua_tostring(L, 2);
1788
if (arg1->iconFile) free((char *)arg1->iconFile);
1790
arg1->iconFile = (char *) malloc(strlen((const char *)arg2)+1);
1791
strcpy((char *)arg1->iconFile, (const char *)arg2);
1807
static int _wrap_node_iconFile_get(lua_State* L) {
1809
struct node *arg1 = (struct node *) 0 ;
1812
SWIG_check_num_args("iconFile",1,1)
1813
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("iconFile",1,"struct node *");
1815
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
1816
SWIG_fail_ptr("node_iconFile_get",1,SWIGTYPE_p_node);
1819
result = (char *) ((arg1)->iconFile);
1820
lua_pushstring(L,(const char*)result); SWIG_arg++;
1831
static int _wrap_node_parent_set(lua_State* L) {
1833
struct node *arg1 = (struct node *) 0 ;
1834
struct node *arg2 = (struct node *) 0 ;
1836
SWIG_check_num_args("parent",2,2)
1837
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("parent",1,"struct node *");
1838
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("parent",2,"struct node *");
1840
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
1841
SWIG_fail_ptr("node_parent_set",1,SWIGTYPE_p_node);
1845
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_node,SWIG_POINTER_DISOWN))){
1846
SWIG_fail_ptr("node_parent_set",2,SWIGTYPE_p_node);
1849
if (arg1) (arg1)->parent = arg2;
1861
static int _wrap_node_parent_get(lua_State* L) {
1863
struct node *arg1 = (struct node *) 0 ;
1864
struct node *result = 0 ;
1866
SWIG_check_num_args("parent",1,1)
1867
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("parent",1,"struct node *");
1869
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
1870
SWIG_fail_ptr("node_parent_get",1,SWIGTYPE_p_node);
1873
result = (struct node *) ((arg1)->parent);
1874
SWIG_NewPointerObj(L,result,SWIGTYPE_p_node,0); SWIG_arg++;
1885
static int _wrap_node_children_set(lua_State* L) {
1887
struct node *arg1 = (struct node *) 0 ;
1888
GSList *arg2 = (GSList *) 0 ;
1890
SWIG_check_num_args("children",2,2)
1891
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("children",1,"struct node *");
1892
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("children",2,"GSList *");
1894
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
1895
SWIG_fail_ptr("node_children_set",1,SWIGTYPE_p_node);
1899
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_GSList,SWIG_POINTER_DISOWN))){
1900
SWIG_fail_ptr("node_children_set",2,SWIGTYPE_p_GSList);
1903
if (arg1) (arg1)->children = arg2;
1915
static int _wrap_node_children_get(lua_State* L) {
1917
struct node *arg1 = (struct node *) 0 ;
1918
GSList *result = 0 ;
1920
SWIG_check_num_args("children",1,1)
1921
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("children",1,"struct node *");
1923
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
1924
SWIG_fail_ptr("node_children_get",1,SWIGTYPE_p_node);
1927
result = (GSList *) ((arg1)->children);
1928
SWIG_NewPointerObj(L,result,SWIGTYPE_p_GSList,0); SWIG_arg++;
1939
static int _wrap_node_id_set(lua_State* L) {
1941
struct node *arg1 = (struct node *) 0 ;
1942
char *arg2 = (char *) 0 ;
1944
SWIG_check_num_args("id",2,2)
1945
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("id",1,"struct node *");
1946
if(!lua_isstring(L,2)) SWIG_fail_arg("id",2,"char *");
1948
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
1949
SWIG_fail_ptr("node_id_set",1,SWIGTYPE_p_node);
1952
arg2 = (char *)lua_tostring(L, 2);
1954
if (arg1->id) free((char *)arg1->id);
1956
arg1->id = (char *) malloc(strlen((const char *)arg2)+1);
1957
strcpy((char *)arg1->id, (const char *)arg2);
1973
static int _wrap_node_id_get(lua_State* L) {
1975
struct node *arg1 = (struct node *) 0 ;
1978
SWIG_check_num_args("id",1,1)
1979
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("id",1,"struct node *");
1981
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
1982
SWIG_fail_ptr("node_id_get",1,SWIGTYPE_p_node);
1985
result = (char *) ((arg1)->id);
1986
lua_pushstring(L,(const char*)result); SWIG_arg++;
1997
static int _wrap_node_itemCount_set(lua_State* L) {
1999
struct node *arg1 = (struct node *) 0 ;
2002
SWIG_check_num_args("itemCount",2,2)
2003
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("itemCount",1,"struct node *");
2004
if(!lua_isnumber(L,2)) SWIG_fail_arg("itemCount",2,"unsigned int");
2006
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2007
SWIG_fail_ptr("node_itemCount_set",1,SWIGTYPE_p_node);
2010
SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
2011
arg2 = (unsigned int)lua_tonumber(L, 2);
2012
if (arg1) (arg1)->itemCount = arg2;
2024
static int _wrap_node_itemCount_get(lua_State* L) {
2026
struct node *arg1 = (struct node *) 0 ;
2027
unsigned int result;
2029
SWIG_check_num_args("itemCount",1,1)
2030
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("itemCount",1,"struct node *");
2032
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2033
SWIG_fail_ptr("node_itemCount_get",1,SWIGTYPE_p_node);
2036
result = (unsigned int) ((arg1)->itemCount);
2037
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2048
static int _wrap_node_unreadCount_set(lua_State* L) {
2050
struct node *arg1 = (struct node *) 0 ;
2053
SWIG_check_num_args("unreadCount",2,2)
2054
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("unreadCount",1,"struct node *");
2055
if(!lua_isnumber(L,2)) SWIG_fail_arg("unreadCount",2,"unsigned int");
2057
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2058
SWIG_fail_ptr("node_unreadCount_set",1,SWIGTYPE_p_node);
2061
SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
2062
arg2 = (unsigned int)lua_tonumber(L, 2);
2063
if (arg1) (arg1)->unreadCount = arg2;
2075
static int _wrap_node_unreadCount_get(lua_State* L) {
2077
struct node *arg1 = (struct node *) 0 ;
2078
unsigned int result;
2080
SWIG_check_num_args("unreadCount",1,1)
2081
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("unreadCount",1,"struct node *");
2083
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2084
SWIG_fail_ptr("node_unreadCount_get",1,SWIGTYPE_p_node);
2087
result = (unsigned int) ((arg1)->unreadCount);
2088
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2099
static int _wrap_node_popupCount_set(lua_State* L) {
2101
struct node *arg1 = (struct node *) 0 ;
2104
SWIG_check_num_args("popupCount",2,2)
2105
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("popupCount",1,"struct node *");
2106
if(!lua_isnumber(L,2)) SWIG_fail_arg("popupCount",2,"unsigned int");
2108
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2109
SWIG_fail_ptr("node_popupCount_set",1,SWIGTYPE_p_node);
2112
SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
2113
arg2 = (unsigned int)lua_tonumber(L, 2);
2114
if (arg1) (arg1)->popupCount = arg2;
2126
static int _wrap_node_popupCount_get(lua_State* L) {
2128
struct node *arg1 = (struct node *) 0 ;
2129
unsigned int result;
2131
SWIG_check_num_args("popupCount",1,1)
2132
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("popupCount",1,"struct node *");
2134
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2135
SWIG_fail_ptr("node_popupCount_get",1,SWIGTYPE_p_node);
2138
result = (unsigned int) ((arg1)->popupCount);
2139
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2150
static int _wrap_node_newCount_set(lua_State* L) {
2152
struct node *arg1 = (struct node *) 0 ;
2155
SWIG_check_num_args("newCount",2,2)
2156
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("newCount",1,"struct node *");
2157
if(!lua_isnumber(L,2)) SWIG_fail_arg("newCount",2,"unsigned int");
2159
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2160
SWIG_fail_ptr("node_newCount_set",1,SWIGTYPE_p_node);
2163
SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
2164
arg2 = (unsigned int)lua_tonumber(L, 2);
2165
if (arg1) (arg1)->newCount = arg2;
2177
static int _wrap_node_newCount_get(lua_State* L) {
2179
struct node *arg1 = (struct node *) 0 ;
2180
unsigned int result;
2182
SWIG_check_num_args("newCount",1,1)
2183
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("newCount",1,"struct node *");
2185
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2186
SWIG_fail_ptr("node_newCount_get",1,SWIGTYPE_p_node);
2189
result = (unsigned int) ((arg1)->newCount);
2190
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2201
static int _wrap_node_title_set(lua_State* L) {
2203
struct node *arg1 = (struct node *) 0 ;
2204
char *arg2 = (char *) 0 ;
2206
SWIG_check_num_args("title",2,2)
2207
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("title",1,"struct node *");
2208
if(!lua_isstring(L,2)) SWIG_fail_arg("title",2,"char *");
2210
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2211
SWIG_fail_ptr("node_title_set",1,SWIGTYPE_p_node);
2214
arg2 = (char *)lua_tostring(L, 2);
2216
if (arg1->title) free((char *)arg1->title);
2218
arg1->title = (char *) malloc(strlen((const char *)arg2)+1);
2219
strcpy((char *)arg1->title, (const char *)arg2);
2235
static int _wrap_node_title_get(lua_State* L) {
2237
struct node *arg1 = (struct node *) 0 ;
2240
SWIG_check_num_args("title",1,1)
2241
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("title",1,"struct node *");
2243
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2244
SWIG_fail_ptr("node_title_get",1,SWIGTYPE_p_node);
2247
result = (char *) ((arg1)->title);
2248
lua_pushstring(L,(const char*)result); SWIG_arg++;
2259
static int _wrap_node_icon_set(lua_State* L) {
2261
struct node *arg1 = (struct node *) 0 ;
2265
SWIG_check_num_args("icon",2,2)
2266
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("icon",1,"struct node *");
2267
if(!lua_isuserdata(L,2)) SWIG_fail_arg("icon",2,"gpointer");
2269
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2270
SWIG_fail_ptr("node_icon_set",1,SWIGTYPE_p_node);
2274
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
2275
SWIG_fail_ptr("node_icon_set",2,SWIGTYPE_p_gpointer);
2279
if (arg1) (arg1)->icon = arg2;
2291
static int _wrap_node_icon_get(lua_State* L) {
2293
struct node *arg1 = (struct node *) 0 ;
2296
SWIG_check_num_args("icon",1,1)
2297
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("icon",1,"struct node *");
2299
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2300
SWIG_fail_ptr("node_icon_get",1,SWIGTYPE_p_node);
2303
result = ((arg1)->icon);
2305
gpointer * resultptr;
2306
resultptr = (gpointer *) malloc(sizeof(gpointer));
2307
memmove(resultptr, &result, sizeof(gpointer));
2308
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_gpointer,1); SWIG_arg++;
2320
static int _wrap_node_available_set(lua_State* L) {
2322
struct node *arg1 = (struct node *) 0 ;
2325
SWIG_check_num_args("available",2,2)
2326
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("available",1,"struct node *");
2327
if(!lua_isnumber(L,2)) SWIG_fail_arg("available",2,"int");
2329
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2330
SWIG_fail_ptr("node_available_set",1,SWIGTYPE_p_node);
2333
arg2 = (int)lua_tonumber(L, 2);
2334
if (arg1) (arg1)->available = arg2;
2346
static int _wrap_node_available_get(lua_State* L) {
2348
struct node *arg1 = (struct node *) 0 ;
2351
SWIG_check_num_args("available",1,1)
2352
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("available",1,"struct node *");
2354
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2355
SWIG_fail_ptr("node_available_get",1,SWIGTYPE_p_node);
2358
result = (int) ((arg1)->available);
2359
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2370
static int _wrap_node_expanded_set(lua_State* L) {
2372
struct node *arg1 = (struct node *) 0 ;
2375
SWIG_check_num_args("expanded",2,2)
2376
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("expanded",1,"struct node *");
2377
if(!lua_isnumber(L,2)) SWIG_fail_arg("expanded",2,"int");
2379
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2380
SWIG_fail_ptr("node_expanded_set",1,SWIGTYPE_p_node);
2383
arg2 = (int)lua_tonumber(L, 2);
2384
if (arg1) (arg1)->expanded = arg2;
2396
static int _wrap_node_expanded_get(lua_State* L) {
2398
struct node *arg1 = (struct node *) 0 ;
2401
SWIG_check_num_args("expanded",1,1)
2402
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("expanded",1,"struct node *");
2404
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2405
SWIG_fail_ptr("node_expanded_get",1,SWIGTYPE_p_node);
2408
result = (int) ((arg1)->expanded);
2409
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2420
static int _wrap_node_viewMode_set(lua_State* L) {
2422
struct node *arg1 = (struct node *) 0 ;
2424
nodeViewType *argp2 ;
2426
SWIG_check_num_args("viewMode",2,2)
2427
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("viewMode",1,"struct node *");
2428
if(!lua_isuserdata(L,2)) SWIG_fail_arg("viewMode",2,"nodeViewType");
2430
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2431
SWIG_fail_ptr("node_viewMode_set",1,SWIGTYPE_p_node);
2435
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_nodeViewType,0))){
2436
SWIG_fail_ptr("node_viewMode_set",2,SWIGTYPE_p_nodeViewType);
2440
if (arg1) (arg1)->viewMode = arg2;
2452
static int _wrap_node_viewMode_get(lua_State* L) {
2454
struct node *arg1 = (struct node *) 0 ;
2455
nodeViewType result;
2457
SWIG_check_num_args("viewMode",1,1)
2458
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("viewMode",1,"struct node *");
2460
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2461
SWIG_fail_ptr("node_viewMode_get",1,SWIGTYPE_p_node);
2464
result = ((arg1)->viewMode);
2466
nodeViewType * resultptr;
2467
resultptr = (nodeViewType *) malloc(sizeof(nodeViewType));
2468
memmove(resultptr, &result, sizeof(nodeViewType));
2469
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_nodeViewType,1); SWIG_arg++;
2481
static int _wrap_node_sortColumn_set(lua_State* L) {
2483
struct node *arg1 = (struct node *) 0 ;
2484
nodeViewSortType arg2 ;
2485
nodeViewSortType *argp2 ;
2487
SWIG_check_num_args("sortColumn",2,2)
2488
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("sortColumn",1,"struct node *");
2489
if(!lua_isuserdata(L,2)) SWIG_fail_arg("sortColumn",2,"nodeViewSortType");
2491
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2492
SWIG_fail_ptr("node_sortColumn_set",1,SWIGTYPE_p_node);
2496
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_nodeViewSortType,0))){
2497
SWIG_fail_ptr("node_sortColumn_set",2,SWIGTYPE_p_nodeViewSortType);
2501
if (arg1) (arg1)->sortColumn = arg2;
2513
static int _wrap_node_sortColumn_get(lua_State* L) {
2515
struct node *arg1 = (struct node *) 0 ;
2516
nodeViewSortType result;
2518
SWIG_check_num_args("sortColumn",1,1)
2519
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("sortColumn",1,"struct node *");
2521
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2522
SWIG_fail_ptr("node_sortColumn_get",1,SWIGTYPE_p_node);
2525
result = ((arg1)->sortColumn);
2527
nodeViewSortType * resultptr;
2528
resultptr = (nodeViewSortType *) malloc(sizeof(nodeViewSortType));
2529
memmove(resultptr, &result, sizeof(nodeViewSortType));
2530
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_nodeViewSortType,1); SWIG_arg++;
2542
static int _wrap_node_sortReversed_set(lua_State* L) {
2544
struct node *arg1 = (struct node *) 0 ;
2547
SWIG_check_num_args("sortReversed",2,2)
2548
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("sortReversed",1,"struct node *");
2549
if(!lua_isnumber(L,2)) SWIG_fail_arg("sortReversed",2,"int");
2551
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2552
SWIG_fail_ptr("node_sortReversed_set",1,SWIGTYPE_p_node);
2555
arg2 = (int)lua_tonumber(L, 2);
2556
if (arg1) (arg1)->sortReversed = arg2;
2568
static int _wrap_node_sortReversed_get(lua_State* L) {
2570
struct node *arg1 = (struct node *) 0 ;
2573
SWIG_check_num_args("sortReversed",1,1)
2574
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("sortReversed",1,"struct node *");
2576
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2577
SWIG_fail_ptr("node_sortReversed_get",1,SWIGTYPE_p_node);
2580
result = (int) ((arg1)->sortReversed);
2581
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2592
static int _wrap_node_needsUpdate_set(lua_State* L) {
2594
struct node *arg1 = (struct node *) 0 ;
2597
SWIG_check_num_args("needsUpdate",2,2)
2598
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("needsUpdate",1,"struct node *");
2599
if(!lua_isnumber(L,2)) SWIG_fail_arg("needsUpdate",2,"int");
2601
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2602
SWIG_fail_ptr("node_needsUpdate_set",1,SWIGTYPE_p_node);
2605
arg2 = (int)lua_tonumber(L, 2);
2606
if (arg1) (arg1)->needsUpdate = arg2;
2618
static int _wrap_node_needsUpdate_get(lua_State* L) {
2620
struct node *arg1 = (struct node *) 0 ;
2623
SWIG_check_num_args("needsUpdate",1,1)
2624
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("needsUpdate",1,"struct node *");
2626
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2627
SWIG_fail_ptr("node_needsUpdate_get",1,SWIGTYPE_p_node);
2630
result = (int) ((arg1)->needsUpdate);
2631
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2642
static int _wrap_node_needsRecount_set(lua_State* L) {
2644
struct node *arg1 = (struct node *) 0 ;
2647
SWIG_check_num_args("needsRecount",2,2)
2648
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("needsRecount",1,"struct node *");
2649
if(!lua_isnumber(L,2)) SWIG_fail_arg("needsRecount",2,"int");
2651
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2652
SWIG_fail_ptr("node_needsRecount_set",1,SWIGTYPE_p_node);
2655
arg2 = (int)lua_tonumber(L, 2);
2656
if (arg1) (arg1)->needsRecount = arg2;
2668
static int _wrap_node_needsRecount_get(lua_State* L) {
2670
struct node *arg1 = (struct node *) 0 ;
2673
SWIG_check_num_args("needsRecount",1,1)
2674
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("needsRecount",1,"struct node *");
2676
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2677
SWIG_fail_ptr("node_needsRecount_get",1,SWIGTYPE_p_node);
2680
result = (int) ((arg1)->needsRecount);
2681
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2692
static int _wrap_new_node(lua_State* L) {
2694
struct node *result = 0 ;
2696
SWIG_check_num_args("node::node",0,0)
2697
result = (struct node *)calloc(1, sizeof(struct node));
2698
SWIG_NewPointerObj(L,result,SWIGTYPE_p_node,1); SWIG_arg++;
2709
static void swig_delete_node(void *obj) {
2710
struct node *arg1 = (struct node *) obj;
2711
free((char *) arg1);
2713
static swig_lua_method swig_node_methods[] = {
2716
static swig_lua_attribute swig_node_attributes[] = {
2717
{ "data", _wrap_node_data_get, _wrap_node_data_set},
2718
{ "subscription", _wrap_node_subscription_get, _wrap_node_subscription_set},
2719
{ "type", _wrap_node_type_get, _wrap_node_type_set},
2720
{ "source", _wrap_node_source_get, _wrap_node_source_set},
2721
{ "iconFile", _wrap_node_iconFile_get, _wrap_node_iconFile_set},
2722
{ "parent", _wrap_node_parent_get, _wrap_node_parent_set},
2723
{ "children", _wrap_node_children_get, _wrap_node_children_set},
2724
{ "id", _wrap_node_id_get, _wrap_node_id_set},
2725
{ "itemCount", _wrap_node_itemCount_get, _wrap_node_itemCount_set},
2726
{ "unreadCount", _wrap_node_unreadCount_get, _wrap_node_unreadCount_set},
2727
{ "popupCount", _wrap_node_popupCount_get, _wrap_node_popupCount_set},
2728
{ "newCount", _wrap_node_newCount_get, _wrap_node_newCount_set},
2729
{ "title", _wrap_node_title_get, _wrap_node_title_set},
2730
{ "icon", _wrap_node_icon_get, _wrap_node_icon_set},
2731
{ "available", _wrap_node_available_get, _wrap_node_available_set},
2732
{ "expanded", _wrap_node_expanded_get, _wrap_node_expanded_set},
2733
{ "viewMode", _wrap_node_viewMode_get, _wrap_node_viewMode_set},
2734
{ "sortColumn", _wrap_node_sortColumn_get, _wrap_node_sortColumn_set},
2735
{ "sortReversed", _wrap_node_sortReversed_get, _wrap_node_sortReversed_set},
2736
{ "needsUpdate", _wrap_node_needsUpdate_get, _wrap_node_needsUpdate_set},
2737
{ "needsRecount", _wrap_node_needsRecount_get, _wrap_node_needsRecount_set},
2740
static swig_lua_class *swig_node_bases[] = {0};
2741
static const char *swig_node_base_names[] = {0};
2742
static swig_lua_class _wrap_class_node = { "node", &SWIGTYPE_p_node,_wrap_new_node, swig_delete_node, swig_node_methods, swig_node_attributes, swig_node_bases, swig_node_base_names };
2744
static int _wrap_node_new(lua_State* L) {
2746
struct nodeType *arg1 = (struct nodeType *) 0 ;
2749
SWIG_check_num_args("node_new",1,1)
2750
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_new",1,"struct nodeType *");
2752
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_nodeType,0))){
2753
SWIG_fail_ptr("node_new",1,SWIGTYPE_p_nodeType);
2756
result = (nodePtr)node_new(arg1);
2757
SWIG_NewPointerObj(L,result,SWIGTYPE_p_node,0); SWIG_arg++;
2768
static int _wrap_node_from_id(lua_State* L) {
2770
char *arg1 = (char *) 0 ;
2773
SWIG_check_num_args("node_from_id",1,1)
2774
if(!lua_isstring(L,1)) SWIG_fail_arg("node_from_id",1,"char const *");
2775
arg1 = (char *)lua_tostring(L, 1);
2776
result = (nodePtr)node_from_id((char const *)arg1);
2777
SWIG_NewPointerObj(L,result,SWIGTYPE_p_node,0); SWIG_arg++;
2788
static int _wrap_node_set_parent(lua_State* L) {
2790
nodePtr arg1 = (nodePtr) 0 ;
2791
nodePtr arg2 = (nodePtr) 0 ;
2794
SWIG_check_num_args("node_set_parent",3,3)
2795
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_set_parent",1,"nodePtr");
2796
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("node_set_parent",2,"nodePtr");
2797
if(!lua_isnumber(L,3)) SWIG_fail_arg("node_set_parent",3,"int");
2799
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2800
SWIG_fail_ptr("node_set_parent",1,SWIGTYPE_p_node);
2804
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_node,0))){
2805
SWIG_fail_ptr("node_set_parent",2,SWIGTYPE_p_node);
2808
arg3 = (int)lua_tonumber(L, 3);
2809
node_set_parent(arg1,arg2,arg3);
2821
static int _wrap_node_remove(lua_State* L) {
2823
nodePtr arg1 = (nodePtr) 0 ;
2825
SWIG_check_num_args("node_remove",1,1)
2826
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_remove",1,"nodePtr");
2828
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2829
SWIG_fail_ptr("node_remove",1,SWIGTYPE_p_node);
2844
static int _wrap_node_set_data(lua_State* L) {
2846
nodePtr arg1 = (nodePtr) 0 ;
2850
SWIG_check_num_args("node_set_data",2,2)
2851
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_set_data",1,"nodePtr");
2852
if(!lua_isuserdata(L,2)) SWIG_fail_arg("node_set_data",2,"gpointer");
2854
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2855
SWIG_fail_ptr("node_set_data",1,SWIGTYPE_p_node);
2859
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
2860
SWIG_fail_ptr("node_set_data",2,SWIGTYPE_p_gpointer);
2864
node_set_data(arg1,arg2);
2876
static int _wrap_node_set_subscription(lua_State* L) {
2878
nodePtr arg1 = (nodePtr) 0 ;
2879
struct subscription *arg2 = (struct subscription *) 0 ;
2881
SWIG_check_num_args("node_set_subscription",2,2)
2882
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_set_subscription",1,"nodePtr");
2883
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("node_set_subscription",2,"struct subscription *");
2885
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2886
SWIG_fail_ptr("node_set_subscription",1,SWIGTYPE_p_node);
2890
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_subscription,0))){
2891
SWIG_fail_ptr("node_set_subscription",2,SWIGTYPE_p_subscription);
2894
node_set_subscription(arg1,arg2);
2906
static int _wrap_node_update_subscription(lua_State* L) {
2908
nodePtr arg1 = (nodePtr) 0 ;
2912
SWIG_check_num_args("node_update_subscription",2,2)
2913
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_update_subscription",1,"nodePtr");
2914
if(!lua_isuserdata(L,2)) SWIG_fail_arg("node_update_subscription",2,"gpointer");
2916
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2917
SWIG_fail_ptr("node_update_subscription",1,SWIGTYPE_p_node);
2921
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
2922
SWIG_fail_ptr("node_update_subscription",2,SWIGTYPE_p_gpointer);
2926
node_update_subscription(arg1,arg2);
2938
static int _wrap_node_auto_update_subscription(lua_State* L) {
2940
nodePtr arg1 = (nodePtr) 0 ;
2942
SWIG_check_num_args("node_auto_update_subscription",1,1)
2943
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_auto_update_subscription",1,"nodePtr");
2945
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2946
SWIG_fail_ptr("node_auto_update_subscription",1,SWIGTYPE_p_node);
2949
node_auto_update_subscription(arg1);
2961
static int _wrap_node_reset_update_counter(lua_State* L) {
2963
nodePtr arg1 = (nodePtr) 0 ;
2964
GTimeVal *arg2 = (GTimeVal *) 0 ;
2966
SWIG_check_num_args("node_reset_update_counter",2,2)
2967
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_reset_update_counter",1,"nodePtr");
2968
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("node_reset_update_counter",2,"GTimeVal *");
2970
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
2971
SWIG_fail_ptr("node_reset_update_counter",1,SWIGTYPE_p_node);
2975
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_GTimeVal,0))){
2976
SWIG_fail_ptr("node_reset_update_counter",2,SWIGTYPE_p_GTimeVal);
2979
node_reset_update_counter(arg1,arg2);
2991
static int _wrap_node_is_ancestor(lua_State* L) {
2993
nodePtr arg1 = (nodePtr) 0 ;
2994
nodePtr arg2 = (nodePtr) 0 ;
2997
SWIG_check_num_args("node_is_ancestor",2,2)
2998
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_is_ancestor",1,"nodePtr");
2999
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("node_is_ancestor",2,"nodePtr");
3001
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3002
SWIG_fail_ptr("node_is_ancestor",1,SWIGTYPE_p_node);
3006
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_node,0))){
3007
SWIG_fail_ptr("node_is_ancestor",2,SWIGTYPE_p_node);
3010
result = (int)node_is_ancestor(arg1,arg2);
3011
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3022
static int _wrap_node_get_title(lua_State* L) {
3024
nodePtr arg1 = (nodePtr) 0 ;
3027
SWIG_check_num_args("node_get_title",1,1)
3028
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_get_title",1,"nodePtr");
3030
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3031
SWIG_fail_ptr("node_get_title",1,SWIGTYPE_p_node);
3034
result = (char *)node_get_title(arg1);
3035
lua_pushstring(L,(const char*)result); SWIG_arg++;
3046
static int _wrap_node_set_title(lua_State* L) {
3048
nodePtr arg1 = (nodePtr) 0 ;
3049
char *arg2 = (char *) 0 ;
3051
SWIG_check_num_args("node_set_title",2,2)
3052
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_set_title",1,"nodePtr");
3053
if(!lua_isstring(L,2)) SWIG_fail_arg("node_set_title",2,"char const *");
3055
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3056
SWIG_fail_ptr("node_set_title",1,SWIGTYPE_p_node);
3059
arg2 = (char *)lua_tostring(L, 2);
3060
node_set_title(arg1,(char const *)arg2);
3072
static int _wrap_node_update_counters(lua_State* L) {
3074
nodePtr arg1 = (nodePtr) 0 ;
3076
SWIG_check_num_args("node_update_counters",1,1)
3077
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_update_counters",1,"nodePtr");
3079
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3080
SWIG_fail_ptr("node_update_counters",1,SWIGTYPE_p_node);
3083
node_update_counters(arg1);
3095
static int _wrap_node_mark_all_read(lua_State* L) {
3097
nodePtr arg1 = (nodePtr) 0 ;
3099
SWIG_check_num_args("node_mark_all_read",1,1)
3100
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_mark_all_read",1,"nodePtr");
3102
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3103
SWIG_fail_ptr("node_mark_all_read",1,SWIGTYPE_p_node);
3106
node_mark_all_read(arg1);
3118
static int _wrap_node_set_icon(lua_State* L) {
3120
nodePtr arg1 = (nodePtr) 0 ;
3124
SWIG_check_num_args("node_set_icon",2,2)
3125
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_set_icon",1,"nodePtr");
3126
if(!lua_isuserdata(L,2)) SWIG_fail_arg("node_set_icon",2,"gpointer");
3128
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3129
SWIG_fail_ptr("node_set_icon",1,SWIGTYPE_p_node);
3133
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
3134
SWIG_fail_ptr("node_set_icon",2,SWIGTYPE_p_gpointer);
3138
node_set_icon(arg1,arg2);
3150
static int _wrap_node_get_icon(lua_State* L) {
3152
nodePtr arg1 = (nodePtr) 0 ;
3155
SWIG_check_num_args("node_get_icon",1,1)
3156
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_get_icon",1,"nodePtr");
3158
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3159
SWIG_fail_ptr("node_get_icon",1,SWIGTYPE_p_node);
3162
result = node_get_icon(arg1);
3164
gpointer * resultptr;
3165
resultptr = (gpointer *) malloc(sizeof(gpointer));
3166
memmove(resultptr, &result, sizeof(gpointer));
3167
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_gpointer,1); SWIG_arg++;
3179
static int _wrap_node_get_favicon_file(lua_State* L) {
3181
nodePtr arg1 = (nodePtr) 0 ;
3184
SWIG_check_num_args("node_get_favicon_file",1,1)
3185
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_get_favicon_file",1,"nodePtr");
3187
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3188
SWIG_fail_ptr("node_get_favicon_file",1,SWIGTYPE_p_node);
3191
result = (char *)node_get_favicon_file(arg1);
3192
lua_pushstring(L,(const char*)result); SWIG_arg++;
3203
static int _wrap_node_new_id(lua_State* L) {
3207
SWIG_check_num_args("node_new_id",0,0)
3208
result = (char *)node_new_id();
3209
lua_pushstring(L,(const char*)result); SWIG_arg++;
3220
static int _wrap_node_get_id(lua_State* L) {
3222
nodePtr arg1 = (nodePtr) 0 ;
3225
SWIG_check_num_args("node_get_id",1,1)
3226
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_get_id",1,"nodePtr");
3228
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3229
SWIG_fail_ptr("node_get_id",1,SWIGTYPE_p_node);
3232
result = (char *)node_get_id(arg1);
3233
lua_pushstring(L,(const char*)result); SWIG_arg++;
3244
static int _wrap_node_set_id(lua_State* L) {
3246
nodePtr arg1 = (nodePtr) 0 ;
3247
char *arg2 = (char *) 0 ;
3249
SWIG_check_num_args("node_set_id",2,2)
3250
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_set_id",1,"nodePtr");
3251
if(!lua_isstring(L,2)) SWIG_fail_arg("node_set_id",2,"char const *");
3253
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3254
SWIG_fail_ptr("node_set_id",1,SWIGTYPE_p_node);
3257
arg2 = (char *)lua_tostring(L, 2);
3258
node_set_id(arg1,(char const *)arg2);
3270
static int _wrap_node_free(lua_State* L) {
3272
nodePtr arg1 = (nodePtr) 0 ;
3274
SWIG_check_num_args("node_free",1,1)
3275
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_free",1,"nodePtr");
3277
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3278
SWIG_fail_ptr("node_free",1,SWIGTYPE_p_node);
3293
static int _wrap_node_default_render(lua_State* L) {
3295
nodePtr arg1 = (nodePtr) 0 ;
3298
SWIG_check_num_args("node_default_render",1,1)
3299
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_default_render",1,"nodePtr");
3301
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3302
SWIG_fail_ptr("node_default_render",1,SWIGTYPE_p_node);
3305
result = (char *)node_default_render(arg1);
3306
lua_pushstring(L,(const char*)result); SWIG_arg++;
3317
static int _wrap_node_save(lua_State* L) {
3319
nodePtr arg1 = (nodePtr) 0 ;
3321
SWIG_check_num_args("node_save",1,1)
3322
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_save",1,"nodePtr");
3324
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3325
SWIG_fail_ptr("node_save",1,SWIGTYPE_p_node);
3340
static int _wrap_node_get_itemset(lua_State* L) {
3342
nodePtr arg1 = (nodePtr) 0 ;
3345
SWIG_check_num_args("node_get_itemset",1,1)
3346
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_get_itemset",1,"nodePtr");
3348
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3349
SWIG_fail_ptr("node_get_itemset",1,SWIGTYPE_p_node);
3352
result = node_get_itemset(arg1);
3354
itemSetPtr * resultptr;
3355
resultptr = (itemSetPtr *) malloc(sizeof(itemSetPtr));
3356
memmove(resultptr, &result, sizeof(itemSetPtr));
3357
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_itemSetPtr,1); SWIG_arg++;
3369
static int _wrap_node_render(lua_State* L) {
3371
nodePtr arg1 = (nodePtr) 0 ;
3374
SWIG_check_num_args("node_render",1,1)
3375
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_render",1,"nodePtr");
3377
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3378
SWIG_fail_ptr("node_render",1,SWIGTYPE_p_node);
3381
result = (char *)node_render(arg1);
3382
lua_pushstring(L,(const char*)result); SWIG_arg++;
3393
static int _wrap_node_update_favicon(lua_State* L) {
3395
nodePtr arg1 = (nodePtr) 0 ;
3397
SWIG_check_num_args("node_update_favicon",1,1)
3398
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_update_favicon",1,"nodePtr");
3400
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3401
SWIG_fail_ptr("node_update_favicon",1,SWIGTYPE_p_node);
3404
node_update_favicon(arg1);
3416
static int _wrap_node_set_sort_column(lua_State* L) {
3418
nodePtr arg1 = (nodePtr) 0 ;
3423
SWIG_check_num_args("node_set_sort_column",3,3)
3424
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_set_sort_column",1,"nodePtr");
3425
if(!lua_isnumber(L,2)) SWIG_fail_arg("node_set_sort_column",2,"int");
3426
if(!lua_isnumber(L,3)) SWIG_fail_arg("node_set_sort_column",3,"int");
3428
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3429
SWIG_fail_ptr("node_set_sort_column",1,SWIGTYPE_p_node);
3432
arg2 = (int)lua_tonumber(L, 2);
3433
arg3 = (int)lua_tonumber(L, 3);
3434
result = (int)node_set_sort_column(arg1,arg2,arg3);
3435
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3446
static int _wrap_node_set_view_mode(lua_State* L) {
3448
nodePtr arg1 = (nodePtr) 0 ;
3450
nodeViewType *argp2 ;
3452
SWIG_check_num_args("node_set_view_mode",2,2)
3453
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_set_view_mode",1,"nodePtr");
3454
if(!lua_isuserdata(L,2)) SWIG_fail_arg("node_set_view_mode",2,"nodeViewType");
3456
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3457
SWIG_fail_ptr("node_set_view_mode",1,SWIGTYPE_p_node);
3461
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_nodeViewType,0))){
3462
SWIG_fail_ptr("node_set_view_mode",2,SWIGTYPE_p_nodeViewType);
3466
node_set_view_mode(arg1,arg2);
3478
static int _wrap_node_get_view_mode(lua_State* L) {
3480
nodePtr arg1 = (nodePtr) 0 ;
3481
nodeViewType result;
3483
SWIG_check_num_args("node_get_view_mode",1,1)
3484
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_get_view_mode",1,"nodePtr");
3486
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3487
SWIG_fail_ptr("node_get_view_mode",1,SWIGTYPE_p_node);
3490
result = node_get_view_mode(arg1);
3492
nodeViewType * resultptr;
3493
resultptr = (nodeViewType *) malloc(sizeof(nodeViewType));
3494
memmove(resultptr, &result, sizeof(nodeViewType));
3495
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_nodeViewType,1); SWIG_arg++;
3507
static int _wrap_node_load_link_preferred(lua_State* L) {
3509
nodePtr arg1 = (nodePtr) 0 ;
3512
SWIG_check_num_args("node_load_link_preferred",1,1)
3513
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_load_link_preferred",1,"nodePtr");
3515
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3516
SWIG_fail_ptr("node_load_link_preferred",1,SWIGTYPE_p_node);
3519
result = (int)node_load_link_preferred(arg1);
3520
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3531
static int _wrap_node_get_base_url(lua_State* L) {
3533
nodePtr arg1 = (nodePtr) 0 ;
3536
SWIG_check_num_args("node_get_base_url",1,1)
3537
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_get_base_url",1,"nodePtr");
3539
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3540
SWIG_fail_ptr("node_get_base_url",1,SWIGTYPE_p_node);
3543
result = (char *)node_get_base_url(arg1);
3544
lua_pushstring(L,(const char*)result); SWIG_arg++;
3555
static int _wrap_node_foreach_child_full(lua_State* L) {
3557
nodePtr arg1 = (nodePtr) 0 ;
3564
SWIG_check_num_args("node_foreach_child_full",4,4)
3565
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node_foreach_child_full",1,"nodePtr");
3566
if(!lua_isuserdata(L,2)) SWIG_fail_arg("node_foreach_child_full",2,"gpointer");
3567
if(!lua_isnumber(L,3)) SWIG_fail_arg("node_foreach_child_full",3,"int");
3568
if(!lua_isuserdata(L,4)) SWIG_fail_arg("node_foreach_child_full",4,"gpointer");
3570
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
3571
SWIG_fail_ptr("node_foreach_child_full",1,SWIGTYPE_p_node);
3575
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
3576
SWIG_fail_ptr("node_foreach_child_full",2,SWIGTYPE_p_gpointer);
3580
arg3 = (int)lua_tonumber(L, 3);
3582
if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_gpointer,0))){
3583
SWIG_fail_ptr("node_foreach_child_full",4,SWIGTYPE_p_gpointer);
3587
node_foreach_child_full(arg1,arg2,arg3,arg4);
3599
static int _wrap_item_id_set(lua_State* L) {
3601
struct item *arg1 = (struct item *) 0 ;
3605
SWIG_check_num_args("id",2,2)
3606
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("id",1,"struct item *");
3607
if(!lua_isuserdata(L,2)) SWIG_fail_arg("id",2,"gulong");
3609
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
3610
SWIG_fail_ptr("item_id_set",1,SWIGTYPE_p_item);
3614
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gulong,0))){
3615
SWIG_fail_ptr("item_id_set",2,SWIGTYPE_p_gulong);
3619
if (arg1) (arg1)->id = arg2;
3631
static int _wrap_item_id_get(lua_State* L) {
3633
struct item *arg1 = (struct item *) 0 ;
3636
SWIG_check_num_args("id",1,1)
3637
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("id",1,"struct item *");
3639
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
3640
SWIG_fail_ptr("item_id_get",1,SWIGTYPE_p_item);
3643
result = ((arg1)->id);
3646
resultptr = (gulong *) malloc(sizeof(gulong));
3647
memmove(resultptr, &result, sizeof(gulong));
3648
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_gulong,1); SWIG_arg++;
3660
static int _wrap_item_readStatus_set(lua_State* L) {
3662
struct item *arg1 = (struct item *) 0 ;
3665
SWIG_check_num_args("readStatus",2,2)
3666
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("readStatus",1,"struct item *");
3667
if(!lua_isnumber(L,2)) SWIG_fail_arg("readStatus",2,"int");
3669
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
3670
SWIG_fail_ptr("item_readStatus_set",1,SWIGTYPE_p_item);
3673
arg2 = (int)lua_tonumber(L, 2);
3674
if (arg1) (arg1)->readStatus = arg2;
3686
static int _wrap_item_readStatus_get(lua_State* L) {
3688
struct item *arg1 = (struct item *) 0 ;
3691
SWIG_check_num_args("readStatus",1,1)
3692
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("readStatus",1,"struct item *");
3694
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
3695
SWIG_fail_ptr("item_readStatus_get",1,SWIGTYPE_p_item);
3698
result = (int) ((arg1)->readStatus);
3699
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3710
static int _wrap_item_popupStatus_set(lua_State* L) {
3712
struct item *arg1 = (struct item *) 0 ;
3715
SWIG_check_num_args("popupStatus",2,2)
3716
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("popupStatus",1,"struct item *");
3717
if(!lua_isnumber(L,2)) SWIG_fail_arg("popupStatus",2,"int");
3719
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
3720
SWIG_fail_ptr("item_popupStatus_set",1,SWIGTYPE_p_item);
3723
arg2 = (int)lua_tonumber(L, 2);
3724
if (arg1) (arg1)->popupStatus = arg2;
3736
static int _wrap_item_popupStatus_get(lua_State* L) {
3738
struct item *arg1 = (struct item *) 0 ;
3741
SWIG_check_num_args("popupStatus",1,1)
3742
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("popupStatus",1,"struct item *");
3744
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
3745
SWIG_fail_ptr("item_popupStatus_get",1,SWIGTYPE_p_item);
3748
result = (int) ((arg1)->popupStatus);
3749
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3760
static int _wrap_item_updateStatus_set(lua_State* L) {
3762
struct item *arg1 = (struct item *) 0 ;
3765
SWIG_check_num_args("updateStatus",2,2)
3766
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("updateStatus",1,"struct item *");
3767
if(!lua_isnumber(L,2)) SWIG_fail_arg("updateStatus",2,"int");
3769
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
3770
SWIG_fail_ptr("item_updateStatus_set",1,SWIGTYPE_p_item);
3773
arg2 = (int)lua_tonumber(L, 2);
3774
if (arg1) (arg1)->updateStatus = arg2;
3786
static int _wrap_item_updateStatus_get(lua_State* L) {
3788
struct item *arg1 = (struct item *) 0 ;
3791
SWIG_check_num_args("updateStatus",1,1)
3792
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("updateStatus",1,"struct item *");
3794
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
3795
SWIG_fail_ptr("item_updateStatus_get",1,SWIGTYPE_p_item);
3798
result = (int) ((arg1)->updateStatus);
3799
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3810
static int _wrap_item_flagStatus_set(lua_State* L) {
3812
struct item *arg1 = (struct item *) 0 ;
3815
SWIG_check_num_args("flagStatus",2,2)
3816
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("flagStatus",1,"struct item *");
3817
if(!lua_isnumber(L,2)) SWIG_fail_arg("flagStatus",2,"int");
3819
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
3820
SWIG_fail_ptr("item_flagStatus_set",1,SWIGTYPE_p_item);
3823
arg2 = (int)lua_tonumber(L, 2);
3824
if (arg1) (arg1)->flagStatus = arg2;
3836
static int _wrap_item_flagStatus_get(lua_State* L) {
3838
struct item *arg1 = (struct item *) 0 ;
3841
SWIG_check_num_args("flagStatus",1,1)
3842
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("flagStatus",1,"struct item *");
3844
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
3845
SWIG_fail_ptr("item_flagStatus_get",1,SWIGTYPE_p_item);
3848
result = (int) ((arg1)->flagStatus);
3849
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3860
static int _wrap_item_hasEnclosure_set(lua_State* L) {
3862
struct item *arg1 = (struct item *) 0 ;
3865
SWIG_check_num_args("hasEnclosure",2,2)
3866
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("hasEnclosure",1,"struct item *");
3867
if(!lua_isnumber(L,2)) SWIG_fail_arg("hasEnclosure",2,"int");
3869
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
3870
SWIG_fail_ptr("item_hasEnclosure_set",1,SWIGTYPE_p_item);
3873
arg2 = (int)lua_tonumber(L, 2);
3874
if (arg1) (arg1)->hasEnclosure = arg2;
3886
static int _wrap_item_hasEnclosure_get(lua_State* L) {
3888
struct item *arg1 = (struct item *) 0 ;
3891
SWIG_check_num_args("hasEnclosure",1,1)
3892
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("hasEnclosure",1,"struct item *");
3894
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
3895
SWIG_fail_ptr("item_hasEnclosure_get",1,SWIGTYPE_p_item);
3898
result = (int) ((arg1)->hasEnclosure);
3899
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3910
static int _wrap_item_title_set(lua_State* L) {
3912
struct item *arg1 = (struct item *) 0 ;
3913
char *arg2 = (char *) 0 ;
3915
SWIG_check_num_args("title",2,2)
3916
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("title",1,"struct item *");
3917
if(!lua_isstring(L,2)) SWIG_fail_arg("title",2,"char *");
3919
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
3920
SWIG_fail_ptr("item_title_set",1,SWIGTYPE_p_item);
3923
arg2 = (char *)lua_tostring(L, 2);
3925
if (arg1->title) free((char *)arg1->title);
3927
arg1->title = (char *) malloc(strlen((const char *)arg2)+1);
3928
strcpy((char *)arg1->title, (const char *)arg2);
3944
static int _wrap_item_title_get(lua_State* L) {
3946
struct item *arg1 = (struct item *) 0 ;
3949
SWIG_check_num_args("title",1,1)
3950
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("title",1,"struct item *");
3952
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
3953
SWIG_fail_ptr("item_title_get",1,SWIGTYPE_p_item);
3956
result = (char *) ((arg1)->title);
3957
lua_pushstring(L,(const char*)result); SWIG_arg++;
3968
static int _wrap_item_source_set(lua_State* L) {
3970
struct item *arg1 = (struct item *) 0 ;
3971
char *arg2 = (char *) 0 ;
3973
SWIG_check_num_args("source",2,2)
3974
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("source",1,"struct item *");
3975
if(!lua_isstring(L,2)) SWIG_fail_arg("source",2,"char *");
3977
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
3978
SWIG_fail_ptr("item_source_set",1,SWIGTYPE_p_item);
3981
arg2 = (char *)lua_tostring(L, 2);
3983
if (arg1->source) free((char *)arg1->source);
3985
arg1->source = (char *) malloc(strlen((const char *)arg2)+1);
3986
strcpy((char *)arg1->source, (const char *)arg2);
4002
static int _wrap_item_source_get(lua_State* L) {
4004
struct item *arg1 = (struct item *) 0 ;
4007
SWIG_check_num_args("source",1,1)
4008
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("source",1,"struct item *");
4010
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4011
SWIG_fail_ptr("item_source_get",1,SWIGTYPE_p_item);
4014
result = (char *) ((arg1)->source);
4015
lua_pushstring(L,(const char*)result); SWIG_arg++;
4026
static int _wrap_item_sourceId_set(lua_State* L) {
4028
struct item *arg1 = (struct item *) 0 ;
4029
char *arg2 = (char *) 0 ;
4031
SWIG_check_num_args("sourceId",2,2)
4032
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("sourceId",1,"struct item *");
4033
if(!lua_isstring(L,2)) SWIG_fail_arg("sourceId",2,"char *");
4035
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4036
SWIG_fail_ptr("item_sourceId_set",1,SWIGTYPE_p_item);
4039
arg2 = (char *)lua_tostring(L, 2);
4041
if (arg1->sourceId) free((char *)arg1->sourceId);
4043
arg1->sourceId = (char *) malloc(strlen((const char *)arg2)+1);
4044
strcpy((char *)arg1->sourceId, (const char *)arg2);
4060
static int _wrap_item_sourceId_get(lua_State* L) {
4062
struct item *arg1 = (struct item *) 0 ;
4065
SWIG_check_num_args("sourceId",1,1)
4066
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("sourceId",1,"struct item *");
4068
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4069
SWIG_fail_ptr("item_sourceId_get",1,SWIGTYPE_p_item);
4072
result = (char *) ((arg1)->sourceId);
4073
lua_pushstring(L,(const char*)result); SWIG_arg++;
4084
static int _wrap_item_validGuid_set(lua_State* L) {
4086
struct item *arg1 = (struct item *) 0 ;
4089
SWIG_check_num_args("validGuid",2,2)
4090
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("validGuid",1,"struct item *");
4091
if(!lua_isnumber(L,2)) SWIG_fail_arg("validGuid",2,"int");
4093
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4094
SWIG_fail_ptr("item_validGuid_set",1,SWIGTYPE_p_item);
4097
arg2 = (int)lua_tonumber(L, 2);
4098
if (arg1) (arg1)->validGuid = arg2;
4110
static int _wrap_item_validGuid_get(lua_State* L) {
4112
struct item *arg1 = (struct item *) 0 ;
4115
SWIG_check_num_args("validGuid",1,1)
4116
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("validGuid",1,"struct item *");
4118
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4119
SWIG_fail_ptr("item_validGuid_get",1,SWIGTYPE_p_item);
4122
result = (int) ((arg1)->validGuid);
4123
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
4134
static int _wrap_item_description_set(lua_State* L) {
4136
struct item *arg1 = (struct item *) 0 ;
4137
char *arg2 = (char *) 0 ;
4139
SWIG_check_num_args("description",2,2)
4140
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("description",1,"struct item *");
4141
if(!lua_isstring(L,2)) SWIG_fail_arg("description",2,"char *");
4143
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4144
SWIG_fail_ptr("item_description_set",1,SWIGTYPE_p_item);
4147
arg2 = (char *)lua_tostring(L, 2);
4149
if (arg1->description) free((char *)arg1->description);
4151
arg1->description = (char *) malloc(strlen((const char *)arg2)+1);
4152
strcpy((char *)arg1->description, (const char *)arg2);
4154
arg1->description = 0;
4168
static int _wrap_item_description_get(lua_State* L) {
4170
struct item *arg1 = (struct item *) 0 ;
4173
SWIG_check_num_args("description",1,1)
4174
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("description",1,"struct item *");
4176
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4177
SWIG_fail_ptr("item_description_get",1,SWIGTYPE_p_item);
4180
result = (char *) ((arg1)->description);
4181
lua_pushstring(L,(const char*)result); SWIG_arg++;
4192
static int _wrap_item_metadata_set(lua_State* L) {
4194
struct item *arg1 = (struct item *) 0 ;
4195
GSList *arg2 = (GSList *) 0 ;
4197
SWIG_check_num_args("metadata",2,2)
4198
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("metadata",1,"struct item *");
4199
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("metadata",2,"GSList *");
4201
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4202
SWIG_fail_ptr("item_metadata_set",1,SWIGTYPE_p_item);
4206
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_GSList,SWIG_POINTER_DISOWN))){
4207
SWIG_fail_ptr("item_metadata_set",2,SWIGTYPE_p_GSList);
4210
if (arg1) (arg1)->metadata = arg2;
4222
static int _wrap_item_metadata_get(lua_State* L) {
4224
struct item *arg1 = (struct item *) 0 ;
4225
GSList *result = 0 ;
4227
SWIG_check_num_args("metadata",1,1)
4228
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("metadata",1,"struct item *");
4230
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4231
SWIG_fail_ptr("item_metadata_get",1,SWIGTYPE_p_item);
4234
result = (GSList *) ((arg1)->metadata);
4235
SWIG_NewPointerObj(L,result,SWIGTYPE_p_GSList,0); SWIG_arg++;
4246
static int _wrap_item_tmpdata_set(lua_State* L) {
4248
struct item *arg1 = (struct item *) 0 ;
4249
GHashTable *arg2 = (GHashTable *) 0 ;
4251
SWIG_check_num_args("tmpdata",2,2)
4252
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("tmpdata",1,"struct item *");
4253
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("tmpdata",2,"GHashTable *");
4255
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4256
SWIG_fail_ptr("item_tmpdata_set",1,SWIGTYPE_p_item);
4260
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_GHashTable,SWIG_POINTER_DISOWN))){
4261
SWIG_fail_ptr("item_tmpdata_set",2,SWIGTYPE_p_GHashTable);
4264
if (arg1) (arg1)->tmpdata = arg2;
4276
static int _wrap_item_tmpdata_get(lua_State* L) {
4278
struct item *arg1 = (struct item *) 0 ;
4279
GHashTable *result = 0 ;
4281
SWIG_check_num_args("tmpdata",1,1)
4282
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("tmpdata",1,"struct item *");
4284
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4285
SWIG_fail_ptr("item_tmpdata_get",1,SWIGTYPE_p_item);
4288
result = (GHashTable *) ((arg1)->tmpdata);
4289
SWIG_NewPointerObj(L,result,SWIGTYPE_p_GHashTable,0); SWIG_arg++;
4300
static int _wrap_item_time_set(lua_State* L) {
4302
struct item *arg1 = (struct item *) 0 ;
4306
SWIG_check_num_args("time",2,2)
4307
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("time",1,"struct item *");
4308
if(!lua_isuserdata(L,2)) SWIG_fail_arg("time",2,"time_t");
4310
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4311
SWIG_fail_ptr("item_time_set",1,SWIGTYPE_p_item);
4315
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_time_t,0))){
4316
SWIG_fail_ptr("item_time_set",2,SWIGTYPE_p_time_t);
4320
if (arg1) (arg1)->time = arg2;
4332
static int _wrap_item_time_get(lua_State* L) {
4334
struct item *arg1 = (struct item *) 0 ;
4337
SWIG_check_num_args("time",1,1)
4338
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("time",1,"struct item *");
4340
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4341
SWIG_fail_ptr("item_time_get",1,SWIGTYPE_p_item);
4344
result = ((arg1)->time);
4347
resultptr = (time_t *) malloc(sizeof(time_t));
4348
memmove(resultptr, &result, sizeof(time_t));
4349
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_time_t,1); SWIG_arg++;
4361
static int _wrap_item_commentFeedId_set(lua_State* L) {
4363
struct item *arg1 = (struct item *) 0 ;
4364
char *arg2 = (char *) 0 ;
4366
SWIG_check_num_args("commentFeedId",2,2)
4367
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("commentFeedId",1,"struct item *");
4368
if(!lua_isstring(L,2)) SWIG_fail_arg("commentFeedId",2,"char *");
4370
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4371
SWIG_fail_ptr("item_commentFeedId_set",1,SWIGTYPE_p_item);
4374
arg2 = (char *)lua_tostring(L, 2);
4376
if (arg1->commentFeedId) free((char *)arg1->commentFeedId);
4378
arg1->commentFeedId = (char *) malloc(strlen((const char *)arg2)+1);
4379
strcpy((char *)arg1->commentFeedId, (const char *)arg2);
4381
arg1->commentFeedId = 0;
4395
static int _wrap_item_commentFeedId_get(lua_State* L) {
4397
struct item *arg1 = (struct item *) 0 ;
4400
SWIG_check_num_args("commentFeedId",1,1)
4401
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("commentFeedId",1,"struct item *");
4403
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4404
SWIG_fail_ptr("item_commentFeedId_get",1,SWIGTYPE_p_item);
4407
result = (char *) ((arg1)->commentFeedId);
4408
lua_pushstring(L,(const char*)result); SWIG_arg++;
4419
static int _wrap_item_parentItemId_set(lua_State* L) {
4421
struct item *arg1 = (struct item *) 0 ;
4425
SWIG_check_num_args("parentItemId",2,2)
4426
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("parentItemId",1,"struct item *");
4427
if(!lua_isuserdata(L,2)) SWIG_fail_arg("parentItemId",2,"gulong");
4429
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4430
SWIG_fail_ptr("item_parentItemId_set",1,SWIGTYPE_p_item);
4434
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gulong,0))){
4435
SWIG_fail_ptr("item_parentItemId_set",2,SWIGTYPE_p_gulong);
4439
if (arg1) (arg1)->parentItemId = arg2;
4451
static int _wrap_item_parentItemId_get(lua_State* L) {
4453
struct item *arg1 = (struct item *) 0 ;
4456
SWIG_check_num_args("parentItemId",1,1)
4457
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("parentItemId",1,"struct item *");
4459
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4460
SWIG_fail_ptr("item_parentItemId_get",1,SWIGTYPE_p_item);
4463
result = ((arg1)->parentItemId);
4466
resultptr = (gulong *) malloc(sizeof(gulong));
4467
memmove(resultptr, &result, sizeof(gulong));
4468
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_gulong,1); SWIG_arg++;
4480
static int _wrap_item_isComment_set(lua_State* L) {
4482
struct item *arg1 = (struct item *) 0 ;
4485
SWIG_check_num_args("isComment",2,2)
4486
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("isComment",1,"struct item *");
4487
if(!lua_isnumber(L,2)) SWIG_fail_arg("isComment",2,"int");
4489
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4490
SWIG_fail_ptr("item_isComment_set",1,SWIGTYPE_p_item);
4493
arg2 = (int)lua_tonumber(L, 2);
4494
if (arg1) (arg1)->isComment = arg2;
4506
static int _wrap_item_isComment_get(lua_State* L) {
4508
struct item *arg1 = (struct item *) 0 ;
4511
SWIG_check_num_args("isComment",1,1)
4512
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("isComment",1,"struct item *");
4514
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4515
SWIG_fail_ptr("item_isComment_get",1,SWIGTYPE_p_item);
4518
result = (int) ((arg1)->isComment);
4519
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
4530
static int _wrap_item_nodeId_set(lua_State* L) {
4532
struct item *arg1 = (struct item *) 0 ;
4533
char *arg2 = (char *) 0 ;
4535
SWIG_check_num_args("nodeId",2,2)
4536
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("nodeId",1,"struct item *");
4537
if(!lua_isstring(L,2)) SWIG_fail_arg("nodeId",2,"char *");
4539
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4540
SWIG_fail_ptr("item_nodeId_set",1,SWIGTYPE_p_item);
4543
arg2 = (char *)lua_tostring(L, 2);
4545
if (arg1->nodeId) free((char *)arg1->nodeId);
4547
arg1->nodeId = (char *) malloc(strlen((const char *)arg2)+1);
4548
strcpy((char *)arg1->nodeId, (const char *)arg2);
4564
static int _wrap_item_nodeId_get(lua_State* L) {
4566
struct item *arg1 = (struct item *) 0 ;
4569
SWIG_check_num_args("nodeId",1,1)
4570
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("nodeId",1,"struct item *");
4572
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4573
SWIG_fail_ptr("item_nodeId_get",1,SWIGTYPE_p_item);
4576
result = (char *) ((arg1)->nodeId);
4577
lua_pushstring(L,(const char*)result); SWIG_arg++;
4588
static int _wrap_item_parentNodeId_set(lua_State* L) {
4590
struct item *arg1 = (struct item *) 0 ;
4591
char *arg2 = (char *) 0 ;
4593
SWIG_check_num_args("parentNodeId",2,2)
4594
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("parentNodeId",1,"struct item *");
4595
if(!lua_isstring(L,2)) SWIG_fail_arg("parentNodeId",2,"char *");
4597
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4598
SWIG_fail_ptr("item_parentNodeId_set",1,SWIGTYPE_p_item);
4601
arg2 = (char *)lua_tostring(L, 2);
4603
if (arg1->parentNodeId) free((char *)arg1->parentNodeId);
4605
arg1->parentNodeId = (char *) malloc(strlen((const char *)arg2)+1);
4606
strcpy((char *)arg1->parentNodeId, (const char *)arg2);
4608
arg1->parentNodeId = 0;
4622
static int _wrap_item_parentNodeId_get(lua_State* L) {
4624
struct item *arg1 = (struct item *) 0 ;
4627
SWIG_check_num_args("parentNodeId",1,1)
4628
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("parentNodeId",1,"struct item *");
4630
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4631
SWIG_fail_ptr("item_parentNodeId_get",1,SWIGTYPE_p_item);
4634
result = (char *) ((arg1)->parentNodeId);
4635
lua_pushstring(L,(const char*)result); SWIG_arg++;
4646
static int _wrap_item_sourceNr_set(lua_State* L) {
4648
struct item *arg1 = (struct item *) 0 ;
4652
SWIG_check_num_args("sourceNr",2,2)
4653
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("sourceNr",1,"struct item *");
4654
if(!lua_isuserdata(L,2)) SWIG_fail_arg("sourceNr",2,"gulong");
4656
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4657
SWIG_fail_ptr("item_sourceNr_set",1,SWIGTYPE_p_item);
4661
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gulong,0))){
4662
SWIG_fail_ptr("item_sourceNr_set",2,SWIGTYPE_p_gulong);
4666
if (arg1) (arg1)->sourceNr = arg2;
4678
static int _wrap_item_sourceNr_get(lua_State* L) {
4680
struct item *arg1 = (struct item *) 0 ;
4683
SWIG_check_num_args("sourceNr",1,1)
4684
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("sourceNr",1,"struct item *");
4686
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4687
SWIG_fail_ptr("item_sourceNr_get",1,SWIGTYPE_p_item);
4690
result = ((arg1)->sourceNr);
4693
resultptr = (gulong *) malloc(sizeof(gulong));
4694
memmove(resultptr, &result, sizeof(gulong));
4695
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_gulong,1); SWIG_arg++;
4707
static int _wrap_new_item(lua_State* L) {
4709
struct item *result = 0 ;
4711
SWIG_check_num_args("item::item",0,0)
4712
result = (struct item *)calloc(1, sizeof(struct item));
4713
SWIG_NewPointerObj(L,result,SWIGTYPE_p_item,1); SWIG_arg++;
4724
static void swig_delete_item(void *obj) {
4725
struct item *arg1 = (struct item *) obj;
4726
free((char *) arg1);
4728
static swig_lua_method swig_item_methods[] = {
4731
static swig_lua_attribute swig_item_attributes[] = {
4732
{ "id", _wrap_item_id_get, _wrap_item_id_set},
4733
{ "readStatus", _wrap_item_readStatus_get, _wrap_item_readStatus_set},
4734
{ "popupStatus", _wrap_item_popupStatus_get, _wrap_item_popupStatus_set},
4735
{ "updateStatus", _wrap_item_updateStatus_get, _wrap_item_updateStatus_set},
4736
{ "flagStatus", _wrap_item_flagStatus_get, _wrap_item_flagStatus_set},
4737
{ "hasEnclosure", _wrap_item_hasEnclosure_get, _wrap_item_hasEnclosure_set},
4738
{ "title", _wrap_item_title_get, _wrap_item_title_set},
4739
{ "source", _wrap_item_source_get, _wrap_item_source_set},
4740
{ "sourceId", _wrap_item_sourceId_get, _wrap_item_sourceId_set},
4741
{ "validGuid", _wrap_item_validGuid_get, _wrap_item_validGuid_set},
4742
{ "description", _wrap_item_description_get, _wrap_item_description_set},
4743
{ "metadata", _wrap_item_metadata_get, _wrap_item_metadata_set},
4744
{ "tmpdata", _wrap_item_tmpdata_get, _wrap_item_tmpdata_set},
4745
{ "time", _wrap_item_time_get, _wrap_item_time_set},
4746
{ "commentFeedId", _wrap_item_commentFeedId_get, _wrap_item_commentFeedId_set},
4747
{ "parentItemId", _wrap_item_parentItemId_get, _wrap_item_parentItemId_set},
4748
{ "isComment", _wrap_item_isComment_get, _wrap_item_isComment_set},
4749
{ "nodeId", _wrap_item_nodeId_get, _wrap_item_nodeId_set},
4750
{ "parentNodeId", _wrap_item_parentNodeId_get, _wrap_item_parentNodeId_set},
4751
{ "sourceNr", _wrap_item_sourceNr_get, _wrap_item_sourceNr_set},
4754
static swig_lua_class *swig_item_bases[] = {0};
4755
static const char *swig_item_base_names[] = {0};
4756
static swig_lua_class _wrap_class_item = { "item", &SWIGTYPE_p_item,_wrap_new_item, swig_delete_item, swig_item_methods, swig_item_attributes, swig_item_bases, swig_item_base_names };
4758
static int _wrap_item_new(lua_State* L) {
4762
SWIG_check_num_args("item_new",0,0)
4763
result = (itemPtr)item_new();
4764
SWIG_NewPointerObj(L,result,SWIGTYPE_p_item,0); SWIG_arg++;
4775
static int _wrap_item_load(lua_State* L) {
4781
SWIG_check_num_args("item_load",1,1)
4782
if(!lua_isuserdata(L,1)) SWIG_fail_arg("item_load",1,"gulong");
4784
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_gulong,0))){
4785
SWIG_fail_ptr("item_load",1,SWIGTYPE_p_gulong);
4789
result = (itemPtr)item_load(arg1);
4790
SWIG_NewPointerObj(L,result,SWIGTYPE_p_item,0); SWIG_arg++;
4801
static int _wrap_item_copy(lua_State* L) {
4803
itemPtr arg1 = (itemPtr) 0 ;
4806
SWIG_check_num_args("item_copy",1,1)
4807
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("item_copy",1,"itemPtr");
4809
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4810
SWIG_fail_ptr("item_copy",1,SWIGTYPE_p_item);
4813
result = (itemPtr)item_copy(arg1);
4814
SWIG_NewPointerObj(L,result,SWIGTYPE_p_item,0); SWIG_arg++;
4825
static int _wrap_item_get_base_url(lua_State* L) {
4827
itemPtr arg1 = (itemPtr) 0 ;
4830
SWIG_check_num_args("item_get_base_url",1,1)
4831
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("item_get_base_url",1,"itemPtr");
4833
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4834
SWIG_fail_ptr("item_get_base_url",1,SWIGTYPE_p_item);
4837
result = (char *)item_get_base_url(arg1);
4838
lua_pushstring(L,(const char*)result); SWIG_arg++;
4849
static int _wrap_item_unload(lua_State* L) {
4851
itemPtr arg1 = (itemPtr) 0 ;
4853
SWIG_check_num_args("item_unload",1,1)
4854
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("item_unload",1,"itemPtr");
4856
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4857
SWIG_fail_ptr("item_unload",1,SWIGTYPE_p_item);
4872
static int _wrap_item_get_id(lua_State* L) {
4874
itemPtr arg1 = (itemPtr) 0 ;
4877
SWIG_check_num_args("item_get_id",1,1)
4878
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("item_get_id",1,"itemPtr");
4880
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4881
SWIG_fail_ptr("item_get_id",1,SWIGTYPE_p_item);
4884
result = (char *)item_get_id(arg1);
4885
lua_pushstring(L,(const char*)result); SWIG_arg++;
4896
static int _wrap_item_get_title(lua_State* L) {
4898
itemPtr arg1 = (itemPtr) 0 ;
4901
SWIG_check_num_args("item_get_title",1,1)
4902
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("item_get_title",1,"itemPtr");
4904
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4905
SWIG_fail_ptr("item_get_title",1,SWIGTYPE_p_item);
4908
result = (char *)item_get_title(arg1);
4909
lua_pushstring(L,(const char*)result); SWIG_arg++;
4920
static int _wrap_item_get_description(lua_State* L) {
4922
itemPtr arg1 = (itemPtr) 0 ;
4925
SWIG_check_num_args("item_get_description",1,1)
4926
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("item_get_description",1,"itemPtr");
4928
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4929
SWIG_fail_ptr("item_get_description",1,SWIGTYPE_p_item);
4932
result = (char *)item_get_description(arg1);
4933
lua_pushstring(L,(const char*)result); SWIG_arg++;
4944
static int _wrap_item_get_source(lua_State* L) {
4946
itemPtr arg1 = (itemPtr) 0 ;
4949
SWIG_check_num_args("item_get_source",1,1)
4950
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("item_get_source",1,"itemPtr");
4952
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4953
SWIG_fail_ptr("item_get_source",1,SWIGTYPE_p_item);
4956
result = (char *)item_get_source(arg1);
4957
lua_pushstring(L,(const char*)result); SWIG_arg++;
4968
static int _wrap_item_set_title(lua_State* L) {
4970
itemPtr arg1 = (itemPtr) 0 ;
4971
char *arg2 = (char *) 0 ;
4973
SWIG_check_num_args("item_set_title",2,2)
4974
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("item_set_title",1,"itemPtr");
4975
if(!lua_isstring(L,2)) SWIG_fail_arg("item_set_title",2,"char const *");
4977
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4978
SWIG_fail_ptr("item_set_title",1,SWIGTYPE_p_item);
4981
arg2 = (char *)lua_tostring(L, 2);
4982
item_set_title(arg1,(char const *)arg2);
4994
static int _wrap_item_set_description(lua_State* L) {
4996
itemPtr arg1 = (itemPtr) 0 ;
4997
char *arg2 = (char *) 0 ;
4999
SWIG_check_num_args("item_set_description",2,2)
5000
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("item_set_description",1,"itemPtr");
5001
if(!lua_isstring(L,2)) SWIG_fail_arg("item_set_description",2,"char const *");
5003
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
5004
SWIG_fail_ptr("item_set_description",1,SWIGTYPE_p_item);
5007
arg2 = (char *)lua_tostring(L, 2);
5008
item_set_description(arg1,(char const *)arg2);
5020
static int _wrap_item_set_source(lua_State* L) {
5022
itemPtr arg1 = (itemPtr) 0 ;
5023
char *arg2 = (char *) 0 ;
5025
SWIG_check_num_args("item_set_source",2,2)
5026
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("item_set_source",1,"itemPtr");
5027
if(!lua_isstring(L,2)) SWIG_fail_arg("item_set_source",2,"char const *");
5029
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
5030
SWIG_fail_ptr("item_set_source",1,SWIGTYPE_p_item);
5033
arg2 = (char *)lua_tostring(L, 2);
5034
item_set_source(arg1,(char const *)arg2);
5046
static int _wrap_item_set_id(lua_State* L) {
5048
itemPtr arg1 = (itemPtr) 0 ;
5049
char *arg2 = (char *) 0 ;
5051
SWIG_check_num_args("item_set_id",2,2)
5052
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("item_set_id",1,"itemPtr");
5053
if(!lua_isstring(L,2)) SWIG_fail_arg("item_set_id",2,"char const *");
5055
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
5056
SWIG_fail_ptr("item_set_id",1,SWIGTYPE_p_item);
5059
arg2 = (char *)lua_tostring(L, 2);
5060
item_set_id(arg1,(char const *)arg2);
5072
static int _wrap_item_to_xml(lua_State* L) {
5074
itemPtr arg1 = (itemPtr) 0 ;
5078
SWIG_check_num_args("item_to_xml",2,2)
5079
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("item_to_xml",1,"itemPtr");
5080
if(!lua_isuserdata(L,2)) SWIG_fail_arg("item_to_xml",2,"xmlNodePtr");
5082
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
5083
SWIG_fail_ptr("item_to_xml",1,SWIGTYPE_p_item);
5087
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_xmlNodePtr,0))){
5088
SWIG_fail_ptr("item_to_xml",2,SWIGTYPE_p_xmlNodePtr);
5092
item_to_xml(arg1,arg2);
5104
static int _wrap_item_set_flag_state(lua_State* L) {
5106
itemPtr arg1 = (itemPtr) 0 ;
5109
SWIG_check_num_args("item_set_flag_state",2,2)
5110
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("item_set_flag_state",1,"itemPtr");
5111
if(!lua_isnumber(L,2)) SWIG_fail_arg("item_set_flag_state",2,"int");
5113
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
5114
SWIG_fail_ptr("item_set_flag_state",1,SWIGTYPE_p_item);
5117
arg2 = (int)lua_tonumber(L, 2);
5118
item_set_flag_state(arg1,arg2);
5130
static int _wrap_item_flag_state_changed(lua_State* L) {
5132
itemPtr arg1 = (itemPtr) 0 ;
5135
SWIG_check_num_args("item_flag_state_changed",2,2)
5136
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("item_flag_state_changed",1,"itemPtr");
5137
if(!lua_isnumber(L,2)) SWIG_fail_arg("item_flag_state_changed",2,"int");
5139
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
5140
SWIG_fail_ptr("item_flag_state_changed",1,SWIGTYPE_p_item);
5143
arg2 = (int)lua_tonumber(L, 2);
5144
item_flag_state_changed(arg1,arg2);
5156
static int _wrap_item_set_read_state(lua_State* L) {
5158
itemPtr arg1 = (itemPtr) 0 ;
5161
SWIG_check_num_args("item_set_read_state",2,2)
5162
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("item_set_read_state",1,"itemPtr");
5163
if(!lua_isnumber(L,2)) SWIG_fail_arg("item_set_read_state",2,"int");
5165
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
5166
SWIG_fail_ptr("item_set_read_state",1,SWIGTYPE_p_item);
5169
arg2 = (int)lua_tonumber(L, 2);
5170
item_set_read_state(arg1,arg2);
5182
static int _wrap_item_read_state_changed(lua_State* L) {
5184
itemPtr arg1 = (itemPtr) 0 ;
5187
SWIG_check_num_args("item_read_state_changed",2,2)
5188
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("item_read_state_changed",1,"itemPtr");
5189
if(!lua_isnumber(L,2)) SWIG_fail_arg("item_read_state_changed",2,"int");
5191
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
5192
SWIG_fail_ptr("item_read_state_changed",1,SWIGTYPE_p_item);
5195
arg2 = (int)lua_tonumber(L, 2);
5196
item_read_state_changed(arg1,arg2);
5208
static int _wrap_itemset_mark_read(lua_State* L) {
5210
nodePtr arg1 = (nodePtr) 0 ;
5212
SWIG_check_num_args("itemset_mark_read",1,1)
5213
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("itemset_mark_read",1,"nodePtr");
5215
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
5216
SWIG_fail_ptr("itemset_mark_read",1,SWIGTYPE_p_node);
5219
itemset_mark_read(arg1);
5231
static int _wrap_item_state_set_all_popup(lua_State* L) {
5233
char *arg1 = (char *) 0 ;
5235
SWIG_check_num_args("item_state_set_all_popup",1,1)
5236
if(!lua_isstring(L,1)) SWIG_fail_arg("item_state_set_all_popup",1,"char const *");
5237
arg1 = (char *)lua_tostring(L, 1);
5238
item_state_set_all_popup((char const *)arg1);
5250
static int _wrap_itemlist_free(lua_State* L) {
5253
SWIG_check_num_args("itemlist_free",0,0)
5266
static int _wrap_itemlist_get_displayed_node(lua_State* L) {
5268
struct node *result = 0 ;
5270
SWIG_check_num_args("itemlist_get_displayed_node",0,0)
5271
result = (struct node *)itemlist_get_displayed_node();
5272
SWIG_NewPointerObj(L,result,SWIGTYPE_p_node,0); SWIG_arg++;
5283
static int _wrap_itemlist_get_selected(lua_State* L) {
5287
SWIG_check_num_args("itemlist_get_selected",0,0)
5288
result = (itemPtr)itemlist_get_selected();
5289
SWIG_NewPointerObj(L,result,SWIGTYPE_p_item,0); SWIG_arg++;
5300
static int _wrap_itemlist_get_selected_id(lua_State* L) {
5304
SWIG_check_num_args("itemlist_get_selected_id",0,0)
5305
result = itemlist_get_selected_id();
5308
resultptr = (gulong *) malloc(sizeof(gulong));
5309
memmove(resultptr, &result, sizeof(gulong));
5310
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_gulong,1); SWIG_arg++;
5322
static int _wrap_itemlist_merge_itemset(lua_State* L) {
5327
SWIG_check_num_args("itemlist_merge_itemset",1,1)
5328
if(!lua_isuserdata(L,1)) SWIG_fail_arg("itemlist_merge_itemset",1,"itemSetPtr");
5330
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_itemSetPtr,0))){
5331
SWIG_fail_ptr("itemlist_merge_itemset",1,SWIGTYPE_p_itemSetPtr);
5335
itemlist_merge_itemset(arg1);
5347
static int _wrap_itemlist_load_search_result(lua_State* L) {
5352
SWIG_check_num_args("itemlist_load_search_result",1,1)
5353
if(!lua_isuserdata(L,1)) SWIG_fail_arg("itemlist_load_search_result",1,"itemSetPtr");
5355
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_itemSetPtr,0))){
5356
SWIG_fail_ptr("itemlist_load_search_result",1,SWIGTYPE_p_itemSetPtr);
5360
itemlist_load_search_result(arg1);
5372
static int _wrap_itemlist_load(lua_State* L) {
5374
struct node *arg1 = (struct node *) 0 ;
5376
SWIG_check_num_args("itemlist_load",1,1)
5377
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("itemlist_load",1,"struct node *");
5379
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
5380
SWIG_fail_ptr("itemlist_load",1,SWIGTYPE_p_node);
5383
itemlist_load(arg1);
5395
static int _wrap_itemlist_unload(lua_State* L) {
5399
SWIG_check_num_args("itemlist_unload",1,1)
5400
if(!lua_isnumber(L,1)) SWIG_fail_arg("itemlist_unload",1,"int");
5401
arg1 = (int)lua_tonumber(L, 1);
5402
itemlist_unload(arg1);
5414
static int _wrap_itemlist_set_view_mode(lua_State* L) {
5418
SWIG_check_num_args("itemlist_set_view_mode",1,1)
5419
if(!lua_isnumber(L,1)) SWIG_fail_arg("itemlist_set_view_mode",1,"unsigned int");
5420
SWIG_contract_assert((lua_tonumber(L,1)>=0),"number must not be negative")
5421
arg1 = (unsigned int)lua_tonumber(L, 1);
5422
itemlist_set_view_mode(arg1);
5434
static int _wrap_itemlist_get_view_mode(lua_State* L) {
5436
unsigned int result;
5438
SWIG_check_num_args("itemlist_get_view_mode",0,0)
5439
result = (unsigned int)itemlist_get_view_mode();
5440
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5451
static int _wrap_on_view_activate(lua_State* L) {
5453
GtkRadioAction *arg1 = (GtkRadioAction *) 0 ;
5454
GtkRadioAction *arg2 = (GtkRadioAction *) 0 ;
5458
SWIG_check_num_args("on_view_activate",3,3)
5459
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_view_activate",1,"GtkRadioAction *");
5460
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("on_view_activate",2,"GtkRadioAction *");
5461
if(!lua_isuserdata(L,3)) SWIG_fail_arg("on_view_activate",3,"gpointer");
5463
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkRadioAction,0))){
5464
SWIG_fail_ptr("on_view_activate",1,SWIGTYPE_p_GtkRadioAction);
5468
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_GtkRadioAction,0))){
5469
SWIG_fail_ptr("on_view_activate",2,SWIGTYPE_p_GtkRadioAction);
5473
if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_gpointer,0))){
5474
SWIG_fail_ptr("on_view_activate",3,SWIGTYPE_p_gpointer);
5478
on_view_activate(arg1,arg2,arg3);
5490
static int _wrap_itemlist_update_item(lua_State* L) {
5492
itemPtr arg1 = (itemPtr) 0 ;
5494
SWIG_check_num_args("itemlist_update_item",1,1)
5495
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("itemlist_update_item",1,"itemPtr");
5497
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
5498
SWIG_fail_ptr("itemlist_update_item",1,SWIGTYPE_p_item);
5501
itemlist_update_item(arg1);
5513
static int _wrap_itemlist_request_remove_item(lua_State* L) {
5515
itemPtr arg1 = (itemPtr) 0 ;
5517
SWIG_check_num_args("itemlist_request_remove_item",1,1)
5518
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("itemlist_request_remove_item",1,"itemPtr");
5520
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
5521
SWIG_fail_ptr("itemlist_request_remove_item",1,SWIGTYPE_p_item);
5524
itemlist_request_remove_item(arg1);
5536
static int _wrap_itemlist_remove_item(lua_State* L) {
5538
itemPtr arg1 = (itemPtr) 0 ;
5540
SWIG_check_num_args("itemlist_remove_item",1,1)
5541
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("itemlist_remove_item",1,"itemPtr");
5543
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
5544
SWIG_fail_ptr("itemlist_remove_item",1,SWIGTYPE_p_item);
5547
itemlist_remove_item(arg1);
5559
static int _wrap_itemlist_remove_items(lua_State* L) {
5562
GList *arg2 = (GList *) 0 ;
5565
SWIG_check_num_args("itemlist_remove_items",2,2)
5566
if(!lua_isuserdata(L,1)) SWIG_fail_arg("itemlist_remove_items",1,"itemSetPtr");
5567
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("itemlist_remove_items",2,"GList *");
5569
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_itemSetPtr,0))){
5570
SWIG_fail_ptr("itemlist_remove_items",1,SWIGTYPE_p_itemSetPtr);
5575
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_GList,0))){
5576
SWIG_fail_ptr("itemlist_remove_items",2,SWIGTYPE_p_GList);
5579
itemlist_remove_items(arg1,arg2);
5591
static int _wrap_itemlist_remove_all_items(lua_State* L) {
5593
struct node *arg1 = (struct node *) 0 ;
5595
SWIG_check_num_args("itemlist_remove_all_items",1,1)
5596
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("itemlist_remove_all_items",1,"struct node *");
5598
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
5599
SWIG_fail_ptr("itemlist_remove_all_items",1,SWIGTYPE_p_node);
5602
itemlist_remove_all_items(arg1);
5614
static int _wrap_itemlist_selection_changed(lua_State* L) {
5616
itemPtr arg1 = (itemPtr) 0 ;
5618
SWIG_check_num_args("itemlist_selection_changed",1,1)
5619
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("itemlist_selection_changed",1,"itemPtr");
5621
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
5622
SWIG_fail_ptr("itemlist_selection_changed",1,SWIGTYPE_p_item);
5625
itemlist_selection_changed(arg1);
5637
static int _wrap_itemlist_select_next_unread(lua_State* L) {
5640
SWIG_check_num_args("itemlist_select_next_unread",0,0)
5641
itemlist_select_next_unread();
5653
static int _wrap_itemlist_toggle_flag(lua_State* L) {
5655
itemPtr arg1 = (itemPtr) 0 ;
5657
SWIG_check_num_args("itemlist_toggle_flag",1,1)
5658
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("itemlist_toggle_flag",1,"itemPtr");
5660
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
5661
SWIG_fail_ptr("itemlist_toggle_flag",1,SWIGTYPE_p_item);
5664
itemlist_toggle_flag(arg1);
5676
static int _wrap_itemlist_toggle_read_status(lua_State* L) {
5678
itemPtr arg1 = (itemPtr) 0 ;
5680
SWIG_check_num_args("itemlist_toggle_read_status",1,1)
5681
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("itemlist_toggle_read_status",1,"itemPtr");
5683
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
5684
SWIG_fail_ptr("itemlist_toggle_read_status",1,SWIGTYPE_p_item);
5687
itemlist_toggle_read_status(arg1);
5699
static int _wrap_socialSite_name_set(lua_State* L) {
5701
struct socialSite *arg1 = (struct socialSite *) 0 ;
5702
char *arg2 = (char *) 0 ;
5704
SWIG_check_num_args("name",2,2)
5705
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("name",1,"struct socialSite *");
5706
if(!lua_isstring(L,2)) SWIG_fail_arg("name",2,"char *");
5708
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_socialSite,0))){
5709
SWIG_fail_ptr("socialSite_name_set",1,SWIGTYPE_p_socialSite);
5712
arg2 = (char *)lua_tostring(L, 2);
5714
if (arg1->name) free((char *)arg1->name);
5716
arg1->name = (char *) malloc(strlen((const char *)arg2)+1);
5717
strcpy((char *)arg1->name, (const char *)arg2);
5733
static int _wrap_socialSite_name_get(lua_State* L) {
5735
struct socialSite *arg1 = (struct socialSite *) 0 ;
5738
SWIG_check_num_args("name",1,1)
5739
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("name",1,"struct socialSite *");
5741
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_socialSite,0))){
5742
SWIG_fail_ptr("socialSite_name_get",1,SWIGTYPE_p_socialSite);
5745
result = (char *) ((arg1)->name);
5746
lua_pushstring(L,(const char*)result); SWIG_arg++;
5757
static int _wrap_socialSite_url_set(lua_State* L) {
5759
struct socialSite *arg1 = (struct socialSite *) 0 ;
5760
char *arg2 = (char *) 0 ;
5762
SWIG_check_num_args("url",2,2)
5763
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("url",1,"struct socialSite *");
5764
if(!lua_isstring(L,2)) SWIG_fail_arg("url",2,"char *");
5766
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_socialSite,0))){
5767
SWIG_fail_ptr("socialSite_url_set",1,SWIGTYPE_p_socialSite);
5770
arg2 = (char *)lua_tostring(L, 2);
5772
if (arg1->url) free((char *)arg1->url);
5774
arg1->url = (char *) malloc(strlen((const char *)arg2)+1);
5775
strcpy((char *)arg1->url, (const char *)arg2);
5791
static int _wrap_socialSite_url_get(lua_State* L) {
5793
struct socialSite *arg1 = (struct socialSite *) 0 ;
5796
SWIG_check_num_args("url",1,1)
5797
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("url",1,"struct socialSite *");
5799
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_socialSite,0))){
5800
SWIG_fail_ptr("socialSite_url_get",1,SWIGTYPE_p_socialSite);
5803
result = (char *) ((arg1)->url);
5804
lua_pushstring(L,(const char*)result); SWIG_arg++;
5815
static int _wrap_socialSite_title_set(lua_State* L) {
5817
struct socialSite *arg1 = (struct socialSite *) 0 ;
5820
SWIG_check_num_args("title",2,2)
5821
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("title",1,"struct socialSite *");
5822
if(!lua_isnumber(L,2)) SWIG_fail_arg("title",2,"int");
5824
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_socialSite,0))){
5825
SWIG_fail_ptr("socialSite_title_set",1,SWIGTYPE_p_socialSite);
5828
arg2 = (int)lua_tonumber(L, 2);
5829
if (arg1) (arg1)->title = arg2;
5841
static int _wrap_socialSite_title_get(lua_State* L) {
5843
struct socialSite *arg1 = (struct socialSite *) 0 ;
5846
SWIG_check_num_args("title",1,1)
5847
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("title",1,"struct socialSite *");
5849
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_socialSite,0))){
5850
SWIG_fail_ptr("socialSite_title_get",1,SWIGTYPE_p_socialSite);
5853
result = (int) ((arg1)->title);
5854
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5865
static int _wrap_socialSite_titleFirst_set(lua_State* L) {
5867
struct socialSite *arg1 = (struct socialSite *) 0 ;
5870
SWIG_check_num_args("titleFirst",2,2)
5871
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("titleFirst",1,"struct socialSite *");
5872
if(!lua_isnumber(L,2)) SWIG_fail_arg("titleFirst",2,"int");
5874
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_socialSite,0))){
5875
SWIG_fail_ptr("socialSite_titleFirst_set",1,SWIGTYPE_p_socialSite);
5878
arg2 = (int)lua_tonumber(L, 2);
5879
if (arg1) (arg1)->titleFirst = arg2;
5891
static int _wrap_socialSite_titleFirst_get(lua_State* L) {
5893
struct socialSite *arg1 = (struct socialSite *) 0 ;
5896
SWIG_check_num_args("titleFirst",1,1)
5897
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("titleFirst",1,"struct socialSite *");
5899
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_socialSite,0))){
5900
SWIG_fail_ptr("socialSite_titleFirst_get",1,SWIGTYPE_p_socialSite);
5903
result = (int) ((arg1)->titleFirst);
5904
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5915
static int _wrap_new_socialSite(lua_State* L) {
5917
struct socialSite *result = 0 ;
5919
SWIG_check_num_args("socialSite::socialSite",0,0)
5920
result = (struct socialSite *)calloc(1, sizeof(struct socialSite));
5921
SWIG_NewPointerObj(L,result,SWIGTYPE_p_socialSite,1); SWIG_arg++;
5932
static void swig_delete_socialSite(void *obj) {
5933
struct socialSite *arg1 = (struct socialSite *) obj;
5934
free((char *) arg1);
5936
static swig_lua_method swig_socialSite_methods[] = {
5939
static swig_lua_attribute swig_socialSite_attributes[] = {
5940
{ "name", _wrap_socialSite_name_get, _wrap_socialSite_name_set},
5941
{ "url", _wrap_socialSite_url_get, _wrap_socialSite_url_set},
5942
{ "title", _wrap_socialSite_title_get, _wrap_socialSite_title_set},
5943
{ "titleFirst", _wrap_socialSite_titleFirst_get, _wrap_socialSite_titleFirst_set},
5946
static swig_lua_class *swig_socialSite_bases[] = {0};
5947
static const char *swig_socialSite_base_names[] = {0};
5948
static swig_lua_class _wrap_class_socialSite = { "socialSite", &SWIGTYPE_p_socialSite,_wrap_new_socialSite, swig_delete_socialSite, swig_socialSite_methods, swig_socialSite_attributes, swig_socialSite_bases, swig_socialSite_base_names };
5950
static int _wrap_social_init(lua_State* L) {
5953
SWIG_check_num_args("social_init",0,0)
5966
static int _wrap_social_free(lua_State* L) {
5969
SWIG_check_num_args("social_free",0,0)
5982
static int _wrap_social_set_bookmark_site(lua_State* L) {
5984
char *arg1 = (char *) 0 ;
5986
SWIG_check_num_args("social_set_bookmark_site",1,1)
5987
if(!lua_isstring(L,1)) SWIG_fail_arg("social_set_bookmark_site",1,"char const *");
5988
arg1 = (char *)lua_tostring(L, 1);
5989
social_set_bookmark_site((char const *)arg1);
6001
static int _wrap_social_register_site(lua_State* L) {
6003
char *arg1 = (char *) 0 ;
6004
char *arg2 = (char *) 0 ;
6008
SWIG_check_num_args("social_register_site",4,4)
6009
if(!lua_isstring(L,1)) SWIG_fail_arg("social_register_site",1,"char *");
6010
if(!lua_isstring(L,2)) SWIG_fail_arg("social_register_site",2,"char *");
6011
if(!lua_isnumber(L,3)) SWIG_fail_arg("social_register_site",3,"int");
6012
if(!lua_isnumber(L,4)) SWIG_fail_arg("social_register_site",4,"int");
6013
arg1 = (char *)lua_tostring(L, 1);
6014
arg2 = (char *)lua_tostring(L, 2);
6015
arg3 = (int)lua_tonumber(L, 3);
6016
arg4 = (int)lua_tonumber(L, 4);
6017
social_register_site(arg1,arg2,arg3,arg4);
6029
static int _wrap_social_register_bookmark_site(lua_State* L) {
6031
char *arg1 = (char *) 0 ;
6032
char *arg2 = (char *) 0 ;
6036
SWIG_check_num_args("social_register_bookmark_site",4,4)
6037
if(!lua_isstring(L,1)) SWIG_fail_arg("social_register_bookmark_site",1,"char const *");
6038
if(!lua_isstring(L,2)) SWIG_fail_arg("social_register_bookmark_site",2,"char const *");
6039
if(!lua_isnumber(L,3)) SWIG_fail_arg("social_register_bookmark_site",3,"int");
6040
if(!lua_isnumber(L,4)) SWIG_fail_arg("social_register_bookmark_site",4,"int");
6041
arg1 = (char *)lua_tostring(L, 1);
6042
arg2 = (char *)lua_tostring(L, 2);
6043
arg3 = (int)lua_tonumber(L, 3);
6044
arg4 = (int)lua_tonumber(L, 4);
6045
social_register_bookmark_site((char const *)arg1,(char const *)arg2,arg3,arg4);
6057
static int _wrap_social_get_bookmark_url(lua_State* L) {
6059
char *arg1 = (char *) 0 ;
6060
char *arg2 = (char *) 0 ;
6063
SWIG_check_num_args("social_get_bookmark_url",2,2)
6064
if(!lua_isstring(L,1)) SWIG_fail_arg("social_get_bookmark_url",1,"char const *");
6065
if(!lua_isstring(L,2)) SWIG_fail_arg("social_get_bookmark_url",2,"char const *");
6066
arg1 = (char *)lua_tostring(L, 1);
6067
arg2 = (char *)lua_tostring(L, 2);
6068
result = (char *)social_get_bookmark_url((char const *)arg1,(char const *)arg2);
6069
lua_pushstring(L,(const char*)result); SWIG_arg++;
6080
static int _wrap_social_get_bookmark_site(lua_State* L) {
6084
SWIG_check_num_args("social_get_bookmark_site",0,0)
6085
result = (char *)social_get_bookmark_site();
6086
lua_pushstring(L,(const char*)result); SWIG_arg++;
6097
static int _wrap_social_register_link_search_site(lua_State* L) {
6099
char *arg1 = (char *) 0 ;
6100
char *arg2 = (char *) 0 ;
6102
SWIG_check_num_args("social_register_link_search_site",2,2)
6103
if(!lua_isstring(L,1)) SWIG_fail_arg("social_register_link_search_site",1,"char const *");
6104
if(!lua_isstring(L,2)) SWIG_fail_arg("social_register_link_search_site",2,"char const *");
6105
arg1 = (char *)lua_tostring(L, 1);
6106
arg2 = (char *)lua_tostring(L, 2);
6107
social_register_link_search_site((char const *)arg1,(char const *)arg2);
6119
static int _wrap_social_get_link_search_url(lua_State* L) {
6121
char *arg1 = (char *) 0 ;
6124
SWIG_check_num_args("social_get_link_search_url",1,1)
6125
if(!lua_isstring(L,1)) SWIG_fail_arg("social_get_link_search_url",1,"char const *");
6126
arg1 = (char *)lua_tostring(L, 1);
6127
result = (char *)social_get_link_search_url((char const *)arg1);
6128
lua_pushstring(L,(const char*)result); SWIG_arg++;
6139
static int _wrap_social_set_link_search_site(lua_State* L) {
6141
char *arg1 = (char *) 0 ;
6143
SWIG_check_num_args("social_set_link_search_site",1,1)
6144
if(!lua_isstring(L,1)) SWIG_fail_arg("social_set_link_search_site",1,"char const *");
6145
arg1 = (char *)lua_tostring(L, 1);
6146
social_set_link_search_site((char const *)arg1);
6158
static int _wrap_social_get_link_search_site(lua_State* L) {
6162
SWIG_check_num_args("social_get_link_search_site",0,0)
6163
result = (char *)social_get_link_search_site();
6164
lua_pushstring(L,(const char*)result); SWIG_arg++;
6175
static int _wrap_subscription_node_set(lua_State* L) {
6177
struct subscription *arg1 = (struct subscription *) 0 ;
6178
nodePtr arg2 = (nodePtr) 0 ;
6180
SWIG_check_num_args("node",2,2)
6181
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node",1,"struct subscription *");
6182
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("node",2,"nodePtr");
6184
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6185
SWIG_fail_ptr("subscription_node_set",1,SWIGTYPE_p_subscription);
6189
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_node,SWIG_POINTER_DISOWN))){
6190
SWIG_fail_ptr("subscription_node_set",2,SWIGTYPE_p_node);
6193
if (arg1) (arg1)->node = arg2;
6205
static int _wrap_subscription_node_get(lua_State* L) {
6207
struct subscription *arg1 = (struct subscription *) 0 ;
6210
SWIG_check_num_args("node",1,1)
6211
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("node",1,"struct subscription *");
6213
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6214
SWIG_fail_ptr("subscription_node_get",1,SWIGTYPE_p_subscription);
6217
result = (nodePtr) ((arg1)->node);
6218
SWIG_NewPointerObj(L,result,SWIGTYPE_p_node,0); SWIG_arg++;
6229
static int _wrap_subscription_type_set(lua_State* L) {
6231
struct subscription *arg1 = (struct subscription *) 0 ;
6232
struct subscriptionType *arg2 = (struct subscriptionType *) 0 ;
6234
SWIG_check_num_args("type",2,2)
6235
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("type",1,"struct subscription *");
6236
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("type",2,"struct subscriptionType *");
6238
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6239
SWIG_fail_ptr("subscription_type_set",1,SWIGTYPE_p_subscription);
6243
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_subscriptionType,SWIG_POINTER_DISOWN))){
6244
SWIG_fail_ptr("subscription_type_set",2,SWIGTYPE_p_subscriptionType);
6247
if (arg1) (arg1)->type = arg2;
6259
static int _wrap_subscription_type_get(lua_State* L) {
6261
struct subscription *arg1 = (struct subscription *) 0 ;
6262
struct subscriptionType *result = 0 ;
6264
SWIG_check_num_args("type",1,1)
6265
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("type",1,"struct subscription *");
6267
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6268
SWIG_fail_ptr("subscription_type_get",1,SWIGTYPE_p_subscription);
6271
result = (struct subscriptionType *) ((arg1)->type);
6272
SWIG_NewPointerObj(L,result,SWIGTYPE_p_subscriptionType,0); SWIG_arg++;
6283
static int _wrap_subscription_source_set(lua_State* L) {
6285
struct subscription *arg1 = (struct subscription *) 0 ;
6286
char *arg2 = (char *) 0 ;
6288
SWIG_check_num_args("source",2,2)
6289
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("source",1,"struct subscription *");
6290
if(!lua_isstring(L,2)) SWIG_fail_arg("source",2,"char *");
6292
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6293
SWIG_fail_ptr("subscription_source_set",1,SWIGTYPE_p_subscription);
6296
arg2 = (char *)lua_tostring(L, 2);
6298
if (arg1->source) free((char *)arg1->source);
6300
arg1->source = (char *) malloc(strlen((const char *)arg2)+1);
6301
strcpy((char *)arg1->source, (const char *)arg2);
6317
static int _wrap_subscription_source_get(lua_State* L) {
6319
struct subscription *arg1 = (struct subscription *) 0 ;
6322
SWIG_check_num_args("source",1,1)
6323
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("source",1,"struct subscription *");
6325
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6326
SWIG_fail_ptr("subscription_source_get",1,SWIGTYPE_p_subscription);
6329
result = (char *) ((arg1)->source);
6330
lua_pushstring(L,(const char*)result); SWIG_arg++;
6341
static int _wrap_subscription_origSource_set(lua_State* L) {
6343
struct subscription *arg1 = (struct subscription *) 0 ;
6344
char *arg2 = (char *) 0 ;
6346
SWIG_check_num_args("origSource",2,2)
6347
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("origSource",1,"struct subscription *");
6348
if(!lua_isstring(L,2)) SWIG_fail_arg("origSource",2,"char *");
6350
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6351
SWIG_fail_ptr("subscription_origSource_set",1,SWIGTYPE_p_subscription);
6354
arg2 = (char *)lua_tostring(L, 2);
6356
if (arg1->origSource) free((char *)arg1->origSource);
6358
arg1->origSource = (char *) malloc(strlen((const char *)arg2)+1);
6359
strcpy((char *)arg1->origSource, (const char *)arg2);
6361
arg1->origSource = 0;
6375
static int _wrap_subscription_origSource_get(lua_State* L) {
6377
struct subscription *arg1 = (struct subscription *) 0 ;
6380
SWIG_check_num_args("origSource",1,1)
6381
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("origSource",1,"struct subscription *");
6383
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6384
SWIG_fail_ptr("subscription_origSource_get",1,SWIGTYPE_p_subscription);
6387
result = (char *) ((arg1)->origSource);
6388
lua_pushstring(L,(const char*)result); SWIG_arg++;
6399
static int _wrap_subscription_updateOptions_set(lua_State* L) {
6401
struct subscription *arg1 = (struct subscription *) 0 ;
6402
updateOptionsPtr arg2 ;
6403
updateOptionsPtr *argp2 ;
6405
SWIG_check_num_args("updateOptions",2,2)
6406
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("updateOptions",1,"struct subscription *");
6407
if(!lua_isuserdata(L,2)) SWIG_fail_arg("updateOptions",2,"updateOptionsPtr");
6409
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6410
SWIG_fail_ptr("subscription_updateOptions_set",1,SWIGTYPE_p_subscription);
6414
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_updateOptionsPtr,0))){
6415
SWIG_fail_ptr("subscription_updateOptions_set",2,SWIGTYPE_p_updateOptionsPtr);
6419
if (arg1) (arg1)->updateOptions = arg2;
6431
static int _wrap_subscription_updateOptions_get(lua_State* L) {
6433
struct subscription *arg1 = (struct subscription *) 0 ;
6434
updateOptionsPtr result;
6436
SWIG_check_num_args("updateOptions",1,1)
6437
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("updateOptions",1,"struct subscription *");
6439
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6440
SWIG_fail_ptr("subscription_updateOptions_get",1,SWIGTYPE_p_subscription);
6443
result = ((arg1)->updateOptions);
6445
updateOptionsPtr * resultptr;
6446
resultptr = (updateOptionsPtr *) malloc(sizeof(updateOptionsPtr));
6447
memmove(resultptr, &result, sizeof(updateOptionsPtr));
6448
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_updateOptionsPtr,1); SWIG_arg++;
6460
static int _wrap_subscription_updateJob_set(lua_State* L) {
6462
struct subscription *arg1 = (struct subscription *) 0 ;
6463
struct updateJob *arg2 = (struct updateJob *) 0 ;
6465
SWIG_check_num_args("updateJob",2,2)
6466
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("updateJob",1,"struct subscription *");
6467
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("updateJob",2,"struct updateJob *");
6469
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6470
SWIG_fail_ptr("subscription_updateJob_set",1,SWIGTYPE_p_subscription);
6474
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_updateJob,SWIG_POINTER_DISOWN))){
6475
SWIG_fail_ptr("subscription_updateJob_set",2,SWIGTYPE_p_updateJob);
6478
if (arg1) (arg1)->updateJob = arg2;
6490
static int _wrap_subscription_updateJob_get(lua_State* L) {
6492
struct subscription *arg1 = (struct subscription *) 0 ;
6493
struct updateJob *result = 0 ;
6495
SWIG_check_num_args("updateJob",1,1)
6496
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("updateJob",1,"struct subscription *");
6498
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6499
SWIG_fail_ptr("subscription_updateJob_get",1,SWIGTYPE_p_subscription);
6502
result = (struct updateJob *) ((arg1)->updateJob);
6503
SWIG_NewPointerObj(L,result,SWIGTYPE_p_updateJob,0); SWIG_arg++;
6514
static int _wrap_subscription_updateInterval_set(lua_State* L) {
6516
struct subscription *arg1 = (struct subscription *) 0 ;
6519
SWIG_check_num_args("updateInterval",2,2)
6520
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("updateInterval",1,"struct subscription *");
6521
if(!lua_isnumber(L,2)) SWIG_fail_arg("updateInterval",2,"int");
6523
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6524
SWIG_fail_ptr("subscription_updateInterval_set",1,SWIGTYPE_p_subscription);
6527
arg2 = (int)lua_tonumber(L, 2);
6528
if (arg1) (arg1)->updateInterval = arg2;
6540
static int _wrap_subscription_updateInterval_get(lua_State* L) {
6542
struct subscription *arg1 = (struct subscription *) 0 ;
6545
SWIG_check_num_args("updateInterval",1,1)
6546
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("updateInterval",1,"struct subscription *");
6548
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6549
SWIG_fail_ptr("subscription_updateInterval_get",1,SWIGTYPE_p_subscription);
6552
result = (int) ((arg1)->updateInterval);
6553
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6564
static int _wrap_subscription_defaultInterval_set(lua_State* L) {
6566
struct subscription *arg1 = (struct subscription *) 0 ;
6569
SWIG_check_num_args("defaultInterval",2,2)
6570
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("defaultInterval",1,"struct subscription *");
6571
if(!lua_isnumber(L,2)) SWIG_fail_arg("defaultInterval",2,"unsigned int");
6573
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6574
SWIG_fail_ptr("subscription_defaultInterval_set",1,SWIGTYPE_p_subscription);
6577
SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
6578
arg2 = (unsigned int)lua_tonumber(L, 2);
6579
if (arg1) (arg1)->defaultInterval = arg2;
6591
static int _wrap_subscription_defaultInterval_get(lua_State* L) {
6593
struct subscription *arg1 = (struct subscription *) 0 ;
6594
unsigned int result;
6596
SWIG_check_num_args("defaultInterval",1,1)
6597
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("defaultInterval",1,"struct subscription *");
6599
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6600
SWIG_fail_ptr("subscription_defaultInterval_get",1,SWIGTYPE_p_subscription);
6603
result = (unsigned int) ((arg1)->defaultInterval);
6604
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6615
static int _wrap_subscription_metadata_set(lua_State* L) {
6617
struct subscription *arg1 = (struct subscription *) 0 ;
6618
GSList *arg2 = (GSList *) 0 ;
6620
SWIG_check_num_args("metadata",2,2)
6621
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("metadata",1,"struct subscription *");
6622
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("metadata",2,"GSList *");
6624
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6625
SWIG_fail_ptr("subscription_metadata_set",1,SWIGTYPE_p_subscription);
6629
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_GSList,SWIG_POINTER_DISOWN))){
6630
SWIG_fail_ptr("subscription_metadata_set",2,SWIGTYPE_p_GSList);
6633
if (arg1) (arg1)->metadata = arg2;
6645
static int _wrap_subscription_metadata_get(lua_State* L) {
6647
struct subscription *arg1 = (struct subscription *) 0 ;
6648
GSList *result = 0 ;
6650
SWIG_check_num_args("metadata",1,1)
6651
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("metadata",1,"struct subscription *");
6653
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6654
SWIG_fail_ptr("subscription_metadata_get",1,SWIGTYPE_p_subscription);
6657
result = (GSList *) ((arg1)->metadata);
6658
SWIG_NewPointerObj(L,result,SWIGTYPE_p_GSList,0); SWIG_arg++;
6669
static int _wrap_subscription_updateError_set(lua_State* L) {
6671
struct subscription *arg1 = (struct subscription *) 0 ;
6672
char *arg2 = (char *) 0 ;
6674
SWIG_check_num_args("updateError",2,2)
6675
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("updateError",1,"struct subscription *");
6676
if(!lua_isstring(L,2)) SWIG_fail_arg("updateError",2,"char *");
6678
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6679
SWIG_fail_ptr("subscription_updateError_set",1,SWIGTYPE_p_subscription);
6682
arg2 = (char *)lua_tostring(L, 2);
6684
if (arg1->updateError) free((char *)arg1->updateError);
6686
arg1->updateError = (char *) malloc(strlen((const char *)arg2)+1);
6687
strcpy((char *)arg1->updateError, (const char *)arg2);
6689
arg1->updateError = 0;
6703
static int _wrap_subscription_updateError_get(lua_State* L) {
6705
struct subscription *arg1 = (struct subscription *) 0 ;
6708
SWIG_check_num_args("updateError",1,1)
6709
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("updateError",1,"struct subscription *");
6711
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6712
SWIG_fail_ptr("subscription_updateError_get",1,SWIGTYPE_p_subscription);
6715
result = (char *) ((arg1)->updateError);
6716
lua_pushstring(L,(const char*)result); SWIG_arg++;
6727
static int _wrap_subscription_httpError_set(lua_State* L) {
6729
struct subscription *arg1 = (struct subscription *) 0 ;
6730
char *arg2 = (char *) 0 ;
6732
SWIG_check_num_args("httpError",2,2)
6733
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("httpError",1,"struct subscription *");
6734
if(!lua_isstring(L,2)) SWIG_fail_arg("httpError",2,"char *");
6736
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6737
SWIG_fail_ptr("subscription_httpError_set",1,SWIGTYPE_p_subscription);
6740
arg2 = (char *)lua_tostring(L, 2);
6742
if (arg1->httpError) free((char *)arg1->httpError);
6744
arg1->httpError = (char *) malloc(strlen((const char *)arg2)+1);
6745
strcpy((char *)arg1->httpError, (const char *)arg2);
6747
arg1->httpError = 0;
6761
static int _wrap_subscription_httpError_get(lua_State* L) {
6763
struct subscription *arg1 = (struct subscription *) 0 ;
6766
SWIG_check_num_args("httpError",1,1)
6767
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("httpError",1,"struct subscription *");
6769
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6770
SWIG_fail_ptr("subscription_httpError_get",1,SWIGTYPE_p_subscription);
6773
result = (char *) ((arg1)->httpError);
6774
lua_pushstring(L,(const char*)result); SWIG_arg++;
6785
static int _wrap_subscription_httpErrorCode_set(lua_State* L) {
6787
struct subscription *arg1 = (struct subscription *) 0 ;
6790
SWIG_check_num_args("httpErrorCode",2,2)
6791
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("httpErrorCode",1,"struct subscription *");
6792
if(!lua_isnumber(L,2)) SWIG_fail_arg("httpErrorCode",2,"int");
6794
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6795
SWIG_fail_ptr("subscription_httpErrorCode_set",1,SWIGTYPE_p_subscription);
6798
arg2 = (int)lua_tonumber(L, 2);
6799
if (arg1) (arg1)->httpErrorCode = arg2;
6811
static int _wrap_subscription_httpErrorCode_get(lua_State* L) {
6813
struct subscription *arg1 = (struct subscription *) 0 ;
6816
SWIG_check_num_args("httpErrorCode",1,1)
6817
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("httpErrorCode",1,"struct subscription *");
6819
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6820
SWIG_fail_ptr("subscription_httpErrorCode_get",1,SWIGTYPE_p_subscription);
6823
result = (int) ((arg1)->httpErrorCode);
6824
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6835
static int _wrap_subscription_updateState_set(lua_State* L) {
6837
struct subscription *arg1 = (struct subscription *) 0 ;
6838
updateStatePtr arg2 ;
6839
updateStatePtr *argp2 ;
6841
SWIG_check_num_args("updateState",2,2)
6842
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("updateState",1,"struct subscription *");
6843
if(!lua_isuserdata(L,2)) SWIG_fail_arg("updateState",2,"updateStatePtr");
6845
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6846
SWIG_fail_ptr("subscription_updateState_set",1,SWIGTYPE_p_subscription);
6850
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_updateStatePtr,0))){
6851
SWIG_fail_ptr("subscription_updateState_set",2,SWIGTYPE_p_updateStatePtr);
6855
if (arg1) (arg1)->updateState = arg2;
6867
static int _wrap_subscription_updateState_get(lua_State* L) {
6869
struct subscription *arg1 = (struct subscription *) 0 ;
6870
updateStatePtr result;
6872
SWIG_check_num_args("updateState",1,1)
6873
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("updateState",1,"struct subscription *");
6875
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6876
SWIG_fail_ptr("subscription_updateState_get",1,SWIGTYPE_p_subscription);
6879
result = ((arg1)->updateState);
6881
updateStatePtr * resultptr;
6882
resultptr = (updateStatePtr *) malloc(sizeof(updateStatePtr));
6883
memmove(resultptr, &result, sizeof(updateStatePtr));
6884
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_updateStatePtr,1); SWIG_arg++;
6896
static int _wrap_subscription_discontinued_set(lua_State* L) {
6898
struct subscription *arg1 = (struct subscription *) 0 ;
6901
SWIG_check_num_args("discontinued",2,2)
6902
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("discontinued",1,"struct subscription *");
6903
if(!lua_isnumber(L,2)) SWIG_fail_arg("discontinued",2,"int");
6905
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6906
SWIG_fail_ptr("subscription_discontinued_set",1,SWIGTYPE_p_subscription);
6909
arg2 = (int)lua_tonumber(L, 2);
6910
if (arg1) (arg1)->discontinued = arg2;
6922
static int _wrap_subscription_discontinued_get(lua_State* L) {
6924
struct subscription *arg1 = (struct subscription *) 0 ;
6927
SWIG_check_num_args("discontinued",1,1)
6928
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("discontinued",1,"struct subscription *");
6930
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6931
SWIG_fail_ptr("subscription_discontinued_get",1,SWIGTYPE_p_subscription);
6934
result = (int) ((arg1)->discontinued);
6935
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6946
static int _wrap_subscription_filtercmd_set(lua_State* L) {
6948
struct subscription *arg1 = (struct subscription *) 0 ;
6949
char *arg2 = (char *) 0 ;
6951
SWIG_check_num_args("filtercmd",2,2)
6952
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("filtercmd",1,"struct subscription *");
6953
if(!lua_isstring(L,2)) SWIG_fail_arg("filtercmd",2,"char *");
6955
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6956
SWIG_fail_ptr("subscription_filtercmd_set",1,SWIGTYPE_p_subscription);
6959
arg2 = (char *)lua_tostring(L, 2);
6961
if (arg1->filtercmd) free((char *)arg1->filtercmd);
6963
arg1->filtercmd = (char *) malloc(strlen((const char *)arg2)+1);
6964
strcpy((char *)arg1->filtercmd, (const char *)arg2);
6966
arg1->filtercmd = 0;
6980
static int _wrap_subscription_filtercmd_get(lua_State* L) {
6982
struct subscription *arg1 = (struct subscription *) 0 ;
6985
SWIG_check_num_args("filtercmd",1,1)
6986
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("filtercmd",1,"struct subscription *");
6988
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
6989
SWIG_fail_ptr("subscription_filtercmd_get",1,SWIGTYPE_p_subscription);
6992
result = (char *) ((arg1)->filtercmd);
6993
lua_pushstring(L,(const char*)result); SWIG_arg++;
7004
static int _wrap_subscription_filterError_set(lua_State* L) {
7006
struct subscription *arg1 = (struct subscription *) 0 ;
7007
char *arg2 = (char *) 0 ;
7009
SWIG_check_num_args("filterError",2,2)
7010
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("filterError",1,"struct subscription *");
7011
if(!lua_isstring(L,2)) SWIG_fail_arg("filterError",2,"char *");
7013
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7014
SWIG_fail_ptr("subscription_filterError_set",1,SWIGTYPE_p_subscription);
7017
arg2 = (char *)lua_tostring(L, 2);
7019
if (arg1->filterError) free((char *)arg1->filterError);
7021
arg1->filterError = (char *) malloc(strlen((const char *)arg2)+1);
7022
strcpy((char *)arg1->filterError, (const char *)arg2);
7024
arg1->filterError = 0;
7038
static int _wrap_subscription_filterError_get(lua_State* L) {
7040
struct subscription *arg1 = (struct subscription *) 0 ;
7043
SWIG_check_num_args("filterError",1,1)
7044
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("filterError",1,"struct subscription *");
7046
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7047
SWIG_fail_ptr("subscription_filterError_get",1,SWIGTYPE_p_subscription);
7050
result = (char *) ((arg1)->filterError);
7051
lua_pushstring(L,(const char*)result); SWIG_arg++;
7062
static int _wrap_new_subscription(lua_State* L) {
7064
struct subscription *result = 0 ;
7066
SWIG_check_num_args("subscription::subscription",0,0)
7067
result = (struct subscription *)calloc(1, sizeof(struct subscription));
7068
SWIG_NewPointerObj(L,result,SWIGTYPE_p_subscription,1); SWIG_arg++;
7079
static void swig_delete_subscription(void *obj) {
7080
struct subscription *arg1 = (struct subscription *) obj;
7081
free((char *) arg1);
7083
static swig_lua_method swig_subscription_methods[] = {
7086
static swig_lua_attribute swig_subscription_attributes[] = {
7087
{ "node", _wrap_subscription_node_get, _wrap_subscription_node_set},
7088
{ "type", _wrap_subscription_type_get, _wrap_subscription_type_set},
7089
{ "source", _wrap_subscription_source_get, _wrap_subscription_source_set},
7090
{ "origSource", _wrap_subscription_origSource_get, _wrap_subscription_origSource_set},
7091
{ "updateOptions", _wrap_subscription_updateOptions_get, _wrap_subscription_updateOptions_set},
7092
{ "updateJob", _wrap_subscription_updateJob_get, _wrap_subscription_updateJob_set},
7093
{ "updateInterval", _wrap_subscription_updateInterval_get, _wrap_subscription_updateInterval_set},
7094
{ "defaultInterval", _wrap_subscription_defaultInterval_get, _wrap_subscription_defaultInterval_set},
7095
{ "metadata", _wrap_subscription_metadata_get, _wrap_subscription_metadata_set},
7096
{ "updateError", _wrap_subscription_updateError_get, _wrap_subscription_updateError_set},
7097
{ "httpError", _wrap_subscription_httpError_get, _wrap_subscription_httpError_set},
7098
{ "httpErrorCode", _wrap_subscription_httpErrorCode_get, _wrap_subscription_httpErrorCode_set},
7099
{ "updateState", _wrap_subscription_updateState_get, _wrap_subscription_updateState_set},
7100
{ "discontinued", _wrap_subscription_discontinued_get, _wrap_subscription_discontinued_set},
7101
{ "filtercmd", _wrap_subscription_filtercmd_get, _wrap_subscription_filtercmd_set},
7102
{ "filterError", _wrap_subscription_filterError_get, _wrap_subscription_filterError_set},
7105
static swig_lua_class *swig_subscription_bases[] = {0};
7106
static const char *swig_subscription_base_names[] = {0};
7107
static swig_lua_class _wrap_class_subscription = { "subscription", &SWIGTYPE_p_subscription,_wrap_new_subscription, swig_delete_subscription, swig_subscription_methods, swig_subscription_attributes, swig_subscription_bases, swig_subscription_base_names };
7109
static int _wrap_subscription_new(lua_State* L) {
7111
char *arg1 = (char *) 0 ;
7112
char *arg2 = (char *) 0 ;
7113
updateOptionsPtr arg3 ;
7114
updateOptionsPtr *argp3 ;
7115
subscriptionPtr result;
7117
SWIG_check_num_args("subscription_new",3,3)
7118
if(!lua_isstring(L,1)) SWIG_fail_arg("subscription_new",1,"char const *");
7119
if(!lua_isstring(L,2)) SWIG_fail_arg("subscription_new",2,"char const *");
7120
if(!lua_isuserdata(L,3)) SWIG_fail_arg("subscription_new",3,"updateOptionsPtr");
7121
arg1 = (char *)lua_tostring(L, 1);
7122
arg2 = (char *)lua_tostring(L, 2);
7124
if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&argp3,SWIGTYPE_p_updateOptionsPtr,0))){
7125
SWIG_fail_ptr("subscription_new",3,SWIGTYPE_p_updateOptionsPtr);
7129
result = (subscriptionPtr)subscription_new((char const *)arg1,(char const *)arg2,arg3);
7130
SWIG_NewPointerObj(L,result,SWIGTYPE_p_subscription,0); SWIG_arg++;
7141
static int _wrap_subscription_import(lua_State* L) {
7146
subscriptionPtr result;
7148
SWIG_check_num_args("subscription_import",2,2)
7149
if(!lua_isuserdata(L,1)) SWIG_fail_arg("subscription_import",1,"xmlNodePtr");
7150
if(!lua_isnumber(L,2)) SWIG_fail_arg("subscription_import",2,"int");
7152
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_xmlNodePtr,0))){
7153
SWIG_fail_ptr("subscription_import",1,SWIGTYPE_p_xmlNodePtr);
7157
arg2 = (int)lua_tonumber(L, 2);
7158
result = (subscriptionPtr)subscription_import(arg1,arg2);
7159
SWIG_NewPointerObj(L,result,SWIGTYPE_p_subscription,0); SWIG_arg++;
7170
static int _wrap_subscription_export(lua_State* L) {
7172
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7177
SWIG_check_num_args("subscription_export",3,3)
7178
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_export",1,"subscriptionPtr");
7179
if(!lua_isuserdata(L,2)) SWIG_fail_arg("subscription_export",2,"xmlNodePtr");
7180
if(!lua_isnumber(L,3)) SWIG_fail_arg("subscription_export",3,"int");
7182
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7183
SWIG_fail_ptr("subscription_export",1,SWIGTYPE_p_subscription);
7187
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_xmlNodePtr,0))){
7188
SWIG_fail_ptr("subscription_export",2,SWIGTYPE_p_xmlNodePtr);
7192
arg3 = (int)lua_tonumber(L, 3);
7193
subscription_export(arg1,arg2,arg3);
7205
static int _wrap_subscription_to_xml(lua_State* L) {
7207
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7211
SWIG_check_num_args("subscription_to_xml",2,2)
7212
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_to_xml",1,"subscriptionPtr");
7213
if(!lua_isuserdata(L,2)) SWIG_fail_arg("subscription_to_xml",2,"xmlNodePtr");
7215
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7216
SWIG_fail_ptr("subscription_to_xml",1,SWIGTYPE_p_subscription);
7220
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_xmlNodePtr,0))){
7221
SWIG_fail_ptr("subscription_to_xml",2,SWIGTYPE_p_xmlNodePtr);
7225
subscription_to_xml(arg1,arg2);
7237
static int _wrap_subscription_can_be_updated(lua_State* L) {
7239
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7242
SWIG_check_num_args("subscription_can_be_updated",1,1)
7243
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_can_be_updated",1,"subscriptionPtr");
7245
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7246
SWIG_fail_ptr("subscription_can_be_updated",1,SWIGTYPE_p_subscription);
7249
result = (int)subscription_can_be_updated(arg1);
7250
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7261
static int _wrap_subscription_update(lua_State* L) {
7263
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7266
SWIG_check_num_args("subscription_update",2,2)
7267
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_update",1,"subscriptionPtr");
7268
if(!lua_isnumber(L,2)) SWIG_fail_arg("subscription_update",2,"unsigned int");
7270
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7271
SWIG_fail_ptr("subscription_update",1,SWIGTYPE_p_subscription);
7274
SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
7275
arg2 = (unsigned int)lua_tonumber(L, 2);
7276
subscription_update(arg1,arg2);
7288
static int _wrap_subscription_auto_update(lua_State* L) {
7290
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7292
SWIG_check_num_args("subscription_auto_update",1,1)
7293
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_auto_update",1,"subscriptionPtr");
7295
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7296
SWIG_fail_ptr("subscription_auto_update",1,SWIGTYPE_p_subscription);
7299
subscription_auto_update(arg1);
7311
static int _wrap_subscription_cancel_update(lua_State* L) {
7313
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7315
SWIG_check_num_args("subscription_cancel_update",1,1)
7316
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_cancel_update",1,"subscriptionPtr");
7318
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7319
SWIG_fail_ptr("subscription_cancel_update",1,SWIGTYPE_p_subscription);
7322
subscription_cancel_update(arg1);
7334
static int _wrap_subscription_get_update_interval(lua_State* L) {
7336
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7339
SWIG_check_num_args("subscription_get_update_interval",1,1)
7340
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_get_update_interval",1,"subscriptionPtr");
7342
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7343
SWIG_fail_ptr("subscription_get_update_interval",1,SWIGTYPE_p_subscription);
7346
result = (int)subscription_get_update_interval(arg1);
7347
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7358
static int _wrap_subscription_set_update_interval(lua_State* L) {
7360
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7363
SWIG_check_num_args("subscription_set_update_interval",2,2)
7364
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_set_update_interval",1,"subscriptionPtr");
7365
if(!lua_isnumber(L,2)) SWIG_fail_arg("subscription_set_update_interval",2,"int");
7367
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7368
SWIG_fail_ptr("subscription_set_update_interval",1,SWIGTYPE_p_subscription);
7371
arg2 = (int)lua_tonumber(L, 2);
7372
subscription_set_update_interval(arg1,arg2);
7384
static int _wrap_subscription_get_default_update_interval(lua_State* L) {
7386
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7387
unsigned int result;
7389
SWIG_check_num_args("subscription_get_default_update_interval",1,1)
7390
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_get_default_update_interval",1,"subscriptionPtr");
7392
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7393
SWIG_fail_ptr("subscription_get_default_update_interval",1,SWIGTYPE_p_subscription);
7396
result = (unsigned int)subscription_get_default_update_interval(arg1);
7397
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7408
static int _wrap_subscription_set_default_update_interval(lua_State* L) {
7410
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7413
SWIG_check_num_args("subscription_set_default_update_interval",2,2)
7414
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_set_default_update_interval",1,"subscriptionPtr");
7415
if(!lua_isnumber(L,2)) SWIG_fail_arg("subscription_set_default_update_interval",2,"unsigned int");
7417
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7418
SWIG_fail_ptr("subscription_set_default_update_interval",1,SWIGTYPE_p_subscription);
7421
SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
7422
arg2 = (unsigned int)lua_tonumber(L, 2);
7423
subscription_set_default_update_interval(arg1,arg2);
7435
static int _wrap_subscription_reset_update_counter(lua_State* L) {
7437
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7438
GTimeVal *arg2 = (GTimeVal *) 0 ;
7440
SWIG_check_num_args("subscription_reset_update_counter",2,2)
7441
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_reset_update_counter",1,"subscriptionPtr");
7442
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("subscription_reset_update_counter",2,"GTimeVal *");
7444
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7445
SWIG_fail_ptr("subscription_reset_update_counter",1,SWIGTYPE_p_subscription);
7449
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_GTimeVal,0))){
7450
SWIG_fail_ptr("subscription_reset_update_counter",2,SWIGTYPE_p_GTimeVal);
7453
subscription_reset_update_counter(arg1,arg2);
7465
static int _wrap_subscription_update_favicon(lua_State* L) {
7467
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7469
SWIG_check_num_args("subscription_update_favicon",1,1)
7470
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_update_favicon",1,"subscriptionPtr");
7472
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7473
SWIG_fail_ptr("subscription_update_favicon",1,SWIGTYPE_p_subscription);
7476
subscription_update_favicon(arg1);
7488
static int _wrap_subscription_get_source(lua_State* L) {
7490
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7493
SWIG_check_num_args("subscription_get_source",1,1)
7494
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_get_source",1,"subscriptionPtr");
7496
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7497
SWIG_fail_ptr("subscription_get_source",1,SWIGTYPE_p_subscription);
7500
result = (char *)subscription_get_source(arg1);
7501
lua_pushstring(L,(const char*)result); SWIG_arg++;
7512
static int _wrap_subscription_set_source(lua_State* L) {
7514
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7515
char *arg2 = (char *) 0 ;
7517
SWIG_check_num_args("subscription_set_source",2,2)
7518
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_set_source",1,"subscriptionPtr");
7519
if(!lua_isstring(L,2)) SWIG_fail_arg("subscription_set_source",2,"char const *");
7521
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7522
SWIG_fail_ptr("subscription_set_source",1,SWIGTYPE_p_subscription);
7525
arg2 = (char *)lua_tostring(L, 2);
7526
subscription_set_source(arg1,(char const *)arg2);
7538
static int _wrap_subscription_get_orig_source(lua_State* L) {
7540
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7543
SWIG_check_num_args("subscription_get_orig_source",1,1)
7544
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_get_orig_source",1,"subscriptionPtr");
7546
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7547
SWIG_fail_ptr("subscription_get_orig_source",1,SWIGTYPE_p_subscription);
7550
result = (char *)subscription_get_orig_source(arg1);
7551
lua_pushstring(L,(const char*)result); SWIG_arg++;
7562
static int _wrap_subscription_set_orig_source(lua_State* L) {
7564
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7565
char *arg2 = (char *) 0 ;
7567
SWIG_check_num_args("subscription_set_orig_source",2,2)
7568
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_set_orig_source",1,"subscriptionPtr");
7569
if(!lua_isstring(L,2)) SWIG_fail_arg("subscription_set_orig_source",2,"char const *");
7571
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7572
SWIG_fail_ptr("subscription_set_orig_source",1,SWIGTYPE_p_subscription);
7575
arg2 = (char *)lua_tostring(L, 2);
7576
subscription_set_orig_source(arg1,(char const *)arg2);
7588
static int _wrap_subscription_get_homepage(lua_State* L) {
7590
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7593
SWIG_check_num_args("subscription_get_homepage",1,1)
7594
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_get_homepage",1,"subscriptionPtr");
7596
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7597
SWIG_fail_ptr("subscription_get_homepage",1,SWIGTYPE_p_subscription);
7600
result = (char *)subscription_get_homepage(arg1);
7601
lua_pushstring(L,(const char*)result); SWIG_arg++;
7612
static int _wrap_subscription_set_homepage(lua_State* L) {
7614
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7615
char *arg2 = (char *) 0 ;
7617
SWIG_check_num_args("subscription_set_homepage",2,2)
7618
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_set_homepage",1,"subscriptionPtr");
7619
if(!lua_isstring(L,2)) SWIG_fail_arg("subscription_set_homepage",2,"char const *");
7621
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7622
SWIG_fail_ptr("subscription_set_homepage",1,SWIGTYPE_p_subscription);
7625
arg2 = (char *)lua_tostring(L, 2);
7626
subscription_set_homepage(arg1,(char const *)arg2);
7638
static int _wrap_subscription_get_filter(lua_State* L) {
7640
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7643
SWIG_check_num_args("subscription_get_filter",1,1)
7644
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_get_filter",1,"subscriptionPtr");
7646
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7647
SWIG_fail_ptr("subscription_get_filter",1,SWIGTYPE_p_subscription);
7650
result = (char *)subscription_get_filter(arg1);
7651
lua_pushstring(L,(const char*)result); SWIG_arg++;
7662
static int _wrap_subscription_set_filter(lua_State* L) {
7664
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7665
char *arg2 = (char *) 0 ;
7667
SWIG_check_num_args("subscription_set_filter",2,2)
7668
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_set_filter",1,"subscriptionPtr");
7669
if(!lua_isstring(L,2)) SWIG_fail_arg("subscription_set_filter",2,"char const *");
7671
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7672
SWIG_fail_ptr("subscription_set_filter",1,SWIGTYPE_p_subscription);
7675
arg2 = (char *)lua_tostring(L, 2);
7676
subscription_set_filter(arg1,(char const *)arg2);
7688
static int _wrap_subscription_free(lua_State* L) {
7690
subscriptionPtr arg1 = (subscriptionPtr) 0 ;
7692
SWIG_check_num_args("subscription_free",1,1)
7693
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("subscription_free",1,"subscriptionPtr");
7695
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_subscription,0))){
7696
SWIG_fail_ptr("subscription_free",1,SWIGTYPE_p_subscription);
7699
subscription_free(arg1);
7711
static int _wrap_feedstore_set(lua_State* L) {
7713
GtkTreeStore *arg1 = (GtkTreeStore *) 0 ;
7715
SWIG_check_num_args("feedstore",1,1)
7716
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("feedstore",1,"GtkTreeStore *");
7718
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkTreeStore,0))){
7719
SWIG_fail_ptr("feedstore_set",1,SWIGTYPE_p_GtkTreeStore);
7734
static int _wrap_feedstore_get(lua_State* L) {
7736
GtkTreeStore *result = 0 ;
7738
SWIG_check_num_args("feedstore",0,0)
7739
result = (GtkTreeStore *)feedstore;
7740
SWIG_NewPointerObj(L,result,SWIGTYPE_p_GtkTreeStore,0); SWIG_arg++;
7751
static int _wrap_feedlist_reduced_unread_set(lua_State* L) {
7755
SWIG_check_num_args("feedlist_reduced_unread",1,1)
7756
if(!lua_isnumber(L,1)) SWIG_fail_arg("feedlist_reduced_unread",1,"int");
7757
arg1 = (int)lua_tonumber(L, 1);
7758
feedlist_reduced_unread = arg1;
7770
static int _wrap_feedlist_reduced_unread_get(lua_State* L) {
7774
SWIG_check_num_args("feedlist_reduced_unread",0,0)
7775
result = (int)feedlist_reduced_unread;
7776
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7787
static int _wrap_ui_feedlist_select(lua_State* L) {
7789
nodePtr arg1 = (nodePtr) 0 ;
7791
SWIG_check_num_args("ui_feedlist_select",1,1)
7792
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("ui_feedlist_select",1,"nodePtr");
7794
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
7795
SWIG_fail_ptr("ui_feedlist_select",1,SWIGTYPE_p_node);
7798
ui_feedlist_select(arg1);
7810
static int _wrap_ui_feedlist_init(lua_State* L) {
7812
GtkTreeView *arg1 = (GtkTreeView *) 0 ;
7814
SWIG_check_num_args("ui_feedlist_init",1,1)
7815
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("ui_feedlist_init",1,"GtkTreeView *");
7817
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkTreeView,0))){
7818
SWIG_fail_ptr("ui_feedlist_init",1,SWIGTYPE_p_GtkTreeView);
7821
ui_feedlist_init(arg1);
7833
static int _wrap_ui_feedlist_delete_prompt(lua_State* L) {
7835
nodePtr arg1 = (nodePtr) 0 ;
7837
SWIG_check_num_args("ui_feedlist_delete_prompt",1,1)
7838
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("ui_feedlist_delete_prompt",1,"nodePtr");
7840
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
7841
SWIG_fail_ptr("ui_feedlist_delete_prompt",1,SWIGTYPE_p_node);
7844
ui_feedlist_delete_prompt(arg1);
7856
static int _wrap_on_newbtn_clicked(lua_State* L) {
7858
GtkButton *arg1 = (GtkButton *) 0 ;
7862
SWIG_check_num_args("on_newbtn_clicked",2,2)
7863
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_newbtn_clicked",1,"GtkButton *");
7864
if(!lua_isuserdata(L,2)) SWIG_fail_arg("on_newbtn_clicked",2,"gpointer");
7866
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkButton,0))){
7867
SWIG_fail_ptr("on_newbtn_clicked",1,SWIGTYPE_p_GtkButton);
7871
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
7872
SWIG_fail_ptr("on_newbtn_clicked",2,SWIGTYPE_p_gpointer);
7876
on_newbtn_clicked(arg1,arg2);
7888
static int _wrap_on_menu_delete(lua_State* L) {
7890
GtkWidget *arg1 = (GtkWidget *) 0 ;
7894
SWIG_check_num_args("on_menu_delete",2,2)
7895
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_menu_delete",1,"GtkWidget *");
7896
if(!lua_isuserdata(L,2)) SWIG_fail_arg("on_menu_delete",2,"gpointer");
7898
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkWidget,0))){
7899
SWIG_fail_ptr("on_menu_delete",1,SWIGTYPE_p_GtkWidget);
7903
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
7904
SWIG_fail_ptr("on_menu_delete",2,SWIGTYPE_p_gpointer);
7908
on_menu_delete(arg1,arg2);
7920
static int _wrap_on_menu_update(lua_State* L) {
7923
SWIG_check_num_args("on_menu_update",0,0)
7936
static int _wrap_on_menu_update_all(lua_State* L) {
7939
SWIG_check_num_args("on_menu_update_all",0,0)
7940
on_menu_update_all();
7952
static int _wrap_on_menu_allread(lua_State* L) {
7954
GtkWidget *arg1 = (GtkWidget *) 0 ;
7958
SWIG_check_num_args("on_menu_allread",2,2)
7959
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_menu_allread",1,"GtkWidget *");
7960
if(!lua_isuserdata(L,2)) SWIG_fail_arg("on_menu_allread",2,"gpointer");
7962
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkWidget,0))){
7963
SWIG_fail_ptr("on_menu_allread",1,SWIGTYPE_p_GtkWidget);
7967
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
7968
SWIG_fail_ptr("on_menu_allread",2,SWIGTYPE_p_gpointer);
7972
on_menu_allread(arg1,arg2);
7984
static int _wrap_on_menu_allfeedsread(lua_State* L) {
7986
GtkWidget *arg1 = (GtkWidget *) 0 ;
7990
SWIG_check_num_args("on_menu_allfeedsread",2,2)
7991
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_menu_allfeedsread",1,"GtkWidget *");
7992
if(!lua_isuserdata(L,2)) SWIG_fail_arg("on_menu_allfeedsread",2,"gpointer");
7994
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkWidget,0))){
7995
SWIG_fail_ptr("on_menu_allfeedsread",1,SWIGTYPE_p_GtkWidget);
7999
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
8000
SWIG_fail_ptr("on_menu_allfeedsread",2,SWIGTYPE_p_gpointer);
8004
on_menu_allfeedsread(arg1,arg2);
8016
static int _wrap_on_menu_properties(lua_State* L) {
8018
GtkMenuItem *arg1 = (GtkMenuItem *) 0 ;
8022
SWIG_check_num_args("on_menu_properties",2,2)
8023
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_menu_properties",1,"GtkMenuItem *");
8024
if(!lua_isuserdata(L,2)) SWIG_fail_arg("on_menu_properties",2,"gpointer");
8026
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkMenuItem,0))){
8027
SWIG_fail_ptr("on_menu_properties",1,SWIGTYPE_p_GtkMenuItem);
8031
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
8032
SWIG_fail_ptr("on_menu_properties",2,SWIGTYPE_p_gpointer);
8036
on_menu_properties(arg1,arg2);
8048
static int _wrap_on_menu_feed_new(lua_State* L) {
8050
GtkMenuItem *arg1 = (GtkMenuItem *) 0 ;
8054
SWIG_check_num_args("on_menu_feed_new",2,2)
8055
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_menu_feed_new",1,"GtkMenuItem *");
8056
if(!lua_isuserdata(L,2)) SWIG_fail_arg("on_menu_feed_new",2,"gpointer");
8058
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkMenuItem,0))){
8059
SWIG_fail_ptr("on_menu_feed_new",1,SWIGTYPE_p_GtkMenuItem);
8063
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
8064
SWIG_fail_ptr("on_menu_feed_new",2,SWIGTYPE_p_gpointer);
8068
on_menu_feed_new(arg1,arg2);
8080
static int _wrap_on_menu_folder_new(lua_State* L) {
8082
GtkMenuItem *arg1 = (GtkMenuItem *) 0 ;
8086
SWIG_check_num_args("on_menu_folder_new",2,2)
8087
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_menu_folder_new",1,"GtkMenuItem *");
8088
if(!lua_isuserdata(L,2)) SWIG_fail_arg("on_menu_folder_new",2,"gpointer");
8090
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkMenuItem,0))){
8091
SWIG_fail_ptr("on_menu_folder_new",1,SWIGTYPE_p_GtkMenuItem);
8095
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
8096
SWIG_fail_ptr("on_menu_folder_new",2,SWIGTYPE_p_gpointer);
8100
on_menu_folder_new(arg1,arg2);
8112
static int _wrap_on_new_plugin_activate(lua_State* L) {
8114
GtkMenuItem *arg1 = (GtkMenuItem *) 0 ;
8118
SWIG_check_num_args("on_new_plugin_activate",2,2)
8119
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_new_plugin_activate",1,"GtkMenuItem *");
8120
if(!lua_isuserdata(L,2)) SWIG_fail_arg("on_new_plugin_activate",2,"gpointer");
8122
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkMenuItem,0))){
8123
SWIG_fail_ptr("on_new_plugin_activate",1,SWIGTYPE_p_GtkMenuItem);
8127
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
8128
SWIG_fail_ptr("on_new_plugin_activate",2,SWIGTYPE_p_gpointer);
8132
on_new_plugin_activate(arg1,arg2);
8144
static int _wrap_on_new_newsbin_activate(lua_State* L) {
8146
GtkMenuItem *arg1 = (GtkMenuItem *) 0 ;
8150
SWIG_check_num_args("on_new_newsbin_activate",2,2)
8151
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_new_newsbin_activate",1,"GtkMenuItem *");
8152
if(!lua_isuserdata(L,2)) SWIG_fail_arg("on_new_newsbin_activate",2,"gpointer");
8154
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkMenuItem,0))){
8155
SWIG_fail_ptr("on_new_newsbin_activate",1,SWIGTYPE_p_GtkMenuItem);
8159
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
8160
SWIG_fail_ptr("on_new_newsbin_activate",2,SWIGTYPE_p_gpointer);
8164
on_new_newsbin_activate(arg1,arg2);
8176
static int _wrap_on_feedlist_reduced_activate(lua_State* L) {
8178
GtkToggleAction *arg1 = (GtkToggleAction *) 0 ;
8182
SWIG_check_num_args("on_feedlist_reduced_activate",2,2)
8183
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_feedlist_reduced_activate",1,"GtkToggleAction *");
8184
if(!lua_isuserdata(L,2)) SWIG_fail_arg("on_feedlist_reduced_activate",2,"gpointer");
8186
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkToggleAction,0))){
8187
SWIG_fail_ptr("on_feedlist_reduced_activate",1,SWIGTYPE_p_GtkToggleAction);
8191
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
8192
SWIG_fail_ptr("on_feedlist_reduced_activate",2,SWIGTYPE_p_gpointer);
8196
on_feedlist_reduced_activate(arg1,arg2);
8208
static int _wrap_ui_itemlist_new(lua_State* L) {
8210
GtkWidget *arg1 = (GtkWidget *) 0 ;
8211
GtkWidget *result = 0 ;
8213
SWIG_check_num_args("ui_itemlist_new",1,1)
8214
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("ui_itemlist_new",1,"GtkWidget *");
8216
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkWidget,0))){
8217
SWIG_fail_ptr("ui_itemlist_new",1,SWIGTYPE_p_GtkWidget);
8220
result = (GtkWidget *)ui_itemlist_new(arg1);
8221
SWIG_NewPointerObj(L,result,SWIGTYPE_p_GtkWidget,0); SWIG_arg++;
8232
static int _wrap_ui_itemlist_destroy(lua_State* L) {
8235
SWIG_check_num_args("ui_itemlist_destroy",0,0)
8236
ui_itemlist_destroy();
8248
static int _wrap_ui_itemlist_contains_item(lua_State* L) {
8254
SWIG_check_num_args("ui_itemlist_contains_item",1,1)
8255
if(!lua_isuserdata(L,1)) SWIG_fail_arg("ui_itemlist_contains_item",1,"gulong");
8257
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_gulong,0))){
8258
SWIG_fail_ptr("ui_itemlist_contains_item",1,SWIGTYPE_p_gulong);
8262
result = (int)ui_itemlist_contains_item(arg1);
8263
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8274
static int _wrap_ui_itemlist_set_sort_column(lua_State* L) {
8276
nodeViewSortType arg1 ;
8278
nodeViewSortType *argp1 ;
8280
SWIG_check_num_args("ui_itemlist_set_sort_column",2,2)
8281
if(!lua_isuserdata(L,1)) SWIG_fail_arg("ui_itemlist_set_sort_column",1,"nodeViewSortType");
8282
if(!lua_isnumber(L,2)) SWIG_fail_arg("ui_itemlist_set_sort_column",2,"int");
8284
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_nodeViewSortType,0))){
8285
SWIG_fail_ptr("ui_itemlist_set_sort_column",1,SWIGTYPE_p_nodeViewSortType);
8289
arg2 = (int)lua_tonumber(L, 2);
8290
ui_itemlist_set_sort_column(arg1,arg2);
8302
static int _wrap_ui_itemlist_reset_tree_store(lua_State* L) {
8305
SWIG_check_num_args("ui_itemlist_reset_tree_store",0,0)
8306
ui_itemlist_reset_tree_store();
8318
static int _wrap_ui_itemlist_prefocus(lua_State* L) {
8321
SWIG_check_num_args("ui_itemlist_prefocus",0,0)
8322
ui_itemlist_prefocus();
8334
static int _wrap_ui_itemlist_select(lua_State* L) {
8336
itemPtr arg1 = (itemPtr) 0 ;
8338
SWIG_check_num_args("ui_itemlist_select",1,1)
8339
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("ui_itemlist_select",1,"itemPtr");
8341
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
8342
SWIG_fail_ptr("ui_itemlist_select",1,SWIGTYPE_p_item);
8345
ui_itemlist_select(arg1);
8357
static int _wrap_ui_itemlist_add_item(lua_State* L) {
8359
itemPtr arg1 = (itemPtr) 0 ;
8361
SWIG_check_num_args("ui_itemlist_add_item",1,1)
8362
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("ui_itemlist_add_item",1,"itemPtr");
8364
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
8365
SWIG_fail_ptr("ui_itemlist_add_item",1,SWIGTYPE_p_item);
8368
ui_itemlist_add_item(arg1);
8380
static int _wrap_ui_itemlist_remove_item(lua_State* L) {
8382
itemPtr arg1 = (itemPtr) 0 ;
8384
SWIG_check_num_args("ui_itemlist_remove_item",1,1)
8385
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("ui_itemlist_remove_item",1,"itemPtr");
8387
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
8388
SWIG_fail_ptr("ui_itemlist_remove_item",1,SWIGTYPE_p_item);
8391
ui_itemlist_remove_item(arg1);
8403
static int _wrap_ui_itemlist_enable_favicon_column(lua_State* L) {
8407
SWIG_check_num_args("ui_itemlist_enable_favicon_column",1,1)
8408
if(!lua_isnumber(L,1)) SWIG_fail_arg("ui_itemlist_enable_favicon_column",1,"int");
8409
arg1 = (int)lua_tonumber(L, 1);
8410
ui_itemlist_enable_favicon_column(arg1);
8422
static int _wrap_ui_itemlist_enable_encicon_column(lua_State* L) {
8426
SWIG_check_num_args("ui_itemlist_enable_encicon_column",1,1)
8427
if(!lua_isnumber(L,1)) SWIG_fail_arg("ui_itemlist_enable_encicon_column",1,"int");
8428
arg1 = (int)lua_tonumber(L, 1);
8429
ui_itemlist_enable_encicon_column(arg1);
8441
static int _wrap_ui_itemlist_clear(lua_State* L) {
8444
SWIG_check_num_args("ui_itemlist_clear",0,0)
8445
ui_itemlist_clear();
8457
static int _wrap_ui_itemlist_scroll_left(lua_State* L) {
8460
SWIG_check_num_args("ui_itemlist_scroll_left",0,0)
8461
ui_itemlist_scroll_left();
8473
static int _wrap_on_Itemlist_row_activated(lua_State* L) {
8475
GtkTreeView *arg1 = (GtkTreeView *) 0 ;
8476
GtkTreePath *arg2 = (GtkTreePath *) 0 ;
8477
GtkTreeViewColumn *arg3 = (GtkTreeViewColumn *) 0 ;
8481
SWIG_check_num_args("on_Itemlist_row_activated",4,4)
8482
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_Itemlist_row_activated",1,"GtkTreeView *");
8483
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("on_Itemlist_row_activated",2,"GtkTreePath *");
8484
if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("on_Itemlist_row_activated",3,"GtkTreeViewColumn *");
8485
if(!lua_isuserdata(L,4)) SWIG_fail_arg("on_Itemlist_row_activated",4,"gpointer");
8487
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkTreeView,0))){
8488
SWIG_fail_ptr("on_Itemlist_row_activated",1,SWIGTYPE_p_GtkTreeView);
8492
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_GtkTreePath,0))){
8493
SWIG_fail_ptr("on_Itemlist_row_activated",2,SWIGTYPE_p_GtkTreePath);
8497
if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_GtkTreeViewColumn,0))){
8498
SWIG_fail_ptr("on_Itemlist_row_activated",3,SWIGTYPE_p_GtkTreeViewColumn);
8502
if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_gpointer,0))){
8503
SWIG_fail_ptr("on_Itemlist_row_activated",4,SWIGTYPE_p_gpointer);
8507
on_Itemlist_row_activated(arg1,arg2,arg3,arg4);
8519
static int _wrap_itemlist_sort_column_changed_cb(lua_State* L) {
8521
GtkTreeSortable *arg1 = (GtkTreeSortable *) 0 ;
8525
SWIG_check_num_args("itemlist_sort_column_changed_cb",2,2)
8526
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("itemlist_sort_column_changed_cb",1,"GtkTreeSortable *");
8527
if(!lua_isuserdata(L,2)) SWIG_fail_arg("itemlist_sort_column_changed_cb",2,"gpointer");
8529
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkTreeSortable,0))){
8530
SWIG_fail_ptr("itemlist_sort_column_changed_cb",1,SWIGTYPE_p_GtkTreeSortable);
8534
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
8535
SWIG_fail_ptr("itemlist_sort_column_changed_cb",2,SWIGTYPE_p_gpointer);
8539
itemlist_sort_column_changed_cb(arg1,arg2);
8551
static int _wrap_on_itemlist_selection_changed(lua_State* L) {
8553
GtkTreeSelection *arg1 = (GtkTreeSelection *) 0 ;
8557
SWIG_check_num_args("on_itemlist_selection_changed",2,2)
8558
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_itemlist_selection_changed",1,"GtkTreeSelection *");
8559
if(!lua_isuserdata(L,2)) SWIG_fail_arg("on_itemlist_selection_changed",2,"gpointer");
8561
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkTreeSelection,0))){
8562
SWIG_fail_ptr("on_itemlist_selection_changed",1,SWIGTYPE_p_GtkTreeSelection);
8566
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
8567
SWIG_fail_ptr("on_itemlist_selection_changed",2,SWIGTYPE_p_gpointer);
8571
on_itemlist_selection_changed(arg1,arg2);
8583
static int _wrap_on_toggle_unread_status(lua_State* L) {
8585
GtkMenuItem *arg1 = (GtkMenuItem *) 0 ;
8589
SWIG_check_num_args("on_toggle_unread_status",2,2)
8590
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_toggle_unread_status",1,"GtkMenuItem *");
8591
if(!lua_isuserdata(L,2)) SWIG_fail_arg("on_toggle_unread_status",2,"gpointer");
8593
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkMenuItem,0))){
8594
SWIG_fail_ptr("on_toggle_unread_status",1,SWIGTYPE_p_GtkMenuItem);
8598
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
8599
SWIG_fail_ptr("on_toggle_unread_status",2,SWIGTYPE_p_gpointer);
8603
on_toggle_unread_status(arg1,arg2);
8615
static int _wrap_on_toggle_item_flag(lua_State* L) {
8617
GtkMenuItem *arg1 = (GtkMenuItem *) 0 ;
8621
SWIG_check_num_args("on_toggle_item_flag",2,2)
8622
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_toggle_item_flag",1,"GtkMenuItem *");
8623
if(!lua_isuserdata(L,2)) SWIG_fail_arg("on_toggle_item_flag",2,"gpointer");
8625
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkMenuItem,0))){
8626
SWIG_fail_ptr("on_toggle_item_flag",1,SWIGTYPE_p_GtkMenuItem);
8630
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
8631
SWIG_fail_ptr("on_toggle_item_flag",2,SWIGTYPE_p_gpointer);
8635
on_toggle_item_flag(arg1,arg2);
8647
static int _wrap_on_popup_launchitem_selected(lua_State* L) {
8650
SWIG_check_num_args("on_popup_launchitem_selected",0,0)
8651
on_popup_launchitem_selected();
8663
static int _wrap_on_popup_launchitem_in_tab_selected(lua_State* L) {
8666
SWIG_check_num_args("on_popup_launchitem_in_tab_selected",0,0)
8667
on_popup_launchitem_in_tab_selected();
8679
static int _wrap_on_popup_toggle_read(lua_State* L) {
8682
SWIG_check_num_args("on_popup_toggle_read",0,0)
8683
on_popup_toggle_read();
8695
static int _wrap_on_popup_toggle_flag(lua_State* L) {
8698
SWIG_check_num_args("on_popup_toggle_flag",0,0)
8699
on_popup_toggle_flag();
8711
static int _wrap_on_remove_items_activate(lua_State* L) {
8713
GtkMenuItem *arg1 = (GtkMenuItem *) 0 ;
8717
SWIG_check_num_args("on_remove_items_activate",2,2)
8718
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_remove_items_activate",1,"GtkMenuItem *");
8719
if(!lua_isuserdata(L,2)) SWIG_fail_arg("on_remove_items_activate",2,"gpointer");
8721
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkMenuItem,0))){
8722
SWIG_fail_ptr("on_remove_items_activate",1,SWIGTYPE_p_GtkMenuItem);
8726
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
8727
SWIG_fail_ptr("on_remove_items_activate",2,SWIGTYPE_p_gpointer);
8731
on_remove_items_activate(arg1,arg2);
8743
static int _wrap_on_remove_item_activate(lua_State* L) {
8745
GtkMenuItem *arg1 = (GtkMenuItem *) 0 ;
8749
SWIG_check_num_args("on_remove_item_activate",2,2)
8750
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_remove_item_activate",1,"GtkMenuItem *");
8751
if(!lua_isuserdata(L,2)) SWIG_fail_arg("on_remove_item_activate",2,"gpointer");
8753
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkMenuItem,0))){
8754
SWIG_fail_ptr("on_remove_item_activate",1,SWIGTYPE_p_GtkMenuItem);
8758
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
8759
SWIG_fail_ptr("on_remove_item_activate",2,SWIGTYPE_p_gpointer);
8763
on_remove_item_activate(arg1,arg2);
8775
static int _wrap_on_popup_remove_selected(lua_State* L) {
8778
SWIG_check_num_args("on_popup_remove_selected",0,0)
8779
on_popup_remove_selected();
8791
static int _wrap_ui_itemlist_find_unread_item(lua_State* L) {
8797
SWIG_check_num_args("ui_itemlist_find_unread_item",1,1)
8798
if(!lua_isuserdata(L,1)) SWIG_fail_arg("ui_itemlist_find_unread_item",1,"gulong");
8800
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_gulong,0))){
8801
SWIG_fail_ptr("ui_itemlist_find_unread_item",1,SWIGTYPE_p_gulong);
8805
result = (itemPtr)ui_itemlist_find_unread_item(arg1);
8806
SWIG_NewPointerObj(L,result,SWIGTYPE_p_item,0); SWIG_arg++;
8817
static int _wrap_on_next_unread_item_activate(lua_State* L) {
8819
GtkMenuItem *arg1 = (GtkMenuItem *) 0 ;
8823
SWIG_check_num_args("on_next_unread_item_activate",2,2)
8824
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_next_unread_item_activate",1,"GtkMenuItem *");
8825
if(!lua_isuserdata(L,2)) SWIG_fail_arg("on_next_unread_item_activate",2,"gpointer");
8827
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkMenuItem,0))){
8828
SWIG_fail_ptr("on_next_unread_item_activate",1,SWIGTYPE_p_GtkMenuItem);
8832
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
8833
SWIG_fail_ptr("on_next_unread_item_activate",2,SWIGTYPE_p_gpointer);
8837
on_next_unread_item_activate(arg1,arg2);
8849
static int _wrap_on_popup_next_unread_item_selected(lua_State* L) {
8853
GtkWidget *arg3 = (GtkWidget *) 0 ;
8856
SWIG_check_num_args("on_popup_next_unread_item_selected",3,3)
8857
if(!lua_isuserdata(L,1)) SWIG_fail_arg("on_popup_next_unread_item_selected",1,"gpointer");
8858
if(!lua_isnumber(L,2)) SWIG_fail_arg("on_popup_next_unread_item_selected",2,"unsigned int");
8859
if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("on_popup_next_unread_item_selected",3,"GtkWidget *");
8861
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_gpointer,0))){
8862
SWIG_fail_ptr("on_popup_next_unread_item_selected",1,SWIGTYPE_p_gpointer);
8866
SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
8867
arg2 = (unsigned int)lua_tonumber(L, 2);
8869
if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_GtkWidget,0))){
8870
SWIG_fail_ptr("on_popup_next_unread_item_selected",3,SWIGTYPE_p_GtkWidget);
8873
on_popup_next_unread_item_selected(arg1,arg2,arg3);
8885
static int _wrap_on_nextbtn_clicked(lua_State* L) {
8887
GtkButton *arg1 = (GtkButton *) 0 ;
8891
SWIG_check_num_args("on_nextbtn_clicked",2,2)
8892
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("on_nextbtn_clicked",1,"GtkButton *");
8893
if(!lua_isuserdata(L,2)) SWIG_fail_arg("on_nextbtn_clicked",2,"gpointer");
8895
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkButton,0))){
8896
SWIG_fail_ptr("on_nextbtn_clicked",1,SWIGTYPE_p_GtkButton);
8900
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&argp2,SWIGTYPE_p_gpointer,0))){
8901
SWIG_fail_ptr("on_nextbtn_clicked",2,SWIGTYPE_p_gpointer);
8905
on_nextbtn_clicked(arg1,arg2);
8917
static int _wrap_ui_itemlist_update_item(lua_State* L) {
8919
itemPtr arg1 = (itemPtr) 0 ;
8921
SWIG_check_num_args("ui_itemlist_update_item",1,1)
8922
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("ui_itemlist_update_item",1,"itemPtr");
8924
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
8925
SWIG_fail_ptr("ui_itemlist_update_item",1,SWIGTYPE_p_item);
8928
ui_itemlist_update_item(arg1);
8940
static int _wrap_ui_itemlist_update_all_items(lua_State* L) {
8943
SWIG_check_num_args("ui_itemlist_update_all_items",0,0)
8944
ui_itemlist_update_all_items();
8956
static int _wrap_ui_itemlist_search_item_link(lua_State* L) {
8958
itemPtr arg1 = (itemPtr) 0 ;
8960
SWIG_check_num_args("ui_itemlist_search_item_link",1,1)
8961
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("ui_itemlist_search_item_link",1,"itemPtr");
8963
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
8964
SWIG_fail_ptr("ui_itemlist_search_item_link",1,SWIGTYPE_p_item);
8967
ui_itemlist_search_item_link(arg1);
8979
static int _wrap_ui_itemlist_add_item_bookmark(lua_State* L) {
8981
itemPtr arg1 = (itemPtr) 0 ;
8983
SWIG_check_num_args("ui_itemlist_add_item_bookmark",1,1)
8984
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("ui_itemlist_add_item_bookmark",1,"itemPtr");
8986
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
8987
SWIG_fail_ptr("ui_itemlist_add_item_bookmark",1,SWIGTYPE_p_item);
8990
ui_itemlist_add_item_bookmark(arg1);
9002
static int _wrap_on_popup_copy_URL_clipboard(lua_State* L) {
9005
SWIG_check_num_args("on_popup_copy_URL_clipboard",0,0)
9006
on_popup_copy_URL_clipboard();
9018
static int _wrap_on_popup_social_bm_item_selected(lua_State* L) {
9021
SWIG_check_num_args("on_popup_social_bm_item_selected",0,0)
9022
on_popup_social_bm_item_selected();
9034
static int _wrap_ui_node_to_iter(lua_State* L) {
9036
char *arg1 = (char *) 0 ;
9037
GtkTreeIter *result = 0 ;
9039
SWIG_check_num_args("ui_node_to_iter",1,1)
9040
if(!lua_isstring(L,1)) SWIG_fail_arg("ui_node_to_iter",1,"char const *");
9041
arg1 = (char *)lua_tostring(L, 1);
9042
result = (GtkTreeIter *)ui_node_to_iter((char const *)arg1);
9043
SWIG_NewPointerObj(L,result,SWIGTYPE_p_GtkTreeIter,0); SWIG_arg++;
9054
static int _wrap_ui_node_update_iter(lua_State* L) {
9056
char *arg1 = (char *) 0 ;
9057
GtkTreeIter *arg2 = (GtkTreeIter *) 0 ;
9059
SWIG_check_num_args("ui_node_update_iter",2,2)
9060
if(!lua_isstring(L,1)) SWIG_fail_arg("ui_node_update_iter",1,"char const *");
9061
if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("ui_node_update_iter",2,"GtkTreeIter *");
9062
arg1 = (char *)lua_tostring(L, 1);
9064
if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_GtkTreeIter,0))){
9065
SWIG_fail_ptr("ui_node_update_iter",2,SWIGTYPE_p_GtkTreeIter);
9068
ui_node_update_iter((char const *)arg1,arg2);
9080
static int _wrap_ui_node_add(lua_State* L) {
9082
nodePtr arg1 = (nodePtr) 0 ;
9084
SWIG_check_num_args("ui_node_add",1,1)
9085
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("ui_node_add",1,"nodePtr");
9087
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
9088
SWIG_fail_ptr("ui_node_add",1,SWIGTYPE_p_node);
9103
static int _wrap_ui_node_reload_feedlist(lua_State* L) {
9106
SWIG_check_num_args("ui_node_reload_feedlist",0,0)
9107
ui_node_reload_feedlist();
9119
static int _wrap_ui_node_clear_feedlist(lua_State* L) {
9122
SWIG_check_num_args("ui_node_clear_feedlist",0,0)
9123
ui_node_clear_feedlist();
9135
static int _wrap_ui_node_load_feedlist(lua_State* L) {
9137
nodePtr arg1 = (nodePtr) 0 ;
9139
SWIG_check_num_args("ui_node_load_feedlist",1,1)
9140
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("ui_node_load_feedlist",1,"nodePtr");
9142
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
9143
SWIG_fail_ptr("ui_node_load_feedlist",1,SWIGTYPE_p_node);
9146
ui_node_load_feedlist(arg1);
9158
static int _wrap_ui_node_remove_node(lua_State* L) {
9160
nodePtr arg1 = (nodePtr) 0 ;
9162
SWIG_check_num_args("ui_node_remove_node",1,1)
9163
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("ui_node_remove_node",1,"nodePtr");
9165
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
9166
SWIG_fail_ptr("ui_node_remove_node",1,SWIGTYPE_p_node);
9169
ui_node_remove_node(arg1);
9181
static int _wrap_ui_node_add_empty_node(lua_State* L) {
9183
GtkTreeIter *arg1 = (GtkTreeIter *) 0 ;
9185
SWIG_check_num_args("ui_node_add_empty_node",1,1)
9186
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("ui_node_add_empty_node",1,"GtkTreeIter *");
9188
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkTreeIter,0))){
9189
SWIG_fail_ptr("ui_node_add_empty_node",1,SWIGTYPE_p_GtkTreeIter);
9192
ui_node_add_empty_node(arg1);
9204
static int _wrap_ui_node_remove_empty_node(lua_State* L) {
9206
GtkTreeIter *arg1 = (GtkTreeIter *) 0 ;
9208
SWIG_check_num_args("ui_node_remove_empty_node",1,1)
9209
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("ui_node_remove_empty_node",1,"GtkTreeIter *");
9211
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_GtkTreeIter,0))){
9212
SWIG_fail_ptr("ui_node_remove_empty_node",1,SWIGTYPE_p_GtkTreeIter);
9215
ui_node_remove_empty_node(arg1);
9227
static int _wrap_ui_node_is_expanded(lua_State* L) {
9229
char *arg1 = (char *) 0 ;
9232
SWIG_check_num_args("ui_node_is_expanded",1,1)
9233
if(!lua_isstring(L,1)) SWIG_fail_arg("ui_node_is_expanded",1,"char const *");
9234
arg1 = (char *)lua_tostring(L, 1);
9235
result = (int)ui_node_is_expanded((char const *)arg1);
9236
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9247
static int _wrap_ui_node_check_if_folder_is_empty(lua_State* L) {
9249
char *arg1 = (char *) 0 ;
9251
SWIG_check_num_args("ui_node_check_if_folder_is_empty",1,1)
9252
if(!lua_isstring(L,1)) SWIG_fail_arg("ui_node_check_if_folder_is_empty",1,"char const *");
9253
arg1 = (char *)lua_tostring(L, 1);
9254
ui_node_check_if_folder_is_empty((char const *)arg1);
9266
static int _wrap_ui_node_set_expansion(lua_State* L) {
9268
nodePtr arg1 = (nodePtr) 0 ;
9271
SWIG_check_num_args("ui_node_set_expansion",2,2)
9272
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("ui_node_set_expansion",1,"nodePtr");
9273
if(!lua_isnumber(L,2)) SWIG_fail_arg("ui_node_set_expansion",2,"int");
9275
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
9276
SWIG_fail_ptr("ui_node_set_expansion",1,SWIGTYPE_p_node);
9279
arg2 = (int)lua_tonumber(L, 2);
9280
ui_node_set_expansion(arg1,arg2);
9292
static int _wrap_ui_node_update(lua_State* L) {
9294
char *arg1 = (char *) 0 ;
9296
SWIG_check_num_args("ui_node_update",1,1)
9297
if(!lua_isstring(L,1)) SWIG_fail_arg("ui_node_update",1,"char const *");
9298
arg1 = (char *)lua_tostring(L, 1);
9299
ui_node_update((char const *)arg1);
9311
static int _wrap_ui_node_rename(lua_State* L) {
9313
nodePtr arg1 = (nodePtr) 0 ;
9315
SWIG_check_num_args("ui_node_rename",1,1)
9316
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("ui_node_rename",1,"nodePtr");
9318
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_node,0))){
9319
SWIG_fail_ptr("ui_node_rename",1,SWIGTYPE_p_node);
9322
ui_node_rename(arg1);
9338
static const struct luaL_reg swig_commands[] = {
9339
{ "node_new", _wrap_node_new},
9340
{ "node_from_id", _wrap_node_from_id},
9341
{ "node_set_parent", _wrap_node_set_parent},
9342
{ "node_remove", _wrap_node_remove},
9343
{ "node_set_data", _wrap_node_set_data},
9344
{ "node_set_subscription", _wrap_node_set_subscription},
9345
{ "node_update_subscription", _wrap_node_update_subscription},
9346
{ "node_auto_update_subscription", _wrap_node_auto_update_subscription},
9347
{ "node_reset_update_counter", _wrap_node_reset_update_counter},
9348
{ "node_is_ancestor", _wrap_node_is_ancestor},
9349
{ "node_get_title", _wrap_node_get_title},
9350
{ "node_set_title", _wrap_node_set_title},
9351
{ "node_update_counters", _wrap_node_update_counters},
9352
{ "node_mark_all_read", _wrap_node_mark_all_read},
9353
{ "node_set_icon", _wrap_node_set_icon},
9354
{ "node_get_icon", _wrap_node_get_icon},
9355
{ "node_get_favicon_file", _wrap_node_get_favicon_file},
9356
{ "node_new_id", _wrap_node_new_id},
9357
{ "node_get_id", _wrap_node_get_id},
9358
{ "node_set_id", _wrap_node_set_id},
9359
{ "node_free", _wrap_node_free},
9360
{ "node_default_render", _wrap_node_default_render},
9361
{ "node_save", _wrap_node_save},
9362
{ "node_get_itemset", _wrap_node_get_itemset},
9363
{ "node_render", _wrap_node_render},
9364
{ "node_update_favicon", _wrap_node_update_favicon},
9365
{ "node_set_sort_column", _wrap_node_set_sort_column},
9366
{ "node_set_view_mode", _wrap_node_set_view_mode},
9367
{ "node_get_view_mode", _wrap_node_get_view_mode},
9368
{ "node_load_link_preferred", _wrap_node_load_link_preferred},
9369
{ "node_get_base_url", _wrap_node_get_base_url},
9370
{ "node_foreach_child_full", _wrap_node_foreach_child_full},
9371
{ "item_new", _wrap_item_new},
9372
{ "item_load", _wrap_item_load},
9373
{ "item_copy", _wrap_item_copy},
9374
{ "item_get_base_url", _wrap_item_get_base_url},
9375
{ "item_unload", _wrap_item_unload},
9376
{ "item_get_id", _wrap_item_get_id},
9377
{ "item_get_title", _wrap_item_get_title},
9378
{ "item_get_description", _wrap_item_get_description},
9379
{ "item_get_source", _wrap_item_get_source},
9380
{ "item_set_title", _wrap_item_set_title},
9381
{ "item_set_description", _wrap_item_set_description},
9382
{ "item_set_source", _wrap_item_set_source},
9383
{ "item_set_id", _wrap_item_set_id},
9384
{ "item_to_xml", _wrap_item_to_xml},
9385
{ "item_set_flag_state", _wrap_item_set_flag_state},
9386
{ "item_flag_state_changed", _wrap_item_flag_state_changed},
9387
{ "item_set_read_state", _wrap_item_set_read_state},
9388
{ "item_read_state_changed", _wrap_item_read_state_changed},
9389
{ "itemset_mark_read", _wrap_itemset_mark_read},
9390
{ "item_state_set_all_popup", _wrap_item_state_set_all_popup},
9391
{ "itemlist_free", _wrap_itemlist_free},
9392
{ "itemlist_get_displayed_node", _wrap_itemlist_get_displayed_node},
9393
{ "itemlist_get_selected", _wrap_itemlist_get_selected},
9394
{ "itemlist_get_selected_id", _wrap_itemlist_get_selected_id},
9395
{ "itemlist_merge_itemset", _wrap_itemlist_merge_itemset},
9396
{ "itemlist_load_search_result", _wrap_itemlist_load_search_result},
9397
{ "itemlist_load", _wrap_itemlist_load},
9398
{ "itemlist_unload", _wrap_itemlist_unload},
9399
{ "itemlist_set_view_mode", _wrap_itemlist_set_view_mode},
9400
{ "itemlist_get_view_mode", _wrap_itemlist_get_view_mode},
9401
{ "on_view_activate", _wrap_on_view_activate},
9402
{ "itemlist_update_item", _wrap_itemlist_update_item},
9403
{ "itemlist_request_remove_item", _wrap_itemlist_request_remove_item},
9404
{ "itemlist_remove_item", _wrap_itemlist_remove_item},
9405
{ "itemlist_remove_items", _wrap_itemlist_remove_items},
9406
{ "itemlist_remove_all_items", _wrap_itemlist_remove_all_items},
9407
{ "itemlist_selection_changed", _wrap_itemlist_selection_changed},
9408
{ "itemlist_select_next_unread", _wrap_itemlist_select_next_unread},
9409
{ "itemlist_toggle_flag", _wrap_itemlist_toggle_flag},
9410
{ "itemlist_toggle_read_status", _wrap_itemlist_toggle_read_status},
9411
{ "social_init", _wrap_social_init},
9412
{ "social_free", _wrap_social_free},
9413
{ "social_set_bookmark_site", _wrap_social_set_bookmark_site},
9414
{ "social_register_site", _wrap_social_register_site},
9415
{ "social_register_bookmark_site", _wrap_social_register_bookmark_site},
9416
{ "social_get_bookmark_url", _wrap_social_get_bookmark_url},
9417
{ "social_get_bookmark_site", _wrap_social_get_bookmark_site},
9418
{ "social_register_link_search_site", _wrap_social_register_link_search_site},
9419
{ "social_get_link_search_url", _wrap_social_get_link_search_url},
9420
{ "social_set_link_search_site", _wrap_social_set_link_search_site},
9421
{ "social_get_link_search_site", _wrap_social_get_link_search_site},
9422
{ "subscription_new", _wrap_subscription_new},
9423
{ "subscription_import", _wrap_subscription_import},
9424
{ "subscription_export", _wrap_subscription_export},
9425
{ "subscription_to_xml", _wrap_subscription_to_xml},
9426
{ "subscription_can_be_updated", _wrap_subscription_can_be_updated},
9427
{ "subscription_update", _wrap_subscription_update},
9428
{ "subscription_auto_update", _wrap_subscription_auto_update},
9429
{ "subscription_cancel_update", _wrap_subscription_cancel_update},
9430
{ "subscription_get_update_interval", _wrap_subscription_get_update_interval},
9431
{ "subscription_set_update_interval", _wrap_subscription_set_update_interval},
9432
{ "subscription_get_default_update_interval", _wrap_subscription_get_default_update_interval},
9433
{ "subscription_set_default_update_interval", _wrap_subscription_set_default_update_interval},
9434
{ "subscription_reset_update_counter", _wrap_subscription_reset_update_counter},
9435
{ "subscription_update_favicon", _wrap_subscription_update_favicon},
9436
{ "subscription_get_source", _wrap_subscription_get_source},
9437
{ "subscription_set_source", _wrap_subscription_set_source},
9438
{ "subscription_get_orig_source", _wrap_subscription_get_orig_source},
9439
{ "subscription_set_orig_source", _wrap_subscription_set_orig_source},
9440
{ "subscription_get_homepage", _wrap_subscription_get_homepage},
9441
{ "subscription_set_homepage", _wrap_subscription_set_homepage},
9442
{ "subscription_get_filter", _wrap_subscription_get_filter},
9443
{ "subscription_set_filter", _wrap_subscription_set_filter},
9444
{ "subscription_free", _wrap_subscription_free},
9445
{ "ui_feedlist_select", _wrap_ui_feedlist_select},
9446
{ "ui_feedlist_init", _wrap_ui_feedlist_init},
9447
{ "ui_feedlist_delete_prompt", _wrap_ui_feedlist_delete_prompt},
9448
{ "on_newbtn_clicked", _wrap_on_newbtn_clicked},
9449
{ "on_menu_delete", _wrap_on_menu_delete},
9450
{ "on_menu_update", _wrap_on_menu_update},
9451
{ "on_menu_update_all", _wrap_on_menu_update_all},
9452
{ "on_menu_allread", _wrap_on_menu_allread},
9453
{ "on_menu_allfeedsread", _wrap_on_menu_allfeedsread},
9454
{ "on_menu_properties", _wrap_on_menu_properties},
9455
{ "on_menu_feed_new", _wrap_on_menu_feed_new},
9456
{ "on_menu_folder_new", _wrap_on_menu_folder_new},
9457
{ "on_new_plugin_activate", _wrap_on_new_plugin_activate},
9458
{ "on_new_newsbin_activate", _wrap_on_new_newsbin_activate},
9459
{ "on_feedlist_reduced_activate", _wrap_on_feedlist_reduced_activate},
9460
{ "ui_itemlist_new", _wrap_ui_itemlist_new},
9461
{ "ui_itemlist_destroy", _wrap_ui_itemlist_destroy},
9462
{ "ui_itemlist_contains_item", _wrap_ui_itemlist_contains_item},
9463
{ "ui_itemlist_set_sort_column", _wrap_ui_itemlist_set_sort_column},
9464
{ "ui_itemlist_reset_tree_store", _wrap_ui_itemlist_reset_tree_store},
9465
{ "ui_itemlist_prefocus", _wrap_ui_itemlist_prefocus},
9466
{ "ui_itemlist_select", _wrap_ui_itemlist_select},
9467
{ "ui_itemlist_add_item", _wrap_ui_itemlist_add_item},
9468
{ "ui_itemlist_remove_item", _wrap_ui_itemlist_remove_item},
9469
{ "ui_itemlist_enable_favicon_column", _wrap_ui_itemlist_enable_favicon_column},
9470
{ "ui_itemlist_enable_encicon_column", _wrap_ui_itemlist_enable_encicon_column},
9471
{ "ui_itemlist_clear", _wrap_ui_itemlist_clear},
9472
{ "ui_itemlist_scroll_left", _wrap_ui_itemlist_scroll_left},
9473
{ "on_Itemlist_row_activated", _wrap_on_Itemlist_row_activated},
9474
{ "itemlist_sort_column_changed_cb", _wrap_itemlist_sort_column_changed_cb},
9475
{ "on_itemlist_selection_changed", _wrap_on_itemlist_selection_changed},
9476
{ "on_toggle_unread_status", _wrap_on_toggle_unread_status},
9477
{ "on_toggle_item_flag", _wrap_on_toggle_item_flag},
9478
{ "on_popup_launchitem_selected", _wrap_on_popup_launchitem_selected},
9479
{ "on_popup_launchitem_in_tab_selected", _wrap_on_popup_launchitem_in_tab_selected},
9480
{ "on_popup_toggle_read", _wrap_on_popup_toggle_read},
9481
{ "on_popup_toggle_flag", _wrap_on_popup_toggle_flag},
9482
{ "on_remove_items_activate", _wrap_on_remove_items_activate},
9483
{ "on_remove_item_activate", _wrap_on_remove_item_activate},
9484
{ "on_popup_remove_selected", _wrap_on_popup_remove_selected},
9485
{ "ui_itemlist_find_unread_item", _wrap_ui_itemlist_find_unread_item},
9486
{ "on_next_unread_item_activate", _wrap_on_next_unread_item_activate},
9487
{ "on_popup_next_unread_item_selected", _wrap_on_popup_next_unread_item_selected},
9488
{ "on_nextbtn_clicked", _wrap_on_nextbtn_clicked},
9489
{ "ui_itemlist_update_item", _wrap_ui_itemlist_update_item},
9490
{ "ui_itemlist_update_all_items", _wrap_ui_itemlist_update_all_items},
9491
{ "ui_itemlist_search_item_link", _wrap_ui_itemlist_search_item_link},
9492
{ "ui_itemlist_add_item_bookmark", _wrap_ui_itemlist_add_item_bookmark},
9493
{ "on_popup_copy_URL_clipboard", _wrap_on_popup_copy_URL_clipboard},
9494
{ "on_popup_social_bm_item_selected", _wrap_on_popup_social_bm_item_selected},
9495
{ "ui_node_to_iter", _wrap_ui_node_to_iter},
9496
{ "ui_node_update_iter", _wrap_ui_node_update_iter},
9497
{ "ui_node_add", _wrap_ui_node_add},
9498
{ "ui_node_reload_feedlist", _wrap_ui_node_reload_feedlist},
9499
{ "ui_node_clear_feedlist", _wrap_ui_node_clear_feedlist},
9500
{ "ui_node_load_feedlist", _wrap_ui_node_load_feedlist},
9501
{ "ui_node_remove_node", _wrap_ui_node_remove_node},
9502
{ "ui_node_add_empty_node", _wrap_ui_node_add_empty_node},
9503
{ "ui_node_remove_empty_node", _wrap_ui_node_remove_empty_node},
9504
{ "ui_node_is_expanded", _wrap_ui_node_is_expanded},
9505
{ "ui_node_check_if_folder_is_empty", _wrap_ui_node_check_if_folder_is_empty},
9506
{ "ui_node_set_expansion", _wrap_ui_node_set_expansion},
9507
{ "ui_node_update", _wrap_ui_node_update},
9508
{ "ui_node_rename", _wrap_ui_node_rename},
9512
static swig_lua_var_info swig_variables[] = {
9513
{ "feedstore", _wrap_feedstore_get, _wrap_feedstore_set },
9514
{ "feedlist_reduced_unread", _wrap_feedlist_reduced_unread_get, _wrap_feedlist_reduced_unread_set },
9518
static swig_lua_const_info swig_constants[] = {
9519
{ SWIG_LUA_INT, (char *)"CACHE_DISABLE", (long) CACHE_DISABLE, 0, 0, 0},
9520
{ SWIG_LUA_INT, (char *)"CACHE_DEFAULT", (long) CACHE_DEFAULT, 0, 0, 0},
9521
{ SWIG_LUA_INT, (char *)"CACHE_UNLIMITED", (long) CACHE_UNLIMITED, 0, 0, 0},
9522
{ SWIG_LUA_INT, (char *)"FEED_REQ_RESET_TITLE", (long) FEED_REQ_RESET_TITLE, 0, 0, 0},
9523
{ SWIG_LUA_INT, (char *)"FEED_REQ_PRIORITY_HIGH", (long) FEED_REQ_PRIORITY_HIGH, 0, 0, 0},
9524
{ SWIG_LUA_INT, (char *)"FEED_REQ_ALLOW_RETRIES", (long) FEED_REQ_ALLOW_RETRIES, 0, 0, 0},
9525
{ SWIG_LUA_INT, (char *)"FEED_REQ_NO_PROXY", (long) FEED_REQ_NO_PROXY, 0, 0, 0},
9526
{ SWIG_LUA_INT, (char *)"FS_LABEL", (long) FS_LABEL, 0, 0, 0},
9527
{ SWIG_LUA_INT, (char *)"FS_ICON", (long) FS_ICON, 0, 0, 0},
9528
{ SWIG_LUA_INT, (char *)"FS_PTR", (long) FS_PTR, 0, 0, 0},
9529
{ SWIG_LUA_INT, (char *)"FS_UNREAD", (long) FS_UNREAD, 0, 0, 0},
9530
{ SWIG_LUA_INT, (char *)"FS_LEN", (long) FS_LEN, 0, 0, 0},
9534
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
9536
static swig_type_info _swigt__p_GHashTable = {"_p_GHashTable", "GHashTable *", 0, 0, (void*)0, 0};
9537
static swig_type_info _swigt__p_GList = {"_p_GList", "GList *", 0, 0, (void*)0, 0};
9538
static swig_type_info _swigt__p_GSList = {"_p_GSList", "GSList *", 0, 0, (void*)0, 0};
9539
static swig_type_info _swigt__p_GTimeVal = {"_p_GTimeVal", "GTimeVal *", 0, 0, (void*)0, 0};
9540
static swig_type_info _swigt__p_GtkButton = {"_p_GtkButton", "GtkButton *", 0, 0, (void*)0, 0};
9541
static swig_type_info _swigt__p_GtkMenuItem = {"_p_GtkMenuItem", "GtkMenuItem *", 0, 0, (void*)0, 0};
9542
static swig_type_info _swigt__p_GtkRadioAction = {"_p_GtkRadioAction", "GtkRadioAction *", 0, 0, (void*)0, 0};
9543
static swig_type_info _swigt__p_GtkToggleAction = {"_p_GtkToggleAction", "GtkToggleAction *", 0, 0, (void*)0, 0};
9544
static swig_type_info _swigt__p_GtkTreeIter = {"_p_GtkTreeIter", "GtkTreeIter *", 0, 0, (void*)0, 0};
9545
static swig_type_info _swigt__p_GtkTreePath = {"_p_GtkTreePath", "GtkTreePath *", 0, 0, (void*)0, 0};
9546
static swig_type_info _swigt__p_GtkTreeSelection = {"_p_GtkTreeSelection", "GtkTreeSelection *", 0, 0, (void*)0, 0};
9547
static swig_type_info _swigt__p_GtkTreeSortable = {"_p_GtkTreeSortable", "GtkTreeSortable *", 0, 0, (void*)0, 0};
9548
static swig_type_info _swigt__p_GtkTreeStore = {"_p_GtkTreeStore", "GtkTreeStore *", 0, 0, (void*)0, 0};
9549
static swig_type_info _swigt__p_GtkTreeView = {"_p_GtkTreeView", "GtkTreeView *", 0, 0, (void*)0, 0};
9550
static swig_type_info _swigt__p_GtkTreeViewColumn = {"_p_GtkTreeViewColumn", "GtkTreeViewColumn *", 0, 0, (void*)0, 0};
9551
static swig_type_info _swigt__p_GtkWidget = {"_p_GtkWidget", "GtkWidget *", 0, 0, (void*)0, 0};
9552
static swig_type_info _swigt__p_gpointer = {"_p_gpointer", "gpointer *", 0, 0, (void*)0, 0};
9553
static swig_type_info _swigt__p_gulong = {"_p_gulong", "gulong *", 0, 0, (void*)0, 0};
9554
static swig_type_info _swigt__p_item = {"_p_item", "itemPtr|struct item *|item *", 0, 0, (void*)&_wrap_class_item, 0};
9555
static swig_type_info _swigt__p_itemSetPtr = {"_p_itemSetPtr", "itemSetPtr *", 0, 0, (void*)0, 0};
9556
static swig_type_info _swigt__p_node = {"_p_node", "struct node *|node *|nodePtr", 0, 0, (void*)&_wrap_class_node, 0};
9557
static swig_type_info _swigt__p_nodeSource = {"_p_nodeSource", "struct nodeSource *", 0, 0, (void*)0, 0};
9558
static swig_type_info _swigt__p_nodeType = {"_p_nodeType", "struct nodeType *", 0, 0, (void*)0, 0};
9559
static swig_type_info _swigt__p_nodeViewSortType = {"_p_nodeViewSortType", "nodeViewSortType *", 0, 0, (void*)0, 0};
9560
static swig_type_info _swigt__p_nodeViewType = {"_p_nodeViewType", "nodeViewType *", 0, 0, (void*)0, 0};
9561
static swig_type_info _swigt__p_socialSite = {"_p_socialSite", "struct socialSite *|socialSite *", 0, 0, (void*)&_wrap_class_socialSite, 0};
9562
static swig_type_info _swigt__p_subscription = {"_p_subscription", "subscriptionPtr|struct subscription *|subscription *", 0, 0, (void*)&_wrap_class_subscription, 0};
9563
static swig_type_info _swigt__p_subscriptionType = {"_p_subscriptionType", "struct subscriptionType *", 0, 0, (void*)0, 0};
9564
static swig_type_info _swigt__p_time_t = {"_p_time_t", "time_t *", 0, 0, (void*)0, 0};
9565
static swig_type_info _swigt__p_updateJob = {"_p_updateJob", "struct updateJob *", 0, 0, (void*)0, 0};
9566
static swig_type_info _swigt__p_updateOptionsPtr = {"_p_updateOptionsPtr", "updateOptionsPtr *", 0, 0, (void*)0, 0};
9567
static swig_type_info _swigt__p_updateStatePtr = {"_p_updateStatePtr", "updateStatePtr *", 0, 0, (void*)0, 0};
9568
static swig_type_info _swigt__p_xmlNodePtr = {"_p_xmlNodePtr", "xmlNodePtr *", 0, 0, (void*)0, 0};
9570
static swig_type_info *swig_type_initial[] = {
9571
&_swigt__p_GHashTable,
9574
&_swigt__p_GTimeVal,
9575
&_swigt__p_GtkButton,
9576
&_swigt__p_GtkMenuItem,
9577
&_swigt__p_GtkRadioAction,
9578
&_swigt__p_GtkToggleAction,
9579
&_swigt__p_GtkTreeIter,
9580
&_swigt__p_GtkTreePath,
9581
&_swigt__p_GtkTreeSelection,
9582
&_swigt__p_GtkTreeSortable,
9583
&_swigt__p_GtkTreeStore,
9584
&_swigt__p_GtkTreeView,
9585
&_swigt__p_GtkTreeViewColumn,
9586
&_swigt__p_GtkWidget,
9587
&_swigt__p_gpointer,
9590
&_swigt__p_itemSetPtr,
9592
&_swigt__p_nodeSource,
9593
&_swigt__p_nodeType,
9594
&_swigt__p_nodeViewSortType,
9595
&_swigt__p_nodeViewType,
9596
&_swigt__p_socialSite,
9597
&_swigt__p_subscription,
9598
&_swigt__p_subscriptionType,
9600
&_swigt__p_updateJob,
9601
&_swigt__p_updateOptionsPtr,
9602
&_swigt__p_updateStatePtr,
9603
&_swigt__p_xmlNodePtr,
9606
static swig_cast_info _swigc__p_GHashTable[] = { {&_swigt__p_GHashTable, 0, 0, 0},{0, 0, 0, 0}};
9607
static swig_cast_info _swigc__p_GList[] = { {&_swigt__p_GList, 0, 0, 0},{0, 0, 0, 0}};
9608
static swig_cast_info _swigc__p_GSList[] = { {&_swigt__p_GSList, 0, 0, 0},{0, 0, 0, 0}};
9609
static swig_cast_info _swigc__p_GTimeVal[] = { {&_swigt__p_GTimeVal, 0, 0, 0},{0, 0, 0, 0}};
9610
static swig_cast_info _swigc__p_GtkButton[] = { {&_swigt__p_GtkButton, 0, 0, 0},{0, 0, 0, 0}};
9611
static swig_cast_info _swigc__p_GtkMenuItem[] = { {&_swigt__p_GtkMenuItem, 0, 0, 0},{0, 0, 0, 0}};
9612
static swig_cast_info _swigc__p_GtkRadioAction[] = { {&_swigt__p_GtkRadioAction, 0, 0, 0},{0, 0, 0, 0}};
9613
static swig_cast_info _swigc__p_GtkToggleAction[] = { {&_swigt__p_GtkToggleAction, 0, 0, 0},{0, 0, 0, 0}};
9614
static swig_cast_info _swigc__p_GtkTreeIter[] = { {&_swigt__p_GtkTreeIter, 0, 0, 0},{0, 0, 0, 0}};
9615
static swig_cast_info _swigc__p_GtkTreePath[] = { {&_swigt__p_GtkTreePath, 0, 0, 0},{0, 0, 0, 0}};
9616
static swig_cast_info _swigc__p_GtkTreeSelection[] = { {&_swigt__p_GtkTreeSelection, 0, 0, 0},{0, 0, 0, 0}};
9617
static swig_cast_info _swigc__p_GtkTreeSortable[] = { {&_swigt__p_GtkTreeSortable, 0, 0, 0},{0, 0, 0, 0}};
9618
static swig_cast_info _swigc__p_GtkTreeStore[] = { {&_swigt__p_GtkTreeStore, 0, 0, 0},{0, 0, 0, 0}};
9619
static swig_cast_info _swigc__p_GtkTreeView[] = { {&_swigt__p_GtkTreeView, 0, 0, 0},{0, 0, 0, 0}};
9620
static swig_cast_info _swigc__p_GtkTreeViewColumn[] = { {&_swigt__p_GtkTreeViewColumn, 0, 0, 0},{0, 0, 0, 0}};
9621
static swig_cast_info _swigc__p_GtkWidget[] = { {&_swigt__p_GtkWidget, 0, 0, 0},{0, 0, 0, 0}};
9622
static swig_cast_info _swigc__p_gpointer[] = { {&_swigt__p_gpointer, 0, 0, 0},{0, 0, 0, 0}};
9623
static swig_cast_info _swigc__p_gulong[] = { {&_swigt__p_gulong, 0, 0, 0},{0, 0, 0, 0}};
9624
static swig_cast_info _swigc__p_item[] = { {&_swigt__p_item, 0, 0, 0},{0, 0, 0, 0}};
9625
static swig_cast_info _swigc__p_itemSetPtr[] = { {&_swigt__p_itemSetPtr, 0, 0, 0},{0, 0, 0, 0}};
9626
static swig_cast_info _swigc__p_node[] = { {&_swigt__p_node, 0, 0, 0},{0, 0, 0, 0}};
9627
static swig_cast_info _swigc__p_nodeSource[] = { {&_swigt__p_nodeSource, 0, 0, 0},{0, 0, 0, 0}};
9628
static swig_cast_info _swigc__p_nodeType[] = { {&_swigt__p_nodeType, 0, 0, 0},{0, 0, 0, 0}};
9629
static swig_cast_info _swigc__p_nodeViewSortType[] = { {&_swigt__p_nodeViewSortType, 0, 0, 0},{0, 0, 0, 0}};
9630
static swig_cast_info _swigc__p_nodeViewType[] = { {&_swigt__p_nodeViewType, 0, 0, 0},{0, 0, 0, 0}};
9631
static swig_cast_info _swigc__p_socialSite[] = { {&_swigt__p_socialSite, 0, 0, 0},{0, 0, 0, 0}};
9632
static swig_cast_info _swigc__p_subscription[] = { {&_swigt__p_subscription, 0, 0, 0},{0, 0, 0, 0}};
9633
static swig_cast_info _swigc__p_subscriptionType[] = { {&_swigt__p_subscriptionType, 0, 0, 0},{0, 0, 0, 0}};
9634
static swig_cast_info _swigc__p_time_t[] = { {&_swigt__p_time_t, 0, 0, 0},{0, 0, 0, 0}};
9635
static swig_cast_info _swigc__p_updateJob[] = { {&_swigt__p_updateJob, 0, 0, 0},{0, 0, 0, 0}};
9636
static swig_cast_info _swigc__p_updateOptionsPtr[] = { {&_swigt__p_updateOptionsPtr, 0, 0, 0},{0, 0, 0, 0}};
9637
static swig_cast_info _swigc__p_updateStatePtr[] = { {&_swigt__p_updateStatePtr, 0, 0, 0},{0, 0, 0, 0}};
9638
static swig_cast_info _swigc__p_xmlNodePtr[] = { {&_swigt__p_xmlNodePtr, 0, 0, 0},{0, 0, 0, 0}};
9640
static swig_cast_info *swig_cast_initial[] = {
9641
_swigc__p_GHashTable,
9645
_swigc__p_GtkButton,
9646
_swigc__p_GtkMenuItem,
9647
_swigc__p_GtkRadioAction,
9648
_swigc__p_GtkToggleAction,
9649
_swigc__p_GtkTreeIter,
9650
_swigc__p_GtkTreePath,
9651
_swigc__p_GtkTreeSelection,
9652
_swigc__p_GtkTreeSortable,
9653
_swigc__p_GtkTreeStore,
9654
_swigc__p_GtkTreeView,
9655
_swigc__p_GtkTreeViewColumn,
9656
_swigc__p_GtkWidget,
9660
_swigc__p_itemSetPtr,
9662
_swigc__p_nodeSource,
9664
_swigc__p_nodeViewSortType,
9665
_swigc__p_nodeViewType,
9666
_swigc__p_socialSite,
9667
_swigc__p_subscription,
9668
_swigc__p_subscriptionType,
9670
_swigc__p_updateJob,
9671
_swigc__p_updateOptionsPtr,
9672
_swigc__p_updateStatePtr,
9673
_swigc__p_xmlNodePtr,
9677
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
9679
/* -----------------------------------------------------------------------------
9680
* Type initialization:
9681
* This problem is tough by the requirement that no dynamic
9682
* memory is used. Also, since swig_type_info structures store pointers to
9683
* swig_cast_info structures and swig_cast_info structures store pointers back
9684
* to swig_type_info structures, we need some lookup code at initialization.
9685
* The idea is that swig generates all the structures that are needed.
9686
* The runtime then collects these partially filled structures.
9687
* The SWIG_InitializeModule function takes these initial arrays out of
9688
* swig_module, and does all the lookup, filling in the swig_module.types
9689
* array with the correct data and linking the correct swig_cast_info
9690
* structures together.
9692
* The generated swig_type_info structures are assigned staticly to an initial
9693
* array. We just loop through that array, and handle each type individually.
9694
* First we lookup if this type has been already loaded, and if so, use the
9695
* loaded structure instead of the generated one. Then we have to fill in the
9696
* cast linked list. The cast data is initially stored in something like a
9697
* two-dimensional array. Each row corresponds to a type (there are the same
9698
* number of rows as there are in the swig_type_initial array). Each entry in
9699
* a column is one of the swig_cast_info structures for that type.
9700
* The cast_initial array is actually an array of arrays, because each row has
9701
* a variable number of columns. So to actually build the cast linked list,
9702
* we find the array of casts associated with the type, and loop through it
9703
* adding the casts to the list. The one last trick we need to do is making
9704
* sure the type pointer in the swig_cast_info struct is correct.
9706
* First off, we lookup the cast->type name to see if it is already loaded.
9707
* There are three cases to handle:
9708
* 1) If the cast->type has already been loaded AND the type we are adding
9709
* casting info to has not been loaded (it is in this module), THEN we
9710
* replace the cast->type pointer with the type pointer that has already
9712
* 2) If BOTH types (the one we are adding casting info to, and the
9713
* cast->type) are loaded, THEN the cast info has already been loaded by
9714
* the previous module so we just ignore it.
9715
* 3) Finally, if cast->type has not already been loaded, then we add that
9716
* swig_cast_info to the linked list (because the cast->type) pointer will
9718
* ----------------------------------------------------------------------------- */
9728
#define SWIGRUNTIME_DEBUG
9733
SWIG_InitializeModule(void *clientdata) {
9735
swig_module_info *module_head, *iter;
9738
clientdata = clientdata;
9740
/* check to see if the circular list has been setup, if not, set it up */
9741
if (swig_module.next==0) {
9742
/* Initialize the swig_module */
9743
swig_module.type_initial = swig_type_initial;
9744
swig_module.cast_initial = swig_cast_initial;
9745
swig_module.next = &swig_module;
9751
/* Try and load any already created modules */
9752
module_head = SWIG_GetModule(clientdata);
9754
/* This is the first module loaded for this interpreter */
9755
/* so set the swig module into the interpreter */
9756
SWIG_SetModule(clientdata, &swig_module);
9757
module_head = &swig_module;
9759
/* the interpreter has loaded a SWIG module, but has it loaded this one? */
9763
if (iter==&swig_module) {
9768
} while (iter!= module_head);
9770
/* if the is found in the list, then all is done and we may leave */
9772
/* otherwise we must add out module into the list */
9773
swig_module.next = module_head->next;
9774
module_head->next = &swig_module;
9777
/* When multiple interpeters are used, a module could have already been initialized in
9778
a different interpreter, but not yet have a pointer in this interpreter.
9779
In this case, we do not want to continue adding types... everything should be
9781
if (init == 0) return;
9783
/* Now work on filling in swig_module.types */
9784
#ifdef SWIGRUNTIME_DEBUG
9785
printf("SWIG_InitializeModule: size %d\n", swig_module.size);
9787
for (i = 0; i < swig_module.size; ++i) {
9788
swig_type_info *type = 0;
9789
swig_type_info *ret;
9790
swig_cast_info *cast;
9792
#ifdef SWIGRUNTIME_DEBUG
9793
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
9796
/* if there is another module already loaded */
9797
if (swig_module.next != &swig_module) {
9798
type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
9801
/* Overwrite clientdata field */
9802
#ifdef SWIGRUNTIME_DEBUG
9803
printf("SWIG_InitializeModule: found type %s\n", type->name);
9805
if (swig_module.type_initial[i]->clientdata) {
9806
type->clientdata = swig_module.type_initial[i]->clientdata;
9807
#ifdef SWIGRUNTIME_DEBUG
9808
printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
9812
type = swig_module.type_initial[i];
9815
/* Insert casting types */
9816
cast = swig_module.cast_initial[i];
9817
while (cast->type) {
9819
/* Don't need to add information already in the list */
9821
#ifdef SWIGRUNTIME_DEBUG
9822
printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
9824
if (swig_module.next != &swig_module) {
9825
ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
9826
#ifdef SWIGRUNTIME_DEBUG
9827
if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
9831
if (type == swig_module.type_initial[i]) {
9832
#ifdef SWIGRUNTIME_DEBUG
9833
printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
9838
/* Check for casting already in the list */
9839
swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
9840
#ifdef SWIGRUNTIME_DEBUG
9841
if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
9843
if (!ocast) ret = 0;
9848
#ifdef SWIGRUNTIME_DEBUG
9849
printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
9852
type->cast->prev = cast;
9853
cast->next = type->cast;
9859
/* Set entry in modules->types array equal to the type */
9860
swig_module.types[i] = type;
9862
swig_module.types[i] = 0;
9864
#ifdef SWIGRUNTIME_DEBUG
9865
printf("**** SWIG_InitializeModule: Cast List ******\n");
9866
for (i = 0; i < swig_module.size; ++i) {
9868
swig_cast_info *cast = swig_module.cast_initial[i];
9869
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
9870
while (cast->type) {
9871
printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
9875
printf("---- Total casts: %d\n",j);
9877
printf("**** SWIG_InitializeModule: Cast List ******\n");
9881
/* This function will propagate the clientdata field of type to
9882
* any new swig_type_info structures that have been added into the list
9883
* of equivalent types. It is like calling
9884
* SWIG_TypeClientData(type, clientdata) a second time.
9887
SWIG_PropagateClientData(void) {
9889
swig_cast_info *equiv;
9890
static int init_run = 0;
9892
if (init_run) return;
9895
for (i = 0; i < swig_module.size; i++) {
9896
if (swig_module.types[i]->clientdata) {
9897
equiv = swig_module.types[i]->cast;
9899
if (!equiv->converter) {
9900
if (equiv->type && !equiv->type->clientdata)
9901
SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
9903
equiv = equiv->next;
9918
/* Forward declaration of where the user's %init{} gets inserted */
9919
void SWIG_init_user(lua_State* L );
9924
/* this is the initialization function
9925
added at the very end of the code
9926
the function is always called SWIG_init, but an eariler #define will rename it
9928
SWIGEXPORT int SWIG_init(lua_State* L)
9931
/* start with global table */
9932
lua_pushvalue(L,LUA_GLOBALSINDEX);
9933
/* SWIG's internal initalisation */
9934
SWIG_InitializeModule((void*)L);
9935
SWIG_PropagateClientData();
9936
/* add a global fn */
9937
SWIG_Lua_add_function(L,"swig_type",SWIG_Lua_type);
9938
SWIG_Lua_add_function(L,"swig_equals",SWIG_Lua_equal);
9939
/* begin the module (its a table with the same name as the module) */
9940
SWIG_Lua_module_begin(L,SWIG_name);
9941
/* add commands/functions */
9942
for (i = 0; swig_commands[i].name; i++){
9943
SWIG_Lua_module_add_function(L,swig_commands[i].name,swig_commands[i].func);
9946
for (i = 0; swig_variables[i].name; i++){
9947
SWIG_Lua_module_add_variable(L,swig_variables[i].name,swig_variables[i].get,swig_variables[i].set);
9949
/* set up base class pointers (the hierachy) */
9950
for (i = 0; swig_types[i]; i++){
9951
if (swig_types[i]->clientdata){
9952
SWIG_Lua_init_base_class(L,(swig_lua_class*)(swig_types[i]->clientdata));
9955
/* additional registration structs & classes in lua */
9956
for (i = 0; swig_types[i]; i++){
9957
if (swig_types[i]->clientdata){
9958
SWIG_Lua_class_register(L,(swig_lua_class*)(swig_types[i]->clientdata));
9962
SWIG_Lua_InstallConstants(L,swig_constants);
9963
/* invoke user-specific initialization */
9966
lua_pop(L,1); /* tidy stack (remove module table)*/
9967
lua_pop(L,1); /* tidy stack (remove global table)*/
9976
const char* SWIG_LUACODE=
9979
void SWIG_init_user(lua_State* L)
9981
/* exec Lua code if applicable */
9982
SWIG_Lua_dostring(L,SWIG_LUACODE);