fxruby 1.6.47-x64-mingw32 → 1.6.48-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/History.md +6 -1
  3. data/doap.rdf +1 -1
  4. data/ext/fox16_c/FXRuby.cpp +2 -2
  5. data/ext/fox16_c/core_wrap.cpp +497 -412
  6. data/ext/fox16_c/dc_wrap.cpp +215 -128
  7. data/ext/fox16_c/dialogs_wrap.cpp +1333 -1246
  8. data/ext/fox16_c/extconf.rb +3 -3
  9. data/ext/fox16_c/frames_wrap.cpp +633 -550
  10. data/ext/fox16_c/fx3d_wrap.cpp +1556 -1471
  11. data/ext/fox16_c/iconlist_wrap.cpp +555 -468
  12. data/ext/fox16_c/icons_wrap.cpp +1062 -975
  13. data/ext/fox16_c/image_wrap.cpp +912 -825
  14. data/ext/fox16_c/label_wrap.cpp +744 -657
  15. data/ext/fox16_c/layout_wrap.cpp +564 -477
  16. data/ext/fox16_c/list_wrap.cpp +556 -469
  17. data/ext/fox16_c/markfuncs.cpp +1 -1
  18. data/ext/fox16_c/mdi_wrap.cpp +1453 -1366
  19. data/ext/fox16_c/menu_wrap.cpp +1216 -1129
  20. data/ext/fox16_c/scintilla_wrap.cpp +1034 -943
  21. data/ext/fox16_c/swigruby.h +88 -28
  22. data/ext/fox16_c/table_wrap.cpp +1034 -945
  23. data/ext/fox16_c/text_wrap.cpp +1029 -942
  24. data/ext/fox16_c/treelist_wrap.cpp +1083 -996
  25. data/ext/fox16_c/ui_wrap.cpp +1210 -1123
  26. data/lib/2.6/fox16_c.so +0 -0
  27. data/lib/2.7/fox16_c.so +0 -0
  28. data/lib/3.0/fox16_c.so +0 -0
  29. data/lib/fox16/version.rb +1 -1
  30. data/ports/x64-mingw32/bin/libFOX-1.6-0.dll +0 -0
  31. data/ports/x64-mingw32/bin/libfxscintilla-20.dll +0 -0
  32. data/ports/x64-mingw32/bin/libjpeg-62.dll +0 -0
  33. data/ports/x64-mingw32/bin/libpng16-16.dll +0 -0
  34. data/ports/x64-mingw32/bin/libtiff-6.dll +0 -0
  35. data/ports/x64-mingw32/bin/zlib1.dll +0 -0
  36. data/swig-interfaces/FXFileDialog.i +2 -2
  37. data/swig-interfaces/FXFileSelector.i +1 -1
  38. data/swig-interfaces/FXGLViewer.i +1 -1
  39. data/swig-interfaces/ruby-typemaps.i +1 -1
  40. metadata +2 -2
@@ -1,42 +1,14 @@
1
1
  /* ----------------------------------------------------------------------------
2
- * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.2
2
+ * This file was automatically generated by SWIG (https://www.swig.org).
3
+ * Version 4.2.0
4
4
  *
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.
5
+ * Do not make changes to this file unless you know what you are doing - modify
6
+ * the SWIG interface file instead.
9
7
  * ----------------------------------------------------------------------------- */
10
8
 
11
9
 
12
- #ifndef SWIGRUBY
10
+ #define SWIG_VERSION 0x040200
13
11
  #define SWIGRUBY
14
- #endif
15
-
16
-
17
-
18
- #ifdef __cplusplus
19
- /* SwigValueWrapper is described in swig.swg */
20
- template<typename T> class SwigValueWrapper {
21
- struct SwigMovePointer {
22
- T *ptr;
23
- SwigMovePointer(T *p) : ptr(p) { }
24
- ~SwigMovePointer() { delete ptr; }
25
- SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
26
- } pointer;
27
- SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
28
- SwigValueWrapper(const SwigValueWrapper<T>& rhs);
29
- public:
30
- SwigValueWrapper() : pointer(0) { }
31
- SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
32
- operator T&() const { return *pointer.ptr; }
33
- T *operator&() { return pointer.ptr; }
34
- };
35
-
36
- template <typename T> T SwigValueInit() {
37
- return T();
38
- }
39
- #endif
40
12
 
41
13
  /* -----------------------------------------------------------------------------
42
14
  * This section contains generic SWIG labels for method/variable
@@ -162,6 +134,12 @@ template <typename T> T SwigValueInit() {
162
134
  # pragma warning disable 592
163
135
  #endif
164
136
 
137
+ #if __cplusplus >=201103L
138
+ # define SWIG_NULLPTR nullptr
139
+ #else
140
+ # define SWIG_NULLPTR NULL
141
+ #endif
142
+
165
143
  /* -----------------------------------------------------------------------------
166
144
  * This section contains generic SWIG labels for method/variable
167
145
  * declarations/attributes, and other compiler dependent labels.
@@ -286,6 +264,12 @@ template <typename T> T SwigValueInit() {
286
264
  # pragma warning disable 592
287
265
  #endif
288
266
 
267
+ #if __cplusplus >=201103L
268
+ # define SWIG_NULLPTR nullptr
269
+ #else
270
+ # define SWIG_NULLPTR NULL
271
+ #endif
272
+
289
273
  /* -----------------------------------------------------------------------------
290
274
  * swigrun.swg
291
275
  *
@@ -332,6 +316,8 @@ template <typename T> T SwigValueInit() {
332
316
  #define SWIG_POINTER_DISOWN 0x1
333
317
  #define SWIG_CAST_NEW_MEMORY 0x2
334
318
  #define SWIG_POINTER_NO_NULL 0x4
319
+ #define SWIG_POINTER_CLEAR 0x8
320
+ #define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN)
335
321
 
336
322
  /* Flags for new pointer objects */
337
323
  #define SWIG_POINTER_OWN 0x1
@@ -403,7 +389,7 @@ template <typename T> T SwigValueInit() {
403
389
  SWIG errors code.
404
390
 
405
391
  Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
406
- allows to return the 'cast rank', for example, if you have this
392
+ allows returning the 'cast rank', for example, if you have this
407
393
 
408
394
  int food(double)
409
395
  int fooi(int);
@@ -417,7 +403,13 @@ template <typename T> T SwigValueInit() {
417
403
  */
418
404
 
419
405
  #define SWIG_OK (0)
406
+ /* Runtime errors are < 0 */
420
407
  #define SWIG_ERROR (-1)
408
+ /* Errors in range -1 to -99 are in swigerrors.swg (errors for all languages including those not using the runtime) */
409
+ /* Errors in range -100 to -199 are language specific errors defined in *errors.swg */
410
+ /* Errors < -200 are generic runtime specific errors */
411
+ #define SWIG_ERROR_RELEASE_NOT_OWNED (-200)
412
+
421
413
  #define SWIG_IsOK(r) (r >= 0)
422
414
  #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
423
415
 
@@ -425,14 +417,14 @@ template <typename T> T SwigValueInit() {
425
417
  #define SWIG_CASTRANKLIMIT (1 << 8)
426
418
  /* The NewMask denotes the object was created (using new/malloc) */
427
419
  #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
428
- /* The TmpMask is for in/out typemaps that use temporal objects */
420
+ /* The TmpMask is for in/out typemaps that use temporary objects */
429
421
  #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
430
422
  /* Simple returning values */
431
423
  #define SWIG_BADOBJ (SWIG_ERROR)
432
424
  #define SWIG_OLDOBJ (SWIG_OK)
433
425
  #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
434
426
  #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
435
- /* Check, add and del mask methods */
427
+ /* Check, add and del object mask methods */
436
428
  #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
437
429
  #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
438
430
  #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
@@ -461,6 +453,23 @@ SWIGINTERNINLINE int SWIG_CheckState(int r) {
461
453
  # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
462
454
  #endif
463
455
 
456
+ /* C99 and C++11 should provide snprintf, but define SWIG_NO_SNPRINTF
457
+ * if you're missing it.
458
+ */
459
+ #if ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) || \
460
+ (defined __cplusplus && __cplusplus >= 201103L) || \
461
+ defined SWIG_HAVE_SNPRINTF) && \
462
+ !defined SWIG_NO_SNPRINTF
463
+ # define SWIG_snprintf(O,S,F,A) snprintf(O,S,F,A)
464
+ # define SWIG_snprintf2(O,S,F,A,B) snprintf(O,S,F,A,B)
465
+ #else
466
+ /* Fallback versions ignore the buffer size, but most of our uses either have a
467
+ * fixed maximum possible size or dynamically allocate a buffer that's large
468
+ * enough.
469
+ */
470
+ # define SWIG_snprintf(O,S,F,A) sprintf(O,F,A)
471
+ # define SWIG_snprintf2(O,S,F,A,B) sprintf(O,F,A,B)
472
+ #endif
464
473
 
465
474
  #include <string.h>
466
475
 
@@ -578,7 +587,7 @@ SWIG_TypeCheck(const char *c, swig_type_info *ty) {
578
587
  Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
579
588
  */
580
589
  SWIGRUNTIME swig_cast_info *
581
- SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
590
+ SWIG_TypeCheckStruct(const swig_type_info *from, swig_type_info *ty) {
582
591
  if (ty) {
583
592
  swig_cast_info *iter = ty->cast;
584
593
  while (iter) {
@@ -638,9 +647,9 @@ SWIG_TypeName(const swig_type_info *ty) {
638
647
  SWIGRUNTIME const char *
639
648
  SWIG_TypePrettyName(const swig_type_info *type) {
640
649
  /* The "str" field contains the equivalent pretty names of the
641
- type, separated by vertical-bar characters. We choose
642
- to print the last name, as it is often (?) the most
643
- specific. */
650
+ type, separated by vertical-bar characters. Choose the last
651
+ name. It should be the most specific; a fully resolved name
652
+ but not necessarily with default template parameters expanded. */
644
653
  if (!type) return NULL;
645
654
  if (type->str != NULL) {
646
655
  const char *last_name = type->str;
@@ -860,7 +869,7 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
860
869
  }
861
870
  #endif
862
871
 
863
- /* Errors in SWIG */
872
+ /* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */
864
873
  #define SWIG_UnknownError -1
865
874
  #define SWIG_IOError -2
866
875
  #define SWIG_RuntimeError -3
@@ -876,6 +885,18 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
876
885
  #define SWIG_NullReferenceError -13
877
886
 
878
887
 
888
+ #if __GNUC__ >= 7
889
+ #pragma GCC diagnostic push
890
+ #if defined(__cplusplus)
891
+ #pragma GCC diagnostic ignored "-Wregister"
892
+ #if __GNUC__ >= 10
893
+ #pragma GCC diagnostic ignored "-Wvolatile"
894
+ #if __GNUC__ >= 11
895
+ #pragma GCC diagnostic ignored "-Wdeprecated-enum-enum-conversion"
896
+ #endif
897
+ #endif
898
+ #endif
899
+ #endif
879
900
 
880
901
  #include <ruby.h>
881
902
 
@@ -891,6 +912,11 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
891
912
  # define RUBY_VOIDP_METHOD_FUNC(func) ((void *(*)(ANYARGS))(func))
892
913
  #endif
893
914
 
915
+ #include <ruby/version.h> /* For RUBY_API_VERSION_CODE */
916
+
917
+ #if __GNUC__ >= 7
918
+ #pragma GCC diagnostic pop
919
+ #endif
894
920
 
895
921
  /* Ruby 1.9.1 has a "memoisation optimisation" when compiling with GCC which
896
922
  * breaks using rb_intern as an lvalue, as SWIG does. We work around this
@@ -992,9 +1018,9 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
992
1018
  /*
993
1019
  * The following macros are used for providing the correct type of a
994
1020
  * function pointer to the Ruby C API.
995
- * Starting with Ruby 2.7 (corresponding to RB_METHOD_DEFINITION_DECL being
996
- * defined) these macros act transparently due to Ruby's moving away from
997
- * ANYARGS and instead employing strict function signatures.
1021
+ *
1022
+ * Starting with Ruby 2.7 these macros act transparently due to Ruby's moving
1023
+ * moving away from ANYARGS and instead employing strict function signatures.
998
1024
  *
999
1025
  * Note: In case of C (not C++) the macros are transparent even before
1000
1026
  * Ruby 2.7 due to the fact that the Ruby C API used function declarators
@@ -1018,7 +1044,7 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
1018
1044
  * SWIG_RUBY_INT_ANYARGS_FUNC(f) is used for the function pointer
1019
1045
  * argument(s) of Ruby C API functions like st_foreach().
1020
1046
  */
1021
- #if defined(__cplusplus) && !defined(RB_METHOD_DEFINITION_DECL)
1047
+ #if defined(__cplusplus) && RUBY_API_VERSION_CODE < 20700
1022
1048
  # define PROTECTFUNC(f) ((VALUE (*)(VALUE)) f)
1023
1049
  # define VALUEFUNC(f) ((VALUE (*)(ANYARGS)) f)
1024
1050
  # define VOIDFUNC(f) ((RUBY_DATA_FUNC) f)
@@ -1171,7 +1197,7 @@ const char* Ruby_Format_TypeError( const char* msg,
1171
1197
  }
1172
1198
 
1173
1199
  str = rb_str_cat2( str, "Expected argument " );
1174
- sprintf( buf, "%d of type ", argn-1 );
1200
+ SWIG_snprintf( buf, sizeof( buf), "%d of type ", argn-1 );
1175
1201
  str = rb_str_cat2( str, buf );
1176
1202
  str = rb_str_cat2( str, type );
1177
1203
  str = rb_str_cat2( str, ", but got " );
@@ -1470,6 +1496,7 @@ static VALUE swig_runtime_data_type_pointer = Qnil;
1470
1496
  /* Global IDs used to keep some internal SWIG stuff */
1471
1497
  static ID swig_arity_id = 0;
1472
1498
  static ID swig_call_id = 0;
1499
+ static ID swig_lowerthan_id = 0;
1473
1500
 
1474
1501
  /*
1475
1502
  If your swig extension is to be run within an embedded ruby and has
@@ -1521,7 +1548,7 @@ SWIG_Ruby_ExceptionType(swig_type_info *desc, VALUE obj) {
1521
1548
  VALUE exceptionClass = getExceptionClass();
1522
1549
  if (rb_obj_is_kind_of(obj, exceptionClass)) {
1523
1550
  return obj;
1524
- } else {
1551
+ } else {
1525
1552
  return rb_exc_new3(rb_eRuntimeError, rb_obj_as_string(obj));
1526
1553
  }
1527
1554
  }
@@ -1534,6 +1561,7 @@ SWIG_Ruby_InitRuntime(void)
1534
1561
  _mSWIG = rb_define_module("SWIG");
1535
1562
  swig_call_id = rb_intern("call");
1536
1563
  swig_arity_id = rb_intern("arity");
1564
+ swig_lowerthan_id = rb_intern("<");
1537
1565
  }
1538
1566
  }
1539
1567
 
@@ -1541,13 +1569,14 @@ SWIG_Ruby_InitRuntime(void)
1541
1569
  SWIGRUNTIME void
1542
1570
  SWIG_Ruby_define_class(swig_type_info *type)
1543
1571
  {
1544
- char *klass_name = (char *) malloc(4 + strlen(type->name) + 1);
1545
- sprintf(klass_name, "TYPE%s", type->name);
1572
+ size_t klass_len = 4 + strlen(type->name) + 1;
1573
+ char *klass_name = (char *) malloc(klass_len);
1574
+ SWIG_snprintf(klass_name, klass_len, "TYPE%s", type->name);
1546
1575
  if (NIL_P(_cSWIG_Pointer)) {
1547
1576
  _cSWIG_Pointer = rb_define_class_under(_mSWIG, "Pointer", rb_cObject);
1548
1577
  rb_undef_method(CLASS_OF(_cSWIG_Pointer), "new");
1549
1578
  }
1550
- rb_define_class_under(_mSWIG, klass_name, _cSWIG_Pointer);
1579
+ rb_undef_alloc_func(rb_define_class_under(_mSWIG, klass_name, _cSWIG_Pointer));
1551
1580
  free((void *) klass_name);
1552
1581
  }
1553
1582
 
@@ -1598,8 +1627,9 @@ SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
1598
1627
  SWIG_RubyAddTracking(ptr, obj);
1599
1628
  }
1600
1629
  } else {
1601
- klass_name = (char *) malloc(4 + strlen(type->name) + 1);
1602
- sprintf(klass_name, "TYPE%s", type->name);
1630
+ size_t klass_len = 4 + strlen(type->name) + 1;
1631
+ klass_name = (char *) malloc(klass_len);
1632
+ SWIG_snprintf(klass_name, klass_len, "TYPE%s", type->name);
1603
1633
  klass = rb_const_get(_mSWIG, rb_intern(klass_name));
1604
1634
  free((void *) klass_name);
1605
1635
  obj = Data_Wrap_Struct(klass, 0, 0, ptr);
@@ -1671,6 +1701,11 @@ SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags,
1671
1701
  own->own = 0;
1672
1702
  }
1673
1703
 
1704
+ if (((flags & SWIG_POINTER_RELEASE) == SWIG_POINTER_RELEASE)) {
1705
+ if (!RDATA(obj)->dfree)
1706
+ return SWIG_ERROR_RELEASE_NOT_OWNED;
1707
+ }
1708
+
1674
1709
  /* Check to see if the input object is giving up ownership
1675
1710
  of the underlying C struct or C++ object. If so then we
1676
1711
  need to reset the destructor since the Ruby object no
@@ -1682,7 +1717,7 @@ SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags,
1682
1717
  swig_class *sklass = (swig_class *) ty->clientdata;
1683
1718
  track = sklass->trackObjects;
1684
1719
  }
1685
-
1720
+
1686
1721
  if (track) {
1687
1722
  /* We are tracking objects for this class. Thus we change the destructor
1688
1723
  * to SWIG_RubyRemoveTracking. This allows us to
@@ -1696,6 +1731,10 @@ SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags,
1696
1731
  }
1697
1732
  }
1698
1733
 
1734
+ if (flags & SWIG_POINTER_CLEAR) {
1735
+ DATA_PTR(obj) = 0;
1736
+ }
1737
+
1699
1738
  /* Do type-checking if type info was provided */
1700
1739
  if (ty) {
1701
1740
  if (ty->clientdata) {
@@ -1803,6 +1842,7 @@ SWIG_Ruby_SetModule(swig_module_info *pointer)
1803
1842
  {
1804
1843
  /* register a new class */
1805
1844
  VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1845
+ rb_undef_alloc_func(cl);
1806
1846
  /* create and store the structure pointer to a global variable */
1807
1847
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1808
1848
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -1833,7 +1873,7 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
1833
1873
  {
1834
1874
  if ( rb_respond_to( proc, swig_arity_id ) )
1835
1875
  {
1836
- VALUE num = rb_funcall( proc, swig_arity_id, 0 );
1876
+ VALUE num = rb_funcall2( proc, swig_arity_id, 0, 0 );
1837
1877
  int arity = NUM2INT(num);
1838
1878
  if ( arity < 0 && (arity+1) < -minimal ) return 1;
1839
1879
  if ( arity == minimal ) return 1;
@@ -1851,7 +1891,7 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
1851
1891
 
1852
1892
  #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
1853
1893
 
1854
- #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
1894
+ #define SWIG_contract_assert(expr, msg) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0)
1855
1895
 
1856
1896
 
1857
1897
 
@@ -1908,12 +1948,56 @@ static swig_module_info swig_module = {swig_types, 36, 0, 0, 0, 0};
1908
1948
 
1909
1949
 
1910
1950
 
1911
- #define SWIG_RUBY_THREAD_BEGIN_BLOCK
1912
- #define SWIG_RUBY_THREAD_END_BLOCK
1951
+ #ifdef __cplusplus
1952
+ #include <utility>
1953
+ /* SwigValueWrapper is described in swig.swg */
1954
+ template<typename T> class SwigValueWrapper {
1955
+ struct SwigSmartPointer {
1956
+ T *ptr;
1957
+ SwigSmartPointer(T *p) : ptr(p) { }
1958
+ ~SwigSmartPointer() { delete ptr; }
1959
+ SwigSmartPointer& operator=(SwigSmartPointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
1960
+ void reset(T *p) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = p; }
1961
+ } pointer;
1962
+ SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
1963
+ SwigValueWrapper(const SwigValueWrapper<T>& rhs);
1964
+ public:
1965
+ SwigValueWrapper() : pointer(0) { }
1966
+ SwigValueWrapper& operator=(const T& t) { SwigSmartPointer tmp(new T(t)); pointer = tmp; return *this; }
1967
+ #if __cplusplus >=201103L
1968
+ SwigValueWrapper& operator=(T&& t) { SwigSmartPointer tmp(new T(std::move(t))); pointer = tmp; return *this; }
1969
+ operator T&&() const { return std::move(*pointer.ptr); }
1970
+ #else
1971
+ operator T&() const { return *pointer.ptr; }
1972
+ #endif
1973
+ T *operator&() const { return pointer.ptr; }
1974
+ static void reset(SwigValueWrapper& t, T *p) { t.pointer.reset(p); }
1975
+ };
1976
+
1977
+ /*
1978
+ * SwigValueInit() is a generic initialisation solution as the following approach:
1979
+ *
1980
+ * T c_result = T();
1981
+ *
1982
+ * doesn't compile for all types for example:
1983
+ *
1984
+ * unsigned int c_result = unsigned int();
1985
+ */
1986
+ template <typename T> T SwigValueInit() {
1987
+ return T();
1988
+ }
1989
+
1990
+ #if __cplusplus >=201103L
1991
+ # define SWIG_STD_MOVE(OBJ) std::move(OBJ)
1992
+ #else
1993
+ # define SWIG_STD_MOVE(OBJ) OBJ
1994
+ #endif
1995
+
1996
+ #endif
1913
1997
 
1914
1998
 
1915
- #define SWIGVERSION 0x040002
1916
- #define SWIG_VERSION SWIGVERSION
1999
+ #define SWIG_RUBY_THREAD_BEGIN_BLOCK
2000
+ #define SWIG_RUBY_THREAD_END_BLOCK
1917
2001
 
1918
2002
 
1919
2003
  #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
@@ -4424,7 +4508,7 @@ SWIGINTERN VALUE _wrap_FXDC_drawArea(int nargs, VALUE *args, VALUE self) {
4424
4508
  argv[ii] = args[ii-1];
4425
4509
  }
4426
4510
  if (argc == 8) {
4427
- int _v;
4511
+ int _v = 0;
4428
4512
  void *vptr = 0;
4429
4513
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDC, 0);
4430
4514
  _v = SWIG_CheckState(res);
@@ -4468,7 +4552,7 @@ SWIGINTERN VALUE _wrap_FXDC_drawArea(int nargs, VALUE *args, VALUE self) {
4468
4552
  }
4469
4553
  }
4470
4554
  if (argc == 10) {
4471
- int _v;
4555
+ int _v = 0;
4472
4556
  void *vptr = 0;
4473
4557
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDC, 0);
4474
4558
  _v = SWIG_CheckState(res);
@@ -5179,7 +5263,7 @@ SWIGINTERN VALUE _wrap_FXDC_setStipple(int nargs, VALUE *args, VALUE self) {
5179
5263
  argv[ii] = args[ii-1];
5180
5264
  }
5181
5265
  if ((argc >= 2) && (argc <= 4)) {
5182
- int _v;
5266
+ int _v = 0;
5183
5267
  void *vptr = 0;
5184
5268
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDC, 0);
5185
5269
  _v = SWIG_CheckState(res);
@@ -5209,7 +5293,7 @@ SWIGINTERN VALUE _wrap_FXDC_setStipple(int nargs, VALUE *args, VALUE self) {
5209
5293
  }
5210
5294
  }
5211
5295
  if ((argc >= 2) && (argc <= 4)) {
5212
- int _v;
5296
+ int _v = 0;
5213
5297
  void *vptr = 0;
5214
5298
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDC, 0);
5215
5299
  _v = SWIG_CheckState(res);
@@ -5255,7 +5339,7 @@ _wrap_FXDC_setClipRegion(int argc, VALUE *argv, VALUE self) {
5255
5339
  FXRegion *arg2 = 0 ;
5256
5340
  void *argp1 = 0 ;
5257
5341
  int res1 = 0 ;
5258
- void *argp2 ;
5342
+ void *argp2 = 0 ;
5259
5343
  int res2 = 0 ;
5260
5344
 
5261
5345
  if ((argc < 1) || (argc > 1)) {
@@ -5316,7 +5400,7 @@ _wrap_FXDC_setClipRectangle__SWIG_1(int argc, VALUE *argv, VALUE self) {
5316
5400
  FXRectangle *arg2 = 0 ;
5317
5401
  void *argp1 = 0 ;
5318
5402
  int res1 = 0 ;
5319
- void *argp2 ;
5403
+ void *argp2 = 0 ;
5320
5404
  int res2 = 0 ;
5321
5405
 
5322
5406
  if ((argc < 1) || (argc > 1)) {
@@ -5354,7 +5438,7 @@ SWIGINTERN VALUE _wrap_FXDC_setClipRectangle(int nargs, VALUE *args, VALUE self)
5354
5438
  argv[ii] = args[ii-1];
5355
5439
  }
5356
5440
  if (argc == 2) {
5357
- int _v;
5441
+ int _v = 0;
5358
5442
  void *vptr = 0;
5359
5443
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDC, 0);
5360
5444
  _v = SWIG_CheckState(res);
@@ -5368,7 +5452,7 @@ SWIGINTERN VALUE _wrap_FXDC_setClipRectangle(int nargs, VALUE *args, VALUE self)
5368
5452
  }
5369
5453
  }
5370
5454
  if (argc == 5) {
5371
- int _v;
5455
+ int _v = 0;
5372
5456
  void *vptr = 0;
5373
5457
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDC, 0);
5374
5458
  _v = SWIG_CheckState(res);
@@ -5629,7 +5713,7 @@ SWIGINTERN VALUE _wrap_new_FXDCWindow(int nargs, VALUE *args, VALUE self) {
5629
5713
  argv[ii] = args[ii];
5630
5714
  }
5631
5715
  if (argc == 1) {
5632
- int _v;
5716
+ int _v = 0;
5633
5717
  void *vptr = 0;
5634
5718
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDrawable, 0);
5635
5719
  _v = SWIG_CheckState(res);
@@ -5638,7 +5722,7 @@ SWIGINTERN VALUE _wrap_new_FXDCWindow(int nargs, VALUE *args, VALUE self) {
5638
5722
  }
5639
5723
  }
5640
5724
  if (argc == 2) {
5641
- int _v;
5725
+ int _v = 0;
5642
5726
  void *vptr = 0;
5643
5727
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDrawable, 0);
5644
5728
  _v = SWIG_CheckState(res);
@@ -6815,7 +6899,7 @@ SWIGINTERN VALUE _wrap_FXDCWindow_drawArea(int nargs, VALUE *args, VALUE self) {
6815
6899
  argv[ii] = args[ii-1];
6816
6900
  }
6817
6901
  if (argc == 8) {
6818
- int _v;
6902
+ int _v = 0;
6819
6903
  void *vptr = 0;
6820
6904
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDCWindow, 0);
6821
6905
  _v = SWIG_CheckState(res);
@@ -6859,7 +6943,7 @@ SWIGINTERN VALUE _wrap_FXDCWindow_drawArea(int nargs, VALUE *args, VALUE self) {
6859
6943
  }
6860
6944
  }
6861
6945
  if (argc == 10) {
6862
- int _v;
6946
+ int _v = 0;
6863
6947
  void *vptr = 0;
6864
6948
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDCWindow, 0);
6865
6949
  _v = SWIG_CheckState(res);
@@ -7570,7 +7654,7 @@ SWIGINTERN VALUE _wrap_FXDCWindow_setStipple(int nargs, VALUE *args, VALUE self)
7570
7654
  argv[ii] = args[ii-1];
7571
7655
  }
7572
7656
  if ((argc >= 2) && (argc <= 4)) {
7573
- int _v;
7657
+ int _v = 0;
7574
7658
  void *vptr = 0;
7575
7659
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDCWindow, 0);
7576
7660
  _v = SWIG_CheckState(res);
@@ -7600,7 +7684,7 @@ SWIGINTERN VALUE _wrap_FXDCWindow_setStipple(int nargs, VALUE *args, VALUE self)
7600
7684
  }
7601
7685
  }
7602
7686
  if ((argc >= 2) && (argc <= 4)) {
7603
- int _v;
7687
+ int _v = 0;
7604
7688
  void *vptr = 0;
7605
7689
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDCWindow, 0);
7606
7690
  _v = SWIG_CheckState(res);
@@ -7646,7 +7730,7 @@ _wrap_FXDCWindow_setClipRegion(int argc, VALUE *argv, VALUE self) {
7646
7730
  FXRegion *arg2 = 0 ;
7647
7731
  void *argp1 = 0 ;
7648
7732
  int res1 = 0 ;
7649
- void *argp2 ;
7733
+ void *argp2 = 0 ;
7650
7734
  int res2 = 0 ;
7651
7735
 
7652
7736
  if ((argc < 1) || (argc > 1)) {
@@ -7707,7 +7791,7 @@ _wrap_FXDCWindow_setClipRectangle__SWIG_1(int argc, VALUE *argv, VALUE self) {
7707
7791
  FXRectangle *arg2 = 0 ;
7708
7792
  void *argp1 = 0 ;
7709
7793
  int res1 = 0 ;
7710
- void *argp2 ;
7794
+ void *argp2 = 0 ;
7711
7795
  int res2 = 0 ;
7712
7796
 
7713
7797
  if ((argc < 1) || (argc > 1)) {
@@ -7745,7 +7829,7 @@ SWIGINTERN VALUE _wrap_FXDCWindow_setClipRectangle(int nargs, VALUE *args, VALUE
7745
7829
  argv[ii] = args[ii-1];
7746
7830
  }
7747
7831
  if (argc == 2) {
7748
- int _v;
7832
+ int _v = 0;
7749
7833
  void *vptr = 0;
7750
7834
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDCWindow, 0);
7751
7835
  _v = SWIG_CheckState(res);
@@ -7759,7 +7843,7 @@ SWIGINTERN VALUE _wrap_FXDCWindow_setClipRectangle(int nargs, VALUE *args, VALUE
7759
7843
  }
7760
7844
  }
7761
7845
  if (argc == 5) {
7762
- int _v;
7846
+ int _v = 0;
7763
7847
  void *vptr = 0;
7764
7848
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDCWindow, 0);
7765
7849
  _v = SWIG_CheckState(res);
@@ -10242,7 +10326,7 @@ SWIGINTERN VALUE _wrap_FXDCPrint_drawArea(int nargs, VALUE *args, VALUE self) {
10242
10326
  argv[ii] = args[ii-1];
10243
10327
  }
10244
10328
  if (argc == 8) {
10245
- int _v;
10329
+ int _v = 0;
10246
10330
  void *vptr = 0;
10247
10331
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDCPrint, 0);
10248
10332
  _v = SWIG_CheckState(res);
@@ -10286,7 +10370,7 @@ SWIGINTERN VALUE _wrap_FXDCPrint_drawArea(int nargs, VALUE *args, VALUE self) {
10286
10370
  }
10287
10371
  }
10288
10372
  if (argc == 10) {
10289
- int _v;
10373
+ int _v = 0;
10290
10374
  void *vptr = 0;
10291
10375
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDCPrint, 0);
10292
10376
  _v = SWIG_CheckState(res);
@@ -10997,7 +11081,7 @@ SWIGINTERN VALUE _wrap_FXDCPrint_setStipple(int nargs, VALUE *args, VALUE self)
10997
11081
  argv[ii] = args[ii-1];
10998
11082
  }
10999
11083
  if ((argc >= 2) && (argc <= 4)) {
11000
- int _v;
11084
+ int _v = 0;
11001
11085
  void *vptr = 0;
11002
11086
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDCPrint, 0);
11003
11087
  _v = SWIG_CheckState(res);
@@ -11027,7 +11111,7 @@ SWIGINTERN VALUE _wrap_FXDCPrint_setStipple(int nargs, VALUE *args, VALUE self)
11027
11111
  }
11028
11112
  }
11029
11113
  if ((argc >= 2) && (argc <= 4)) {
11030
- int _v;
11114
+ int _v = 0;
11031
11115
  void *vptr = 0;
11032
11116
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDCPrint, 0);
11033
11117
  _v = SWIG_CheckState(res);
@@ -11073,7 +11157,7 @@ _wrap_FXDCPrint_setClipRegion(int argc, VALUE *argv, VALUE self) {
11073
11157
  FXRegion *arg2 = 0 ;
11074
11158
  void *argp1 = 0 ;
11075
11159
  int res1 = 0 ;
11076
- void *argp2 ;
11160
+ void *argp2 = 0 ;
11077
11161
  int res2 = 0 ;
11078
11162
 
11079
11163
  if ((argc < 1) || (argc > 1)) {
@@ -11134,7 +11218,7 @@ _wrap_FXDCPrint_setClipRectangle__SWIG_1(int argc, VALUE *argv, VALUE self) {
11134
11218
  FXRectangle *arg2 = 0 ;
11135
11219
  void *argp1 = 0 ;
11136
11220
  int res1 = 0 ;
11137
- void *argp2 ;
11221
+ void *argp2 = 0 ;
11138
11222
  int res2 = 0 ;
11139
11223
 
11140
11224
  if ((argc < 1) || (argc > 1)) {
@@ -11172,7 +11256,7 @@ SWIGINTERN VALUE _wrap_FXDCPrint_setClipRectangle(int nargs, VALUE *args, VALUE
11172
11256
  argv[ii] = args[ii-1];
11173
11257
  }
11174
11258
  if (argc == 2) {
11175
- int _v;
11259
+ int _v = 0;
11176
11260
  void *vptr = 0;
11177
11261
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDCPrint, 0);
11178
11262
  _v = SWIG_CheckState(res);
@@ -11186,7 +11270,7 @@ SWIGINTERN VALUE _wrap_FXDCPrint_setClipRectangle(int nargs, VALUE *args, VALUE
11186
11270
  }
11187
11271
  }
11188
11272
  if (argc == 5) {
11189
- int _v;
11273
+ int _v = 0;
11190
11274
  void *vptr = 0;
11191
11275
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDCPrint, 0);
11192
11276
  _v = SWIG_CheckState(res);
@@ -11358,38 +11442,38 @@ fail:
11358
11442
 
11359
11443
  /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11360
11444
 
11445
+ static void *_p_FXDCPrintTo_p_FXDC(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11446
+ return (void *)((FXDC *) ((FXDCPrint *) x));
11447
+ }
11448
+ static void *_p_FXDCWindowTo_p_FXDC(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11449
+ return (void *)((FXDC *) ((FXDCWindow *) x));
11450
+ }
11361
11451
  static void *_p_FXCompositeTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11362
11452
  return (void *)((FXDrawable *) (FXWindow *) ((FXComposite *) x));
11363
11453
  }
11364
- static void *_p_FXShellTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11365
- return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXShell *) x));
11366
- }
11367
- static void *_p_FXWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11368
- return (void *)((FXDrawable *) ((FXWindow *) x));
11454
+ static void *_p_FXFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11455
+ return (void *)((FXDrawable *) (FXWindow *) ((FXFrame *) x));
11369
11456
  }
11370
- static void *_p_FXRootWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11371
- return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXRootWindow *) x));
11457
+ static void *_p_FXMainWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11458
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x));
11372
11459
  }
11373
11460
  static void *_p_FXPopupTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11374
11461
  return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x));
11375
11462
  }
11376
- static void *_p_FXTopWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11377
- return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x));
11463
+ static void *_p_FXRootWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11464
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXRootWindow *) x));
11378
11465
  }
11379
- static void *_p_FXMainWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11380
- return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x));
11466
+ static void *_p_FXShellTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11467
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXShell *) x));
11381
11468
  }
11382
11469
  static void *_p_FXSplashWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11383
11470
  return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x));
11384
11471
  }
11385
- static void *_p_FXFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11386
- return (void *)((FXDrawable *) (FXWindow *) ((FXFrame *) x));
11387
- }
11388
- static void *_p_FXDCPrintTo_p_FXDC(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11389
- return (void *)((FXDC *) ((FXDCPrint *) x));
11472
+ static void *_p_FXTopWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11473
+ return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x));
11390
11474
  }
11391
- static void *_p_FXDCWindowTo_p_FXDC(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11392
- return (void *)((FXDC *) ((FXDCWindow *) x));
11475
+ static void *_p_FXWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
11476
+ return (void *)((FXDrawable *) ((FXWindow *) x));
11393
11477
  }
11394
11478
  static swig_type_info _swigt__p_FXApp = {"_p_FXApp", "FXApp *", 0, 0, (void*)0, 0};
11395
11479
  static swig_type_info _swigt__p_FXArc = {"_p_FXArc", "FXArc *", 0, 0, (void*)0, 0};
@@ -11399,14 +11483,14 @@ static swig_type_info _swigt__p_FXDCPrint = {"_p_FXDCPrint", "FXDCPrint *", 0, 0
11399
11483
  static swig_type_info _swigt__p_FXDCWindow = {"_p_FXDCWindow", "FXDCWindow *", 0, 0, (void*)0, 0};
11400
11484
  static swig_type_info _swigt__p_FXDrawable = {"_p_FXDrawable", "FXDrawable *", 0, 0, (void*)0, 0};
11401
11485
  static swig_type_info _swigt__p_FXComposite = {"_p_FXComposite", 0, 0, 0, 0, 0};
11402
- static swig_type_info _swigt__p_FXShell = {"_p_FXShell", 0, 0, 0, 0, 0};
11403
- static swig_type_info _swigt__p_FXWindow = {"_p_FXWindow", 0, 0, 0, 0, 0};
11404
- static swig_type_info _swigt__p_FXRootWindow = {"_p_FXRootWindow", 0, 0, 0, 0, 0};
11405
- static swig_type_info _swigt__p_FXPopup = {"_p_FXPopup", 0, 0, 0, 0, 0};
11406
- static swig_type_info _swigt__p_FXTopWindow = {"_p_FXTopWindow", 0, 0, 0, 0, 0};
11486
+ static swig_type_info _swigt__p_FXFrame = {"_p_FXFrame", 0, 0, 0, 0, 0};
11407
11487
  static swig_type_info _swigt__p_FXMainWindow = {"_p_FXMainWindow", 0, 0, 0, 0, 0};
11488
+ static swig_type_info _swigt__p_FXPopup = {"_p_FXPopup", 0, 0, 0, 0, 0};
11489
+ static swig_type_info _swigt__p_FXRootWindow = {"_p_FXRootWindow", 0, 0, 0, 0, 0};
11490
+ static swig_type_info _swigt__p_FXShell = {"_p_FXShell", 0, 0, 0, 0, 0};
11408
11491
  static swig_type_info _swigt__p_FXSplashWindow = {"_p_FXSplashWindow", 0, 0, 0, 0, 0};
11409
- static swig_type_info _swigt__p_FXFrame = {"_p_FXFrame", 0, 0, 0, 0, 0};
11492
+ static swig_type_info _swigt__p_FXTopWindow = {"_p_FXTopWindow", 0, 0, 0, 0, 0};
11493
+ static swig_type_info _swigt__p_FXWindow = {"_p_FXWindow", 0, 0, 0, 0, 0};
11410
11494
  static swig_type_info _swigt__p_FXEvent = {"_p_FXEvent", "FXEvent *", 0, 0, (void*)0, 0};
11411
11495
  static swig_type_info _swigt__p_FXFont = {"_p_FXFont", "FXFont *", 0, 0, (void*)0, 0};
11412
11496
  static swig_type_info _swigt__p_FXIcon = {"_p_FXIcon", "FXIcon *", 0, 0, (void*)0, 0};
@@ -11417,16 +11501,16 @@ static swig_type_info _swigt__p_FXRectangle = {"_p_FXRectangle", "FXRectangle *"
11417
11501
  static swig_type_info _swigt__p_FXRegion = {"_p_FXRegion", "FXRegion *", 0, 0, (void*)0, 0};
11418
11502
  static swig_type_info _swigt__p_FXSegment = {"_p_FXSegment", "FXSegment *", 0, 0, (void*)0, 0};
11419
11503
  static swig_type_info _swigt__p_FXString = {"_p_FXString", "FXString *", 0, 0, (void*)0, 0};
11420
- static swig_type_info _swigt__p_char = {"_p_char", "char *|FXchar *", 0, 0, (void*)0, 0};
11421
- static swig_type_info _swigt__p_double = {"_p_double", "double *|FXdouble *", 0, 0, (void*)0, 0};
11422
- static swig_type_info _swigt__p_float = {"_p_float", "float *|FXfloat *", 0, 0, (void*)0, 0};
11423
- static swig_type_info _swigt__p_int = {"_p_int", "FXint *|int *|FXInputHandle *", 0, 0, (void*)0, 0};
11424
- static swig_type_info _swigt__p_long = {"_p_long", "long *|FXTime *", 0, 0, (void*)0, 0};
11425
- static swig_type_info _swigt__p_short = {"_p_short", "short *|FXshort *", 0, 0, (void*)0, 0};
11426
- static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "FXuchar *|unsigned char *|FXbool *", 0, 0, (void*)0, 0};
11427
- static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "FXwchar *|FXDragType *|unsigned int *|FXuint *|FXColor *|FXSelector *|FXHotKey *", 0, 0, (void*)0, 0};
11428
- static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|FXuval *|FXPixel *", 0, 0, (void*)0, 0};
11429
- static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *|FXushort *", 0, 0, (void*)0, 0};
11504
+ static swig_type_info _swigt__p_char = {"_p_char", "FXchar *|char *", 0, 0, (void*)0, 0};
11505
+ static swig_type_info _swigt__p_double = {"_p_double", "FXdouble *|double *", 0, 0, (void*)0, 0};
11506
+ static swig_type_info _swigt__p_float = {"_p_float", "FXfloat *|float *", 0, 0, (void*)0, 0};
11507
+ static swig_type_info _swigt__p_int = {"_p_int", "FXInputHandle *|FXint *|int *", 0, 0, (void*)0, 0};
11508
+ static swig_type_info _swigt__p_long = {"_p_long", "FXTime *|long *", 0, 0, (void*)0, 0};
11509
+ static swig_type_info _swigt__p_short = {"_p_short", "FXshort *|short *", 0, 0, (void*)0, 0};
11510
+ static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "FXbool *|FXuchar *|unsigned char *", 0, 0, (void*)0, 0};
11511
+ static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "FXColor *|FXDragType *|FXHotKey *|FXSelector *|FXuint *|FXwchar *|unsigned int *", 0, 0, (void*)0, 0};
11512
+ static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "FXPixel *|FXuval *|unsigned long *", 0, 0, (void*)0, 0};
11513
+ static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "FXushort *|unsigned short *", 0, 0, (void*)0, 0};
11430
11514
 
11431
11515
  static swig_type_info *swig_type_initial[] = {
11432
11516
  &_swigt__p_FXApp,
@@ -11470,19 +11554,19 @@ static swig_type_info *swig_type_initial[] = {
11470
11554
  static swig_cast_info _swigc__p_FXApp[] = { {&_swigt__p_FXApp, 0, 0, 0},{0, 0, 0, 0}};
11471
11555
  static swig_cast_info _swigc__p_FXArc[] = { {&_swigt__p_FXArc, 0, 0, 0},{0, 0, 0, 0}};
11472
11556
  static swig_cast_info _swigc__p_FXBitmap[] = { {&_swigt__p_FXBitmap, 0, 0, 0},{0, 0, 0, 0}};
11473
- static swig_cast_info _swigc__p_FXDC[] = { {&_swigt__p_FXDCPrint, _p_FXDCPrintTo_p_FXDC, 0, 0}, {&_swigt__p_FXDC, 0, 0, 0}, {&_swigt__p_FXDCWindow, _p_FXDCWindowTo_p_FXDC, 0, 0},{0, 0, 0, 0}};
11557
+ static swig_cast_info _swigc__p_FXDC[] = { {&_swigt__p_FXDC, 0, 0, 0}, {&_swigt__p_FXDCPrint, _p_FXDCPrintTo_p_FXDC, 0, 0}, {&_swigt__p_FXDCWindow, _p_FXDCWindowTo_p_FXDC, 0, 0},{0, 0, 0, 0}};
11474
11558
  static swig_cast_info _swigc__p_FXDCPrint[] = { {&_swigt__p_FXDCPrint, 0, 0, 0},{0, 0, 0, 0}};
11475
11559
  static swig_cast_info _swigc__p_FXDCWindow[] = { {&_swigt__p_FXDCWindow, 0, 0, 0},{0, 0, 0, 0}};
11476
11560
  static swig_cast_info _swigc__p_FXComposite[] = {{&_swigt__p_FXComposite, 0, 0, 0},{0, 0, 0, 0}};
11477
- static swig_cast_info _swigc__p_FXShell[] = {{&_swigt__p_FXShell, 0, 0, 0},{0, 0, 0, 0}};
11478
- static swig_cast_info _swigc__p_FXWindow[] = {{&_swigt__p_FXWindow, 0, 0, 0},{0, 0, 0, 0}};
11479
- static swig_cast_info _swigc__p_FXRootWindow[] = {{&_swigt__p_FXRootWindow, 0, 0, 0},{0, 0, 0, 0}};
11480
- static swig_cast_info _swigc__p_FXPopup[] = {{&_swigt__p_FXPopup, 0, 0, 0},{0, 0, 0, 0}};
11481
- static swig_cast_info _swigc__p_FXTopWindow[] = {{&_swigt__p_FXTopWindow, 0, 0, 0},{0, 0, 0, 0}};
11561
+ static swig_cast_info _swigc__p_FXFrame[] = {{&_swigt__p_FXFrame, 0, 0, 0},{0, 0, 0, 0}};
11482
11562
  static swig_cast_info _swigc__p_FXMainWindow[] = {{&_swigt__p_FXMainWindow, 0, 0, 0},{0, 0, 0, 0}};
11563
+ static swig_cast_info _swigc__p_FXPopup[] = {{&_swigt__p_FXPopup, 0, 0, 0},{0, 0, 0, 0}};
11564
+ static swig_cast_info _swigc__p_FXRootWindow[] = {{&_swigt__p_FXRootWindow, 0, 0, 0},{0, 0, 0, 0}};
11565
+ static swig_cast_info _swigc__p_FXShell[] = {{&_swigt__p_FXShell, 0, 0, 0},{0, 0, 0, 0}};
11483
11566
  static swig_cast_info _swigc__p_FXSplashWindow[] = {{&_swigt__p_FXSplashWindow, 0, 0, 0},{0, 0, 0, 0}};
11484
- static swig_cast_info _swigc__p_FXFrame[] = {{&_swigt__p_FXFrame, 0, 0, 0},{0, 0, 0, 0}};
11485
- static swig_cast_info _swigc__p_FXDrawable[] = { {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXShell, _p_FXShellTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXWindow, _p_FXWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDrawable, 0, 0, 0}, {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXDrawable, 0, 0},{0, 0, 0, 0}};
11567
+ static swig_cast_info _swigc__p_FXTopWindow[] = {{&_swigt__p_FXTopWindow, 0, 0, 0},{0, 0, 0, 0}};
11568
+ static swig_cast_info _swigc__p_FXWindow[] = {{&_swigt__p_FXWindow, 0, 0, 0},{0, 0, 0, 0}};
11569
+ static swig_cast_info _swigc__p_FXDrawable[] = { {&_swigt__p_FXDrawable, 0, 0, 0}, {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXShell, _p_FXShellTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXWindow, _p_FXWindowTo_p_FXDrawable, 0, 0},{0, 0, 0, 0}};
11486
11570
  static swig_cast_info _swigc__p_FXEvent[] = { {&_swigt__p_FXEvent, 0, 0, 0},{0, 0, 0, 0}};
11487
11571
  static swig_cast_info _swigc__p_FXFont[] = { {&_swigt__p_FXFont, 0, 0, 0},{0, 0, 0, 0}};
11488
11572
  static swig_cast_info _swigc__p_FXIcon[] = { {&_swigt__p_FXIcon, 0, 0, 0},{0, 0, 0, 0}};
@@ -11598,9 +11682,12 @@ extern "C" {
11598
11682
  #define SWIGRUNTIME_DEBUG
11599
11683
  #endif
11600
11684
 
11685
+ #ifndef SWIG_INIT_CLIENT_DATA_TYPE
11686
+ #define SWIG_INIT_CLIENT_DATA_TYPE void *
11687
+ #endif
11601
11688
 
11602
11689
  SWIGRUNTIME void
11603
- SWIG_InitializeModule(void *clientdata) {
11690
+ SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata) {
11604
11691
  size_t i;
11605
11692
  swig_module_info *module_head, *iter;
11606
11693
  int init;