fxruby 1.6.50 → 1.6.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (350) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/.github/workflows/binary.yml +17 -0
  4. data/.github/workflows/ci.yml +13 -2
  5. data/Gemfile +7 -2
  6. data/History.md +14 -0
  7. data/Rakefile +28 -46
  8. data/doap.rdf +2 -2
  9. data/docs/Fox/Canvas/CanvasError.html +2 -2
  10. data/docs/Fox/Canvas/CircleShape.html +2 -2
  11. data/docs/Fox/Canvas/ImageShape.html +2 -2
  12. data/docs/Fox/Canvas/LineShape.html +2 -2
  13. data/docs/Fox/Canvas/PolygonShape.html +2 -2
  14. data/docs/Fox/Canvas/RectangleShape.html +2 -2
  15. data/docs/Fox/Canvas/SelectionPolicy.html +2 -2
  16. data/docs/Fox/Canvas/Shape.html +3 -3
  17. data/docs/Fox/Canvas/ShapeCanvas.html +2 -2
  18. data/docs/Fox/Canvas/ShapeGroup.html +2 -2
  19. data/docs/Fox/Canvas/SingleSelectionPolicy.html +2 -2
  20. data/docs/Fox/Canvas/TextShape.html +7 -9
  21. data/docs/Fox/Canvas.html +3 -3
  22. data/docs/Fox/FTNonModal.html +2 -2
  23. data/docs/Fox/FX4Splitter.html +41 -41
  24. data/docs/Fox/FX7Segment.html +5 -5
  25. data/docs/Fox/FXAccelTable.html +2 -2
  26. data/docs/Fox/FXApp.html +54 -54
  27. data/docs/Fox/FXArc.html +2 -2
  28. data/docs/Fox/FXArrowButton.html +22 -22
  29. data/docs/Fox/FXBMPIcon.html +10 -10
  30. data/docs/Fox/FXBMPImage.html +9 -9
  31. data/docs/Fox/FXBitmap.html +7 -7
  32. data/docs/Fox/FXBitmapFrame.html +3 -3
  33. data/docs/Fox/FXBitmapView.html +4 -4
  34. data/docs/Fox/FXButton.html +21 -21
  35. data/docs/Fox/FXCURCursor.html +2 -2
  36. data/docs/Fox/FXCalendar.html +4 -4
  37. data/docs/Fox/FXCanvas.html +7 -7
  38. data/docs/Fox/FXCheckButton.html +13 -13
  39. data/docs/Fox/FXChoiceBox.html +20 -20
  40. data/docs/Fox/FXColor.html +2 -2
  41. data/docs/Fox/FXColorBar.html +10 -10
  42. data/docs/Fox/FXColorDialog.html +7 -7
  43. data/docs/Fox/FXColorItem.html +2 -2
  44. data/docs/Fox/FXColorList.html +2 -2
  45. data/docs/Fox/FXColorRing.html +7 -7
  46. data/docs/Fox/FXColorSelector.html +36 -36
  47. data/docs/Fox/FXColorWell.html +19 -19
  48. data/docs/Fox/FXColorWheel.html +20 -20
  49. data/docs/Fox/FXComboBox.html +31 -31
  50. data/docs/Fox/FXComboTableItem.html +2 -2
  51. data/docs/Fox/FXCommand.html +2 -2
  52. data/docs/Fox/FXComposite.html +5 -5
  53. data/docs/Fox/FXCursor.html +14 -14
  54. data/docs/Fox/FXDC.html +207 -207
  55. data/docs/Fox/FXDCPrint.html +2 -2
  56. data/docs/Fox/FXDCWindow.html +2 -2
  57. data/docs/Fox/FXDataTarget.html +8 -8
  58. data/docs/Fox/FXDebugTarget.html +3 -3
  59. data/docs/Fox/FXDelegator.html +2 -2
  60. data/docs/Fox/FXDial.html +28 -28
  61. data/docs/Fox/FXDialogBox.html +5 -5
  62. data/docs/Fox/FXDict.html +2 -2
  63. data/docs/Fox/FXDirBox.html +7 -7
  64. data/docs/Fox/FXDirDialog.html +2 -2
  65. data/docs/Fox/FXDirItem.html +2 -2
  66. data/docs/Fox/FXDirList.html +19 -19
  67. data/docs/Fox/FXDirSelector.html +15 -15
  68. data/docs/Fox/FXDockBar.html +27 -27
  69. data/docs/Fox/FXDockHandler.html +5 -5
  70. data/docs/Fox/FXDockSite.html +14 -14
  71. data/docs/Fox/FXDockTitle.html +2 -2
  72. data/docs/Fox/FXDocument.html +5 -5
  73. data/docs/Fox/FXDragCorner.html +2 -2
  74. data/docs/Fox/FXDrawable.html +5 -5
  75. data/docs/Fox/FXDriveBox.html +5 -5
  76. data/docs/Fox/FXEvent.html +62 -60
  77. data/docs/Fox/FXExtentd.html +2 -2
  78. data/docs/Fox/FXExtentf.html +2 -2
  79. data/docs/Fox/FXFileAssoc.html +2 -2
  80. data/docs/Fox/FXFileDialog.html +32 -32
  81. data/docs/Fox/FXFileDict.html +7 -7
  82. data/docs/Fox/FXFileItem.html +2 -2
  83. data/docs/Fox/FXFileList.html +27 -27
  84. data/docs/Fox/FXFileSelector.html +35 -35
  85. data/docs/Fox/FXFileStream.html +6 -6
  86. data/docs/Fox/FXFoldingItem.html +2 -2
  87. data/docs/Fox/FXFoldingList.html +41 -41
  88. data/docs/Fox/FXFont.html +172 -170
  89. data/docs/Fox/FXFontDesc.html +2 -2
  90. data/docs/Fox/FXFontDialog.html +2 -2
  91. data/docs/Fox/FXFontSelector.html +14 -14
  92. data/docs/Fox/FXFrame.html +4 -4
  93. data/docs/Fox/FXGIFCursor.html +2 -2
  94. data/docs/Fox/FXGIFIcon.html +10 -10
  95. data/docs/Fox/FXGIFImage.html +9 -9
  96. data/docs/Fox/FXGLCanvas.html +2 -2
  97. data/docs/Fox/FXGLCone.html +2 -2
  98. data/docs/Fox/FXGLContext.html +2 -2
  99. data/docs/Fox/FXGLCube.html +2 -2
  100. data/docs/Fox/FXGLCylinder.html +2 -2
  101. data/docs/Fox/FXGLGroup.html +2 -2
  102. data/docs/Fox/FXGLLine.html +2 -2
  103. data/docs/Fox/FXGLObject.html +14 -14
  104. data/docs/Fox/FXGLPoint.html +2 -2
  105. data/docs/Fox/FXGLShape.html +26 -26
  106. data/docs/Fox/FXGLSphere.html +2 -2
  107. data/docs/Fox/FXGLViewer.html +74 -74
  108. data/docs/Fox/FXGLVisual.html +2 -2
  109. data/docs/Fox/FXGradient.html +2 -2
  110. data/docs/Fox/FXGradientBar.html +34 -34
  111. data/docs/Fox/FXGroupBox.html +7 -7
  112. data/docs/Fox/FXHeader.html +20 -20
  113. data/docs/Fox/FXHeaderItem.html +19 -19
  114. data/docs/Fox/FXHiliteStyle.html +2 -2
  115. data/docs/Fox/FXHorizontalFrame.html +15 -15
  116. data/docs/Fox/FXHorizontalSeparator.html +13 -13
  117. data/docs/Fox/FXICOIcon.html +10 -10
  118. data/docs/Fox/FXICOImage.html +9 -9
  119. data/docs/Fox/FXIcon.html +10 -10
  120. data/docs/Fox/FXIconDict.html +2 -2
  121. data/docs/Fox/FXIconItem.html +2 -2
  122. data/docs/Fox/FXIconList.html +43 -43
  123. data/docs/Fox/FXIconSource.html +2 -2
  124. data/docs/Fox/FXId.html +2 -2
  125. data/docs/Fox/FXImage.html +120 -297
  126. data/docs/Fox/FXImageFrame.html +14 -14
  127. data/docs/Fox/FXImageView.html +13 -13
  128. data/docs/Fox/FXInputDialog.html +7 -7
  129. data/docs/Fox/FXIrb.html +2 -2
  130. data/docs/Fox/FXJPGIcon.html +11 -11
  131. data/docs/Fox/FXJPGImage.html +10 -10
  132. data/docs/Fox/FXKnob.html +17 -17
  133. data/docs/Fox/FXLabel.html +25 -25
  134. data/docs/Fox/FXLight.html +2 -2
  135. data/docs/Fox/FXList.html +29 -29
  136. data/docs/Fox/FXListBox.html +8 -8
  137. data/docs/Fox/FXListItem.html +2 -2
  138. data/docs/Fox/FXMDIChild.html +21 -21
  139. data/docs/Fox/FXMDIClient.html +224 -28
  140. data/docs/Fox/FXMDIDeleteButton.html +2 -2
  141. data/docs/Fox/FXMDIMaximizeButton.html +2 -2
  142. data/docs/Fox/FXMDIMenu.html +2 -2
  143. data/docs/Fox/FXMDIMinimizeButton.html +2 -2
  144. data/docs/Fox/FXMDIRestoreButton.html +2 -2
  145. data/docs/Fox/FXMDIWindowButton.html +2 -2
  146. data/docs/Fox/FXMainWindow.html +4 -4
  147. data/docs/Fox/FXMaterial.html +2 -2
  148. data/docs/Fox/FXMatrix.html +5 -5
  149. data/docs/Fox/FXMemoryBuffer.html +4 -4
  150. data/docs/Fox/FXMemoryStream.html +8 -8
  151. data/docs/Fox/FXMenuBar.html +2 -2
  152. data/docs/Fox/FXMenuButton.html +24 -24
  153. data/docs/Fox/FXMenuCaption.html +5 -5
  154. data/docs/Fox/FXMenuCascade.html +2 -2
  155. data/docs/Fox/FXMenuCheck.html +4 -4
  156. data/docs/Fox/FXMenuCommand.html +4 -4
  157. data/docs/Fox/FXMenuPane.html +2 -2
  158. data/docs/Fox/FXMenuRadio.html +4 -4
  159. data/docs/Fox/FXMenuSeparator.html +2 -2
  160. data/docs/Fox/FXMenuTitle.html +7 -7
  161. data/docs/Fox/FXMessageBox.html +21 -21
  162. data/docs/Fox/FXObject.html +2 -2
  163. data/docs/Fox/FXOption.html +8 -8
  164. data/docs/Fox/FXOptionMenu.html +8 -8
  165. data/docs/Fox/FXPCXIcon.html +10 -10
  166. data/docs/Fox/FXPCXImage.html +9 -9
  167. data/docs/Fox/FXPNGIcon.html +10 -10
  168. data/docs/Fox/FXPNGImage.html +9 -9
  169. data/docs/Fox/FXPPMIcon.html +10 -10
  170. data/docs/Fox/FXPPMImage.html +9 -9
  171. data/docs/Fox/FXPSBounds.html +2 -2
  172. data/docs/Fox/FXPacker.html +2 -2
  173. data/docs/Fox/FXPicker.html +5 -5
  174. data/docs/Fox/FXPopup.html +6 -6
  175. data/docs/Fox/FXPrintDialog.html +23 -23
  176. data/docs/Fox/FXPrinter.html +22 -22
  177. data/docs/Fox/FXProgressBar.html +8 -8
  178. data/docs/Fox/FXProgressDialog.html +6 -6
  179. data/docs/Fox/FXPseudoKeyboard.html +2 -2
  180. data/docs/Fox/FXPseudoMouse.html +2 -2
  181. data/docs/Fox/FXPseudoTarget.html +2 -2
  182. data/docs/Fox/FXQuatd.html +19 -19
  183. data/docs/Fox/FXQuatf.html +24 -24
  184. data/docs/Fox/FXRGBIcon.html +10 -10
  185. data/docs/Fox/FXRGBImage.html +9 -9
  186. data/docs/Fox/FXRadioButton.html +12 -12
  187. data/docs/Fox/FXRanged.html +2 -2
  188. data/docs/Fox/FXRangef.html +2 -2
  189. data/docs/Fox/FXRealSlider.html +40 -40
  190. data/docs/Fox/FXRealSpinner.html +32 -32
  191. data/docs/Fox/FXRecentFiles.html +17 -17
  192. data/docs/Fox/FXRectangle.html +15 -15
  193. data/docs/Fox/FXRegion.html +2 -2
  194. data/docs/Fox/FXRegistry.html +2 -2
  195. data/docs/Fox/FXReplaceDialog.html +29 -29
  196. data/docs/Fox/FXRootWindow.html +5 -5
  197. data/docs/Fox/FXRuler.html +31 -31
  198. data/docs/Fox/FXRulerView.html +2 -2
  199. data/docs/Fox/FXScintilla.html +9116 -2763
  200. data/docs/Fox/FXScrollArea.html +21 -21
  201. data/docs/Fox/FXScrollBar.html +31 -31
  202. data/docs/Fox/FXScrollCorner.html +2 -2
  203. data/docs/Fox/FXScrollPane.html +6 -6
  204. data/docs/Fox/FXScrollWindow.html +9 -9
  205. data/docs/Fox/FXSearchDialog.html +11 -11
  206. data/docs/Fox/FXSegment.html +2 -2
  207. data/docs/Fox/FXSeparator.html +7 -7
  208. data/docs/Fox/FXSettings.html +56 -56
  209. data/docs/Fox/FXShell.html +2 -2
  210. data/docs/Fox/FXShutter.html +24 -24
  211. data/docs/Fox/FXShutterItem.html +19 -19
  212. data/docs/Fox/FXSize.html +12 -12
  213. data/docs/Fox/FXSlider.html +40 -40
  214. data/docs/Fox/FXSphered.html +2 -2
  215. data/docs/Fox/FXSpheref.html +2 -2
  216. data/docs/Fox/FXSpinner.html +31 -31
  217. data/docs/Fox/FXSplashScreen.html +3 -3
  218. data/docs/Fox/FXSplashWindow.html +7 -7
  219. data/docs/Fox/FXSplitter.html +22 -22
  220. data/docs/Fox/FXSpring.html +17 -17
  221. data/docs/Fox/FXStatusBar.html +17 -17
  222. data/docs/Fox/FXStatusLine.html +8 -8
  223. data/docs/Fox/FXStream.html +26 -26
  224. data/docs/Fox/FXStreamAllocError.html +2 -2
  225. data/docs/Fox/FXStreamEndError.html +2 -2
  226. data/docs/Fox/FXStreamError.html +2 -2
  227. data/docs/Fox/FXStreamFailureError.html +2 -2
  228. data/docs/Fox/FXStreamFormatError.html +2 -2
  229. data/docs/Fox/FXStreamFullError.html +2 -2
  230. data/docs/Fox/FXStreamNoReadError.html +2 -2
  231. data/docs/Fox/FXStreamNoWriteError.html +2 -2
  232. data/docs/Fox/FXStreamUnknownError.html +2 -2
  233. data/docs/Fox/FXStringDict.html +2 -2
  234. data/docs/Fox/FXSwitcher.html +30 -30
  235. data/docs/Fox/FXTGAIcon.html +10 -10
  236. data/docs/Fox/FXTGAImage.html +9 -9
  237. data/docs/Fox/FXTIFIcon.html +10 -10
  238. data/docs/Fox/FXTIFImage.html +9 -9
  239. data/docs/Fox/FXTabBar.html +37 -37
  240. data/docs/Fox/FXTabBook.html +15 -15
  241. data/docs/Fox/FXTabItem.html +27 -27
  242. data/docs/Fox/FXTable.html +89 -89
  243. data/docs/Fox/FXTableItem.html +6 -6
  244. data/docs/Fox/FXTablePos.html +2 -2
  245. data/docs/Fox/FXTableRange.html +2 -2
  246. data/docs/Fox/FXText.html +115 -115
  247. data/docs/Fox/FXTextChange.html +2 -2
  248. data/docs/Fox/FXTextField.html +55 -55
  249. data/docs/Fox/FXToggleButton.html +31 -31
  250. data/docs/Fox/FXToolBar.html +15 -15
  251. data/docs/Fox/FXToolBarGrip.html +14 -14
  252. data/docs/Fox/FXToolBarShell.html +11 -11
  253. data/docs/Fox/FXToolBarTab.html +21 -21
  254. data/docs/Fox/FXToolTip.html +12 -10
  255. data/docs/Fox/FXTopWindow.html +34 -34
  256. data/docs/Fox/FXTranslator.html +2 -2
  257. data/docs/Fox/FXTreeItem.html +2 -2
  258. data/docs/Fox/FXTreeList.html +41 -41
  259. data/docs/Fox/FXTreeListBox.html +23 -23
  260. data/docs/Fox/FXTriStateButton.html +21 -21
  261. data/docs/Fox/FXUndoList.html +3 -3
  262. data/docs/Fox/FXVec2d.html +2 -2
  263. data/docs/Fox/FXVec2f.html +2 -2
  264. data/docs/Fox/FXVec3d.html +2 -2
  265. data/docs/Fox/FXVec3f.html +2 -2
  266. data/docs/Fox/FXVec4d.html +2 -2
  267. data/docs/Fox/FXVec4f.html +2 -2
  268. data/docs/Fox/FXVerticalFrame.html +15 -15
  269. data/docs/Fox/FXVerticalSeparator.html +13 -13
  270. data/docs/Fox/FXViewport.html +2 -2
  271. data/docs/Fox/FXVisual.html +24 -24
  272. data/docs/Fox/FXWindow.html +143 -143
  273. data/docs/Fox/FXWizard.html +5 -5
  274. data/docs/Fox/FXXBMIcon.html +11 -11
  275. data/docs/Fox/FXXBMImage.html +10 -10
  276. data/docs/Fox/FXXPMIcon.html +10 -10
  277. data/docs/Fox/FXXPMImage.html +9 -9
  278. data/docs/Fox/NotifyHeader.html +2 -2
  279. data/docs/Fox/SCNotification.html +2 -2
  280. data/docs/Fox/TextRange.html +2 -2
  281. data/docs/Fox.html +89 -89
  282. data/docs/IRB.html +2 -2
  283. data/docs/Responder.html +2 -2
  284. data/docs/Responder2.html +2 -2
  285. data/docs/_index.html +2 -2
  286. data/docs/css/style.css +2 -15
  287. data/docs/file.History.html +1432 -842
  288. data/docs/file.README.html +9 -9
  289. data/docs/index.html +94 -53
  290. data/docs/js/app.js +91 -40
  291. data/docs/js/full_list.js +22 -20
  292. data/docs/method_list.html +2854 -2286
  293. data/docs/top-level-namespace.html +2 -2
  294. data/examples/canvasdemo.rb +4 -4
  295. data/examples/iconlist.rb +79 -4
  296. data/examples/inputs.rb +1 -1
  297. data/examples/rmagick.rb +9 -9
  298. data/ext/fox16_c/FXRbApp.cpp +2 -1
  299. data/ext/fox16_c/FXRbDataTarget.cpp +1 -0
  300. data/ext/fox16_c/FXRbGLViewer.cpp +1 -0
  301. data/ext/fox16_c/FXRbObjRegistry.cpp +12 -5
  302. data/ext/fox16_c/FXRuby.cpp +57 -37
  303. data/ext/fox16_c/core_wrap.cpp +2593 -2155
  304. data/ext/fox16_c/dc_wrap.cpp +1033 -707
  305. data/ext/fox16_c/dialogs_wrap.cpp +1865 -1513
  306. data/ext/fox16_c/extconf.rb +11 -8
  307. data/ext/fox16_c/frames_wrap.cpp +3257 -2876
  308. data/ext/fox16_c/fx3d_wrap.cpp +2170 -1780
  309. data/ext/fox16_c/gvl_wrappers.cpp +1 -0
  310. data/ext/fox16_c/iconlist_wrap.cpp +1209 -882
  311. data/ext/fox16_c/icons_wrap.cpp +1132 -775
  312. data/ext/fox16_c/image_wrap.cpp +1116 -756
  313. data/ext/fox16_c/impl.cpp +1 -0
  314. data/ext/fox16_c/include/FXRbDCWindow.h +1 -1
  315. data/ext/fox16_c/include/FXRuby.h +6 -6
  316. data/ext/fox16_c/label_wrap.cpp +1702 -1354
  317. data/ext/fox16_c/layout_wrap.cpp +1752 -1392
  318. data/ext/fox16_c/list_wrap.cpp +899 -572
  319. data/ext/fox16_c/make_impl.rb +1 -0
  320. data/ext/fox16_c/markfuncs.cpp +1 -0
  321. data/ext/fox16_c/mdi_wrap.cpp +1220 -881
  322. data/ext/fox16_c/menu_wrap.cpp +1402 -1057
  323. data/ext/fox16_c/scintilla_wrap.cpp +658 -337
  324. data/ext/fox16_c/swigruby.h +262 -119
  325. data/ext/fox16_c/table_wrap.cpp +1064 -741
  326. data/ext/fox16_c/text_wrap.cpp +1062 -741
  327. data/ext/fox16_c/treelist_wrap.cpp +1522 -1189
  328. data/ext/fox16_c/ui_wrap.cpp +3610 -3216
  329. data/ext/fox16_c/unregisterOwnedObjects.cpp +1 -0
  330. data/fxruby.gemspec +6 -1
  331. data/lib/fox16/canvas.rb +1 -1
  332. data/lib/fox16/core.rb +97 -26
  333. data/lib/fox16/undolist.rb +32 -32
  334. data/lib/fox16/version.rb +1 -1
  335. data/rdoc-sources/FXApp.rb +12 -0
  336. data/rdoc-sources/FXFont.rb +2 -0
  337. data/rdoc-sources/FXMDIClient.rb +15 -0
  338. data/scripts/iface.rb +1 -0
  339. data/swig-interfaces/FXScintilla.i +1 -1
  340. data/swig-interfaces/FXText.i +1 -1
  341. data/swig-interfaces/freefuncs.i +1 -0
  342. data/swig-interfaces/ruby-typemaps.i +19 -19
  343. data/test/TC_FXBMPImage.rb +1 -1
  344. data/test/TC_FXDC.rb +24 -0
  345. data/test/TC_FXMat4f.rb +23 -14
  346. data/test/TC_FXSize.rb +8 -4
  347. data/test/TS_All.rb +4 -0
  348. data.tar.gz.sig +0 -0
  349. metadata +18 -15
  350. metadata.gz.sig +0 -0
@@ -1,13 +1,13 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (https://www.swig.org).
3
- * Version 4.2.0
3
+ * Version 4.5.0
4
4
  *
5
5
  * Do not make changes to this file unless you know what you are doing - modify
6
6
  * the SWIG interface file instead.
7
7
  * ----------------------------------------------------------------------------- */
8
8
 
9
9
 
10
- #define SWIG_VERSION 0x040200
10
+ #define SWIG_VERSION 0x040500
11
11
  #define SWIGRUBY
12
12
 
13
13
  /* -----------------------------------------------------------------------------
@@ -134,12 +134,43 @@
134
134
  # pragma warning disable 592
135
135
  #endif
136
136
 
137
- #if __cplusplus >=201103L
138
- # define SWIG_NULLPTR nullptr
137
+ #if defined(__cplusplus) && __cplusplus >= 201103L
138
+ # define SWIG_NOEXCEPT noexcept
139
139
  #else
140
- # define SWIG_NULLPTR NULL
140
+ # define SWIG_NOEXCEPT throw()
141
141
  #endif
142
142
 
143
+ #define SWIG_QUOTE_STRING(x) #x
144
+ #define SWIG_STRINGIFY(x) SWIG_QUOTE_STRING(x)
145
+
146
+ /* -----------------------------------------------------------------------------
147
+ * swigcompat.swg
148
+ *
149
+ * Macros to provide support compatibility with older C and C++ standards.
150
+ *
151
+ * Note that SWIG expects __cplusplus to be defined to the appropriate C++ standard.
152
+ * MSVC users are urged to check and examine the /Zc:__cplusplus compiler option.
153
+ * See https://learn.microsoft.com/en-us/cpp/build/reference/zc-cplusplus.
154
+ * ----------------------------------------------------------------------------- */
155
+
156
+ /* C99 and C++11 should provide snprintf, but define SWIG_NO_SNPRINTF
157
+ * if you're missing it.
158
+ */
159
+ #if ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) || \
160
+ (defined __cplusplus && __cplusplus >= 201103L) || \
161
+ defined SWIG_HAVE_SNPRINTF) && \
162
+ !defined SWIG_NO_SNPRINTF
163
+ # define SWIG_snprintf(O,S,F,A) snprintf(O,S,F,A)
164
+ # define SWIG_snprintf2(O,S,F,A,B) snprintf(O,S,F,A,B)
165
+ #else
166
+ /* Fallback versions ignore the buffer size, but most of our uses either have a
167
+ * fixed maximum possible size or dynamically allocate a buffer that's large
168
+ * enough.
169
+ */
170
+ # define SWIG_snprintf(O,S,F,A) sprintf(O,F,A)
171
+ # define SWIG_snprintf2(O,S,F,A,B) sprintf(O,F,A,B)
172
+ #endif
173
+
143
174
  /* -----------------------------------------------------------------------------
144
175
  * This section contains generic SWIG labels for method/variable
145
176
  * declarations/attributes, and other compiler dependent labels.
@@ -264,12 +295,15 @@
264
295
  # pragma warning disable 592
265
296
  #endif
266
297
 
267
- #if __cplusplus >=201103L
268
- # define SWIG_NULLPTR nullptr
298
+ #if defined(__cplusplus) && __cplusplus >= 201103L
299
+ # define SWIG_NOEXCEPT noexcept
269
300
  #else
270
- # define SWIG_NULLPTR NULL
301
+ # define SWIG_NOEXCEPT throw()
271
302
  #endif
272
303
 
304
+ #define SWIG_QUOTE_STRING(x) #x
305
+ #define SWIG_STRINGIFY(x) SWIG_QUOTE_STRING(x)
306
+
273
307
  /* -----------------------------------------------------------------------------
274
308
  * swigrun.swg
275
309
  *
@@ -279,13 +313,11 @@
279
313
 
280
314
  /* This should only be incremented when either the layout of swig_type_info changes,
281
315
  or for whatever reason, the runtime changes incompatibly */
282
- #define SWIG_RUNTIME_VERSION "4"
316
+ #define SWIG_RUNTIME_VERSION "5"
283
317
 
284
318
  /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
285
319
  #ifdef SWIG_TYPE_TABLE
286
- # define SWIG_QUOTE_STRING(x) #x
287
- # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
288
- # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
320
+ # define SWIG_TYPE_TABLE_NAME SWIG_STRINGIFY(SWIG_TYPE_TABLE)
289
321
  #else
290
322
  # define SWIG_TYPE_TABLE_NAME
291
323
  #endif
@@ -453,23 +485,6 @@ SWIGINTERNINLINE int SWIG_CheckState(int r) {
453
485
  # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
454
486
  #endif
455
487
 
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
473
488
 
474
489
  #include <string.h>
475
490
 
@@ -494,8 +509,8 @@ typedef struct swig_type_info {
494
509
  typedef struct swig_cast_info {
495
510
  swig_type_info *type; /* pointer to type that is equivalent to this type */
496
511
  swig_converter_func converter; /* function to cast the void pointers */
497
- struct swig_cast_info *next; /* pointer to next cast in linked list */
498
- struct swig_cast_info *prev; /* pointer to the previous cast */
512
+ struct swig_cast_info *next; /* pointer to next array of casts | pointer to cast hashed by value */
513
+ unsigned int value; /* index of the last valid element in the array | typename hash value */
499
514
  } swig_cast_info;
500
515
 
501
516
  /* Structure used to store module information
@@ -556,55 +571,147 @@ SWIG_TypeEquiv(const char *nb, const char *tb) {
556
571
  return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
557
572
  }
558
573
 
574
+ /*
575
+ * Hash function for type name strings, based on maRushPrime1Hash (http://amsoftware.narod.ru/algo2.html)
576
+ */
577
+ SWIGRUNTIME unsigned int SWIG_Hash(const char *str, unsigned int len) {
578
+ const unsigned char *data = (const unsigned char *)str;
579
+ unsigned int hash = len, i = 0, k;
580
+ int rem = (int)len;
581
+
582
+ while (rem >= (int)sizeof(unsigned int)) {
583
+ memcpy(&k, data, sizeof(unsigned int));
584
+ k += i++;
585
+ hash ^= k;
586
+ hash *= 171717;
587
+ data += sizeof(unsigned int);
588
+ rem -= (int)sizeof(unsigned int);
589
+ }
590
+
591
+ switch (rem) {
592
+ case 3: k = (unsigned int)(data[2]) << 16;
593
+ k |= (unsigned int)(data[1]) << 8;
594
+ k |= (unsigned int)(data[0]);
595
+ k += i++;
596
+ hash ^= k;
597
+ hash *= 171717;
598
+ break;
599
+ case 2: k = (unsigned int)(data[1]) << 8;
600
+ k |= (unsigned int)(data[0]);
601
+ k += i++;
602
+ hash ^= k;
603
+ hash *= 171717;
604
+ break;
605
+ case 1: k = (unsigned int)(data[0]);
606
+ k += i++;
607
+ hash ^= k;
608
+ hash *= 171717;
609
+ break;
610
+ }
611
+ return hash;
612
+ }
613
+
559
614
  /*
560
615
  Check the typename
561
616
  */
562
617
  SWIGRUNTIME swig_cast_info *
563
618
  SWIG_TypeCheck(const char *c, swig_type_info *ty) {
619
+ static const unsigned int scan_threshold = 4;
564
620
  if (ty) {
565
- swig_cast_info *iter = ty->cast;
566
- while (iter) {
567
- if (strcmp(iter->type->name, c) == 0) {
568
- if (iter == ty->cast)
569
- return iter;
570
- /* Move iter to the top of the linked list */
571
- iter->prev->next = iter->next;
572
- if (iter->next)
573
- iter->next->prev = iter->prev;
574
- iter->next = ty->cast;
575
- iter->prev = 0;
576
- if (ty->cast) ty->cast->prev = iter;
577
- ty->cast = iter;
578
- return iter;
621
+ swig_cast_info *head = ty->cast;
622
+ unsigned int hash_value = 0;
623
+ int hashed = 0;
624
+
625
+ while (head) {
626
+
627
+ if (strcmp(head->type->name, c) == 0) {
628
+ return head;
579
629
  }
580
- iter = iter->next;
630
+
631
+ if (head->value) {
632
+ swig_cast_info *iter;
633
+ swig_cast_info *last = head + head->value;
634
+ swig_cast_info *first = head + 1;
635
+ int search = 1;
636
+
637
+ if (!hashed) {
638
+ if (head->value < scan_threshold) {
639
+ for (iter = first; iter <= last; iter++) {
640
+ if (strcmp(iter->type->name, c) == 0) {
641
+ return iter;
642
+ }
643
+ }
644
+ search = 0;
645
+ } else {
646
+ hashed = 1;
647
+ hash_value = SWIG_Hash(c, (unsigned int)strlen(c));
648
+ }
649
+ }
650
+
651
+ if (search) {
652
+ /* Binary search over sorted <'next'|'value'> pairs */
653
+ do {
654
+ iter = first + ((last - first) >> 1);
655
+ if (iter->value < hash_value) {
656
+ first = iter + 1;
657
+ } else if (iter->value == hash_value) {
658
+
659
+ if (strcmp(iter->next->type->name, c) == 0) {
660
+ return iter->next;
661
+ }
662
+
663
+ /* Hash collision check */
664
+ for (last = iter + 1; last->next && last->value == hash_value; last++) {
665
+ if (strcmp(last->next->type->name, c) == 0) {
666
+ return last->next;
667
+ }
668
+ }
669
+ for (first = iter - 1; first != head && first->value == hash_value; first--) {
670
+ if (strcmp(first->next->type->name, c) == 0) {
671
+ return first->next;
672
+ }
673
+ }
674
+ break;
675
+ } else
676
+ last = iter - 1;
677
+ } while (first <= last);
678
+ }
679
+ }
680
+ head = head->next;
581
681
  }
582
682
  }
583
683
  return 0;
584
684
  }
585
685
 
586
686
  /*
587
- Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
687
+ Check the type by type address
588
688
  */
589
689
  SWIGRUNTIME swig_cast_info *
590
690
  SWIG_TypeCheckStruct(const swig_type_info *from, swig_type_info *ty) {
591
691
  if (ty) {
592
- swig_cast_info *iter = ty->cast;
593
- while (iter) {
594
- if (iter->type == from) {
595
- if (iter == ty->cast)
596
- return iter;
597
- /* Move iter to the top of the linked list */
598
- iter->prev->next = iter->next;
599
- if (iter->next)
600
- iter->next->prev = iter->prev;
601
- iter->next = ty->cast;
602
- iter->prev = 0;
603
- if (ty->cast) ty->cast->prev = iter;
604
- ty->cast = iter;
605
- return iter;
692
+ swig_cast_info *head = ty->cast;
693
+ while (head) {
694
+ if (head->type == from) {
695
+ return head;
606
696
  }
607
- iter = iter->next;
697
+
698
+ if (head->value) {
699
+ swig_cast_info *iter;
700
+ swig_cast_info *last = head + head->value;
701
+ swig_cast_info *first = head + 1;
702
+
703
+ /* Binary search over sorted array of casts */
704
+ do {
705
+ iter = first + ((last - first) >> 1);
706
+ if (iter->type < from) {
707
+ first = iter + 1;
708
+ } else if (iter->type == from) {
709
+ return iter;
710
+ } else
711
+ last = iter - 1;
712
+ } while (first <= last);
713
+ }
714
+ head = head->next;
608
715
  }
609
716
  }
610
717
  return 0;
@@ -667,20 +774,24 @@ SWIG_TypePrettyName(const swig_type_info *type) {
667
774
  */
668
775
  SWIGRUNTIME void
669
776
  SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
670
- swig_cast_info *cast = ti->cast;
777
+ swig_cast_info *head = ti->cast;
671
778
  /* if (ti->clientdata == clientdata) return; */
672
779
  ti->clientdata = clientdata;
673
780
 
674
- while (cast) {
675
- if (!cast->converter) {
676
- swig_type_info *tc = cast->type;
677
- if (!tc->clientdata) {
678
- SWIG_TypeClientData(tc, clientdata);
781
+ while (head) {
782
+ swig_cast_info *cast;
783
+ for (cast = head; (unsigned int)(cast - head) <= head->value; cast++) {
784
+ if (!cast->converter) {
785
+ swig_type_info *tc = cast->type;
786
+ if (!tc->clientdata) {
787
+ SWIG_TypeClientData(tc, clientdata);
788
+ }
679
789
  }
680
790
  }
681
- cast = cast->next;
791
+ head = head->next;
682
792
  }
683
793
  }
794
+
684
795
  SWIGRUNTIME void
685
796
  SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
686
797
  SWIG_TypeClientData(ti, clientdata);
@@ -819,7 +930,7 @@ SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
819
930
  if ((2*sizeof(void *) + 2) > bsz) return 0;
820
931
  *(r++) = '_';
821
932
  r = SWIG_PackData(r,&ptr,sizeof(void *));
822
- if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
933
+ if (strlen(name) + 1 > (bsz - (size_t)(r - buff))) return 0;
823
934
  strcpy(r,name);
824
935
  return buff;
825
936
  }
@@ -898,20 +1009,7 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
898
1009
  #endif
899
1010
  #endif
900
1011
 
901
- #include <ruby.h>
902
-
903
- #if defined(RB_METHOD_DEFINITION_DECL)
904
- # define RUBY_VALUE_METHOD_FUNC(func) (func)
905
- # define RUBY_INT_METHOD_FUNC(func) (func)
906
- # define RUBY_VOID_METHOD_FUNC(func) (func)
907
- # define RUBY_VOIDP_METHOD_FUNC(func) (func)
908
- #else
909
- # define RUBY_VALUE_METHOD_FUNC(func) ((VALUE (*)(ANYARGS))(func))
910
- # define RUBY_INT_METHOD_FUNC(func) ((int (*)(ANYARGS))(func))
911
- # define RUBY_VOID_METHOD_FUNC(func) ((void (*)(ANYARGS))(func))
912
- # define RUBY_VOIDP_METHOD_FUNC(func) ((void *(*)(ANYARGS))(func))
913
- #endif
914
-
1012
+ #include <ruby.h>
915
1013
  #include <ruby/version.h> /* For RUBY_API_VERSION_CODE */
916
1014
 
917
1015
  #if __GNUC__ >= 7
@@ -1012,7 +1110,15 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
1012
1110
  #ifndef RTYPEDDATA_P
1013
1111
  # define RTYPEDDATA_P(x) (TYPE(x) != T_DATA)
1014
1112
  #endif
1113
+ #ifndef TYPED_DATA_EMBEDDED
1114
+ # define RTYPEDDATA_GET_DATA(x) RTYPEDDATA_DATA(x)
1115
+ #endif
1015
1116
 
1117
+ struct ruby_wrapped_object {
1118
+ void *data;
1119
+ void (*dmark)(void *);
1120
+ void (*dfree)(void *);
1121
+ };
1016
1122
 
1017
1123
 
1018
1124
  /*
@@ -1095,15 +1201,12 @@ static VALUE _mSWIG = Qnil;
1095
1201
 
1096
1202
 
1097
1203
  /* Define custom exceptions for errors that do not map to existing Ruby
1098
- exceptions. Note this only works for C++ since a global cannot be
1099
- initialized by a function in C. For C, fallback to rb_eRuntimeError.*/
1204
+ exceptions. */
1100
1205
 
1101
1206
  SWIGINTERN VALUE
1102
1207
  getNullReferenceError(void) {
1103
- static int init = 0;
1104
- static VALUE rb_eNullReferenceError ;
1105
- if (!init) {
1106
- init = 1;
1208
+ static VALUE rb_eNullReferenceError = Qnil;
1209
+ if (rb_eNullReferenceError == Qnil) {
1107
1210
  rb_eNullReferenceError = rb_define_class("NullReferenceError", rb_eRuntimeError);
1108
1211
  }
1109
1212
  return rb_eNullReferenceError;
@@ -1111,10 +1214,8 @@ getNullReferenceError(void) {
1111
1214
 
1112
1215
  SWIGINTERN VALUE
1113
1216
  getObjectPreviouslyDeletedError(void) {
1114
- static int init = 0;
1115
- static VALUE rb_eObjectPreviouslyDeleted ;
1116
- if (!init) {
1117
- init = 1;
1217
+ static VALUE rb_eObjectPreviouslyDeleted = Qnil;
1218
+ if (rb_eObjectPreviouslyDeleted == Qnil) {
1118
1219
  rb_eObjectPreviouslyDeleted = rb_define_class("ObjectPreviouslyDeleted", rb_eRuntimeError);
1119
1220
  }
1120
1221
  return rb_eObjectPreviouslyDeleted;
@@ -1353,7 +1454,7 @@ SWIGRUNTIME void SWIG_RubyUnlinkObjects(void* ptr) {
1353
1454
  // object might have the T_ZOMBIE type, but that's just
1354
1455
  // because the GC has flagged it as such for a deferred
1355
1456
  // destruction. Until then, it's still a T_DATA object.
1356
- DATA_PTR(object) = 0;
1457
+ ((struct ruby_wrapped_object *)RTYPEDDATA_GET_DATA(object))->data = 0;
1357
1458
  }
1358
1459
  }
1359
1460
 
@@ -1386,8 +1487,8 @@ extern "C" {
1386
1487
  #endif
1387
1488
 
1388
1489
  SWIGINTERN VALUE
1389
- SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
1390
- if (NIL_P(target)) {
1490
+ SWIG_Ruby_AppendOutput(VALUE target, VALUE o, int is_void) {
1491
+ if (NIL_P(target) && is_void) {
1391
1492
  target = o;
1392
1493
  } else {
1393
1494
  if (TYPE(target) != T_ARRAY) {
@@ -1485,6 +1586,7 @@ typedef struct {
1485
1586
  VALUE mImpl;
1486
1587
  void (*mark)(void *);
1487
1588
  void (*destroy)(void *);
1589
+ rb_data_type_t cext_type;
1488
1590
  int trackObjects;
1489
1591
  } swig_class;
1490
1592
 
@@ -1530,10 +1632,8 @@ static ID swig_lowerthan_id = 0;
1530
1632
 
1531
1633
  SWIGRUNTIME VALUE
1532
1634
  getExceptionClass(void) {
1533
- static int init = 0;
1534
- static VALUE rubyExceptionClass ;
1535
- if (!init) {
1536
- init = 1;
1635
+ static VALUE rubyExceptionClass = Qnil;
1636
+ if (rubyExceptionClass == Qnil) {
1537
1637
  rubyExceptionClass = rb_const_get(_mSWIG, rb_intern("Exception"));
1538
1638
  }
1539
1639
  return rubyExceptionClass;
@@ -1580,6 +1680,27 @@ SWIG_Ruby_define_class(swig_type_info *type)
1580
1680
  free((void *) klass_name);
1581
1681
  }
1582
1682
 
1683
+ static void SWIG_Ruby_mark_swig_type(void *_wrobj)
1684
+ {
1685
+ struct ruby_wrapped_object *wrobj = (struct ruby_wrapped_object *)_wrobj;
1686
+ if (wrobj->dmark) {
1687
+ wrobj->dmark(wrobj->data);
1688
+ }
1689
+ }
1690
+
1691
+ static void SWIG_Ruby_free_swig_type(void *_wrobj)
1692
+ {
1693
+ struct ruby_wrapped_object *wrobj = (struct ruby_wrapped_object *)_wrobj;
1694
+ if (wrobj->dfree) {
1695
+ wrobj->dfree(wrobj->data);
1696
+ }
1697
+ free(wrobj);
1698
+ }
1699
+
1700
+ static const rb_data_type_t swig_type_type = {
1701
+ .wrap_struct_name = "swig_type"
1702
+ };
1703
+
1583
1704
  /* Create a new pointer object */
1584
1705
  SWIGRUNTIME VALUE
1585
1706
  SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
@@ -1590,6 +1711,7 @@ SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
1590
1711
  swig_class *sklass;
1591
1712
  VALUE klass;
1592
1713
  VALUE obj;
1714
+ struct ruby_wrapped_object *wrobj;
1593
1715
 
1594
1716
  if (!ptr)
1595
1717
  return Qnil;
@@ -1617,10 +1739,11 @@ SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
1617
1739
  }
1618
1740
 
1619
1741
  /* Create a new Ruby object */
1620
- obj = Data_Wrap_Struct(sklass->klass, VOIDFUNC(sklass->mark),
1621
- ( own ? VOIDFUNC(sklass->destroy) :
1622
- (track ? VOIDFUNC(SWIG_RubyRemoveTracking) : 0 )
1623
- ), ptr);
1742
+ obj = TypedData_Make_Struct(sklass->klass, struct ruby_wrapped_object, &sklass->cext_type, wrobj);
1743
+ wrobj->data = ptr;
1744
+ wrobj->dmark = sklass->mark;
1745
+ wrobj->dfree = own ? sklass->destroy:
1746
+ (track ? VOIDFUNC(SWIG_RubyRemoveTracking) : 0 );
1624
1747
 
1625
1748
  /* If tracking is on for this class then track this object. */
1626
1749
  if (track) {
@@ -1632,7 +1755,11 @@ SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
1632
1755
  SWIG_snprintf(klass_name, klass_len, "TYPE%s", type->name);
1633
1756
  klass = rb_const_get(_mSWIG, rb_intern(klass_name));
1634
1757
  free((void *) klass_name);
1635
- obj = Data_Wrap_Struct(klass, 0, 0, ptr);
1758
+
1759
+ obj = TypedData_Make_Struct(klass, struct ruby_wrapped_object, &swig_type_type, wrobj);
1760
+ wrobj->data = ptr;
1761
+ wrobj->dmark = 0;
1762
+ wrobj->dfree = 0;
1636
1763
  }
1637
1764
  rb_iv_set(obj, "@__swigtype__", rb_str_new2(type->name));
1638
1765
 
@@ -1645,7 +1772,13 @@ SWIG_Ruby_NewClassInstance(VALUE klass, swig_type_info *type)
1645
1772
  {
1646
1773
  VALUE obj;
1647
1774
  swig_class *sklass = (swig_class *) type->clientdata;
1648
- obj = Data_Wrap_Struct(klass, VOIDFUNC(sklass->mark), VOIDFUNC(sklass->destroy), 0);
1775
+ struct ruby_wrapped_object *wrobj;
1776
+
1777
+ obj = TypedData_Make_Struct(klass, struct ruby_wrapped_object, &sklass->cext_type, wrobj);
1778
+ wrobj->data = 0;
1779
+ wrobj->dmark = sklass->mark;
1780
+ wrobj->dfree = sklass->destroy;
1781
+
1649
1782
  rb_iv_set(obj, "@__swigtype__", rb_str_new2(type->name));
1650
1783
  return obj;
1651
1784
  }
@@ -1669,9 +1802,10 @@ typedef struct {
1669
1802
  SWIGRUNTIME swig_ruby_owntype
1670
1803
  SWIG_Ruby_AcquirePtr(VALUE obj, swig_ruby_owntype own) {
1671
1804
  swig_ruby_owntype oldown = {0, 0};
1672
- if (TYPE(obj) == T_DATA && !RTYPEDDATA_P(obj)) {
1673
- oldown.datafree = RDATA(obj)->dfree;
1674
- RDATA(obj)->dfree = own.datafree;
1805
+ if (RB_TYPE_P(obj, RUBY_T_DATA) && RTYPEDDATA_P(obj)) {
1806
+ struct ruby_wrapped_object *wrobj = (struct ruby_wrapped_object *)RTYPEDDATA_GET_DATA(obj);
1807
+ oldown.datafree = wrobj->dfree;
1808
+ wrobj->dfree = own.datafree;
1675
1809
  }
1676
1810
  return oldown;
1677
1811
  }
@@ -1683,26 +1817,27 @@ SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags,
1683
1817
  char *c;
1684
1818
  swig_cast_info *tc;
1685
1819
  void *vptr = 0;
1820
+ struct ruby_wrapped_object *wrobj;
1686
1821
 
1687
1822
  /* Grab the pointer */
1688
1823
  if (NIL_P(obj)) {
1689
1824
  if (ptr)
1690
1825
  *ptr = 0;
1691
1826
  return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK;
1827
+ } else if (RB_TYPE_P(obj, RUBY_T_DATA) && RTYPEDDATA_P(obj)) {
1828
+ wrobj = (struct ruby_wrapped_object *)RTYPEDDATA_GET_DATA(obj);
1829
+ vptr = wrobj->data;
1692
1830
  } else {
1693
- if (TYPE(obj) != T_DATA || (TYPE(obj) == T_DATA && RTYPEDDATA_P(obj))) {
1694
- return SWIG_ERROR;
1695
- }
1696
- Data_Get_Struct(obj, void, vptr);
1831
+ return SWIG_ERROR;
1697
1832
  }
1698
1833
 
1699
1834
  if (own) {
1700
- own->datafree = RDATA(obj)->dfree;
1835
+ own->datafree = wrobj->dfree;
1701
1836
  own->own = 0;
1702
1837
  }
1703
1838
 
1704
1839
  if (((flags & SWIG_POINTER_RELEASE) == SWIG_POINTER_RELEASE)) {
1705
- if (!RDATA(obj)->dfree)
1840
+ if (!wrobj->dfree)
1706
1841
  return SWIG_ERROR_RELEASE_NOT_OWNED;
1707
1842
  }
1708
1843
 
@@ -1725,14 +1860,14 @@ SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags,
1725
1860
  * when the Ruby object is garbage collected. If we don't
1726
1861
  * do this, then it is possible we will return a reference
1727
1862
  * to a Ruby object that no longer exists thereby crashing Ruby. */
1728
- RDATA(obj)->dfree = SWIG_RubyRemoveTracking;
1863
+ wrobj->dfree = SWIG_RubyRemoveTracking;
1729
1864
  } else {
1730
- RDATA(obj)->dfree = 0;
1865
+ wrobj->dfree = 0;
1731
1866
  }
1732
1867
  }
1733
1868
 
1734
1869
  if (flags & SWIG_POINTER_CLEAR) {
1735
- DATA_PTR(obj) = 0;
1870
+ wrobj->data = 0;
1736
1871
  }
1737
1872
 
1738
1873
  /* Do type-checking if type info was provided */
@@ -1816,6 +1951,11 @@ SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
1816
1951
  return SWIG_ERROR;
1817
1952
  }
1818
1953
 
1954
+
1955
+ static const rb_data_type_t swig_runtime_data_type = {
1956
+ .wrap_struct_name = "swig_runtime_data" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME
1957
+ };
1958
+
1819
1959
  SWIGRUNTIME swig_module_info *
1820
1960
  SWIG_Ruby_GetModule(void *SWIGUNUSEDPARM(clientdata))
1821
1961
  {
@@ -1825,11 +1965,13 @@ SWIG_Ruby_GetModule(void *SWIGUNUSEDPARM(clientdata))
1825
1965
 
1826
1966
  /* temporarily disable warnings, since the pointer check causes warnings with 'ruby -w' */
1827
1967
  rb_gv_set("VERBOSE", Qfalse);
1828
-
1968
+
1829
1969
  /* first check if pointer already created */
1830
1970
  pointer = rb_gv_get("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
1831
1971
  if (pointer != Qnil) {
1832
- Data_Get_Struct(pointer, swig_module_info, ret);
1972
+ /* Can not use TypedData_Get_Struct because swig_runtime_data_type is not global, but once per file. */
1973
+ if (!RB_TYPE_P(pointer, RUBY_T_DATA)) rb_check_typeddata(pointer, &swig_runtime_data_type);
1974
+ ret = (swig_module_info *)RTYPEDDATA_GET_DATA(pointer);
1833
1975
  }
1834
1976
 
1835
1977
  /* reinstate warnings */
@@ -1841,10 +1983,10 @@ SWIGRUNTIME void
1841
1983
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1842
1984
  {
1843
1985
  /* register a new class */
1844
- VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1986
+ VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1845
1987
  rb_undef_alloc_func(cl);
1846
1988
  /* create and store the structure pointer to a global variable */
1847
- swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1989
+ swig_runtime_data_type_pointer = TypedData_Wrap_Struct(cl, &swig_runtime_data_type, pointer);
1848
1990
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
1849
1991
  }
1850
1992
 
@@ -1976,7 +2118,7 @@ static swig_module_info swig_module = {swig_types, 66, 0, 0, 0, 0};
1976
2118
  #define SWIG_init Init_list
1977
2119
  #define SWIG_name "List"
1978
2120
 
1979
-
2121
+ static VALUE mList;
1980
2122
 
1981
2123
  #ifdef __cplusplus
1982
2124
  #include <utility>
@@ -1994,7 +2136,7 @@ template<typename T> class SwigValueWrapper {
1994
2136
  public:
1995
2137
  SwigValueWrapper() : pointer(0) { }
1996
2138
  SwigValueWrapper& operator=(const T& t) { SwigSmartPointer tmp(new T(t)); pointer = tmp; return *this; }
1997
- #if __cplusplus >=201103L
2139
+ #if __cplusplus >= 201103L
1998
2140
  SwigValueWrapper& operator=(T&& t) { SwigSmartPointer tmp(new T(std::move(t))); pointer = tmp; return *this; }
1999
2141
  operator T&&() const { return std::move(*pointer.ptr); }
2000
2142
  #else
@@ -2017,12 +2159,18 @@ template <typename T> T SwigValueInit() {
2017
2159
  return T();
2018
2160
  }
2019
2161
 
2020
- #if __cplusplus >=201103L
2162
+ #if __cplusplus >= 201103L
2021
2163
  # define SWIG_STD_MOVE(OBJ) std::move(OBJ)
2022
2164
  #else
2023
2165
  # define SWIG_STD_MOVE(OBJ) OBJ
2024
2166
  #endif
2025
2167
 
2168
+ #if __cplusplus >= 201103L
2169
+ # define SWIG_OVERRIDE override
2170
+ #else
2171
+ # define SWIG_OVERRIDE
2172
+ #endif
2173
+
2026
2174
  #endif
2027
2175
 
2028
2176
 
@@ -2082,7 +2230,7 @@ inline void* to_FXEvent(VALUE obj){
2082
2230
  FXEventTypeInfo=SWIG_TypeQuery("FXEvent *");
2083
2231
  FXASSERT(FXEventTypeInfo!=0);
2084
2232
  }
2085
- SWIG_ConvertPtr(obj,&ptr,FXEventTypeInfo,1);
2233
+ SWIG_ConvertPtr(obj,&ptr,FXEventTypeInfo,SWIG_POINTER_DISOWN);
2086
2234
  return ptr;
2087
2235
  }
2088
2236
 
@@ -2233,11 +2381,9 @@ SWIG_From_bool (bool value)
2233
2381
  SWIGINTERN swig_type_info*
2234
2382
  SWIG_pchar_descriptor(void)
2235
2383
  {
2236
- static int init = 0;
2237
2384
  static swig_type_info* info = 0;
2238
- if (!init) {
2385
+ if (!info) {
2239
2386
  info = SWIG_TypeQuery("_p_char");
2240
- init = 1;
2241
2387
  }
2242
2388
  return info;
2243
2389
  }
@@ -2252,7 +2398,7 @@ SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
2252
2398
  if (cptr) {
2253
2399
  if (alloc) {
2254
2400
  if (*alloc == SWIG_NEWOBJ) {
2255
- *cptr = reinterpret_cast< char* >(memcpy(new char[size], cstr, sizeof(char)*(size)));
2401
+ *cptr = reinterpret_cast< char* >(memcpy(new char[size], cstr, sizeof(char)*(size_t)(size)));
2256
2402
  } else {
2257
2403
  *cptr = cstr;
2258
2404
  *alloc = SWIG_OLDOBJ;
@@ -2356,8 +2502,8 @@ _wrap_FXListItem_allocate(int argc, VALUE *argv, VALUE self)
2356
2502
  SWIGINTERN VALUE
2357
2503
  _wrap_new_FXListItem(int argc, VALUE *argv, VALUE self) {
2358
2504
  FXString *arg1 = 0 ;
2359
- FXIcon *arg2 = (FXIcon *) 0 ;
2360
- void *arg3 = (void *) 0 ;
2505
+ FXIcon *arg2 = 0 ;
2506
+ void *arg3 = 0 ;
2361
2507
  SwigValueWrapper< FXString > p1 ;
2362
2508
  void *argp2 = 0 ;
2363
2509
  int res2 = 0 ;
@@ -2379,7 +2525,7 @@ _wrap_new_FXListItem(int argc, VALUE *argv, VALUE self) {
2379
2525
  }
2380
2526
  {
2381
2527
  result = (FXListItem *)new_FXListItem((FXString const &)*arg1,arg2,arg3);
2382
- DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
2528
+ ((struct ruby_wrapped_object *)RTYPEDDATA_GET_DATA(self))->data = result; FXRbRegisterRubyObj(self, result);
2383
2529
  if(rb_block_given_p()){
2384
2530
  rb_yield(self);
2385
2531
  }
@@ -2392,7 +2538,7 @@ fail:
2392
2538
 
2393
2539
  SWIGINTERN VALUE
2394
2540
  _wrap_FXListItem_getText(int argc, VALUE *argv, VALUE self) {
2395
- FXListItem *arg1 = (FXListItem *) 0 ;
2541
+ FXListItem *arg1 = 0 ;
2396
2542
  void *argp1 = 0 ;
2397
2543
  int res1 = 0 ;
2398
2544
  FXString *result = 0 ;
@@ -2416,7 +2562,7 @@ fail:
2416
2562
 
2417
2563
  SWIGINTERN VALUE
2418
2564
  _wrap_FXListItem_getIcon(int argc, VALUE *argv, VALUE self) {
2419
- FXListItem *arg1 = (FXListItem *) 0 ;
2565
+ FXListItem *arg1 = 0 ;
2420
2566
  void *argp1 = 0 ;
2421
2567
  int res1 = 0 ;
2422
2568
  FXIcon *result = 0 ;
@@ -2443,8 +2589,8 @@ fail:
2443
2589
 
2444
2590
  SWIGINTERN VALUE
2445
2591
  _wrap_FXListItem_setData(int argc, VALUE *argv, VALUE self) {
2446
- FXListItem *arg1 = (FXListItem *) 0 ;
2447
- VALUE arg2 = (VALUE) 0 ;
2592
+ FXListItem *arg1 = 0 ;
2593
+ VALUE arg2 = 0 ;
2448
2594
  void *argp1 = 0 ;
2449
2595
  int res1 = 0 ;
2450
2596
 
@@ -2466,7 +2612,7 @@ fail:
2466
2612
 
2467
2613
  SWIGINTERN VALUE
2468
2614
  _wrap_FXListItem_getData(int argc, VALUE *argv, VALUE self) {
2469
- FXListItem *arg1 = (FXListItem *) 0 ;
2615
+ FXListItem *arg1 = 0 ;
2470
2616
  void *argp1 = 0 ;
2471
2617
  int res1 = 0 ;
2472
2618
  VALUE result;
@@ -2490,7 +2636,7 @@ fail:
2490
2636
 
2491
2637
  SWIGINTERN VALUE
2492
2638
  _wrap_FXListItem_hasFocus(int argc, VALUE *argv, VALUE self) {
2493
- FXListItem *arg1 = (FXListItem *) 0 ;
2639
+ FXListItem *arg1 = 0 ;
2494
2640
  void *argp1 = 0 ;
2495
2641
  int res1 = 0 ;
2496
2642
  FXbool result;
@@ -2514,7 +2660,7 @@ fail:
2514
2660
 
2515
2661
  SWIGINTERN VALUE
2516
2662
  _wrap_FXListItem_isSelected(int argc, VALUE *argv, VALUE self) {
2517
- FXListItem *arg1 = (FXListItem *) 0 ;
2663
+ FXListItem *arg1 = 0 ;
2518
2664
  void *argp1 = 0 ;
2519
2665
  int res1 = 0 ;
2520
2666
  FXbool result;
@@ -2538,7 +2684,7 @@ fail:
2538
2684
 
2539
2685
  SWIGINTERN VALUE
2540
2686
  _wrap_FXListItem_isEnabled(int argc, VALUE *argv, VALUE self) {
2541
- FXListItem *arg1 = (FXListItem *) 0 ;
2687
+ FXListItem *arg1 = 0 ;
2542
2688
  void *argp1 = 0 ;
2543
2689
  int res1 = 0 ;
2544
2690
  FXbool result;
@@ -2562,7 +2708,7 @@ fail:
2562
2708
 
2563
2709
  SWIGINTERN VALUE
2564
2710
  _wrap_FXListItem_isDraggable(int argc, VALUE *argv, VALUE self) {
2565
- FXListItem *arg1 = (FXListItem *) 0 ;
2711
+ FXListItem *arg1 = 0 ;
2566
2712
  void *argp1 = 0 ;
2567
2713
  int res1 = 0 ;
2568
2714
  FXbool result;
@@ -2586,7 +2732,7 @@ fail:
2586
2732
 
2587
2733
  SWIGINTERN VALUE
2588
2734
  _wrap_FXListItem_save(int argc, VALUE *argv, VALUE self) {
2589
- FXListItem *arg1 = (FXListItem *) 0 ;
2735
+ FXListItem *arg1 = 0 ;
2590
2736
  FXStream *arg2 = 0 ;
2591
2737
  void *argp1 = 0 ;
2592
2738
  int res1 = 0 ;
@@ -2606,7 +2752,7 @@ _wrap_FXListItem_save(int argc, VALUE *argv, VALUE self) {
2606
2752
  SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] ));
2607
2753
  }
2608
2754
  if (!argp2) {
2609
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0]));
2755
+ SWIG_exception_fail(SWIG_NullReferenceError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0]));
2610
2756
  }
2611
2757
  arg2 = reinterpret_cast< FXStream * >(argp2);
2612
2758
  FXListItem_save((FXListItem const *)arg1,*arg2);
@@ -2618,7 +2764,7 @@ fail:
2618
2764
 
2619
2765
  SWIGINTERN VALUE
2620
2766
  _wrap_FXListItem_load(int argc, VALUE *argv, VALUE self) {
2621
- FXListItem *arg1 = (FXListItem *) 0 ;
2767
+ FXListItem *arg1 = 0 ;
2622
2768
  FXStream *arg2 = 0 ;
2623
2769
  void *argp1 = 0 ;
2624
2770
  int res1 = 0 ;
@@ -2638,7 +2784,7 @@ _wrap_FXListItem_load(int argc, VALUE *argv, VALUE self) {
2638
2784
  SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] ));
2639
2785
  }
2640
2786
  if (!argp2) {
2641
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0]));
2787
+ SWIG_exception_fail(SWIG_NullReferenceError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0]));
2642
2788
  }
2643
2789
  arg2 = reinterpret_cast< FXStream * >(argp2);
2644
2790
  FXListItem_load(arg1,*arg2);
@@ -2650,7 +2796,7 @@ fail:
2650
2796
 
2651
2797
  SWIGINTERN VALUE
2652
2798
  _wrap_FXListItem_setText(int argc, VALUE *argv, VALUE self) {
2653
- FXListItem *arg1 = (FXListItem *) 0 ;
2799
+ FXListItem *arg1 = 0 ;
2654
2800
  FXString *arg2 = 0 ;
2655
2801
  void *argp1 = 0 ;
2656
2802
  int res1 = 0 ;
@@ -2674,9 +2820,9 @@ fail:
2674
2820
 
2675
2821
  SWIGINTERN VALUE
2676
2822
  _wrap_FXListItem_setIcon(int argc, VALUE *argv, VALUE self) {
2677
- FXListItem *arg1 = (FXListItem *) 0 ;
2678
- FXIcon *arg2 = (FXIcon *) 0 ;
2679
- FXbool arg3 = (FXbool) 0 ;
2823
+ FXListItem *arg1 = 0 ;
2824
+ FXIcon *arg2 = 0 ;
2825
+ FXbool arg3 = 0 ;
2680
2826
  void *argp1 = 0 ;
2681
2827
  int res1 = 0 ;
2682
2828
  void *argp2 = 0 ;
@@ -2707,7 +2853,7 @@ fail:
2707
2853
 
2708
2854
  SWIGINTERN VALUE
2709
2855
  _wrap_FXListItem_setFocus(int argc, VALUE *argv, VALUE self) {
2710
- FXListItem *arg1 = (FXListItem *) 0 ;
2856
+ FXListItem *arg1 = 0 ;
2711
2857
  FXbool arg2 ;
2712
2858
  void *argp1 = 0 ;
2713
2859
  int res1 = 0 ;
@@ -2730,7 +2876,7 @@ fail:
2730
2876
 
2731
2877
  SWIGINTERN VALUE
2732
2878
  _wrap_FXListItem_setSelected(int argc, VALUE *argv, VALUE self) {
2733
- FXListItem *arg1 = (FXListItem *) 0 ;
2879
+ FXListItem *arg1 = 0 ;
2734
2880
  FXbool arg2 ;
2735
2881
  void *argp1 = 0 ;
2736
2882
  int res1 = 0 ;
@@ -2753,7 +2899,7 @@ fail:
2753
2899
 
2754
2900
  SWIGINTERN VALUE
2755
2901
  _wrap_FXListItem_setEnabled(int argc, VALUE *argv, VALUE self) {
2756
- FXListItem *arg1 = (FXListItem *) 0 ;
2902
+ FXListItem *arg1 = 0 ;
2757
2903
  FXbool arg2 ;
2758
2904
  void *argp1 = 0 ;
2759
2905
  int res1 = 0 ;
@@ -2776,7 +2922,7 @@ fail:
2776
2922
 
2777
2923
  SWIGINTERN VALUE
2778
2924
  _wrap_FXListItem_setDraggable(int argc, VALUE *argv, VALUE self) {
2779
- FXListItem *arg1 = (FXListItem *) 0 ;
2925
+ FXListItem *arg1 = 0 ;
2780
2926
  FXbool arg2 ;
2781
2927
  void *argp1 = 0 ;
2782
2928
  int res1 = 0 ;
@@ -2799,8 +2945,8 @@ fail:
2799
2945
 
2800
2946
  SWIGINTERN VALUE
2801
2947
  _wrap_FXListItem_getWidth(int argc, VALUE *argv, VALUE self) {
2802
- FXListItem *arg1 = (FXListItem *) 0 ;
2803
- FXList *arg2 = (FXList *) 0 ;
2948
+ FXListItem *arg1 = 0 ;
2949
+ FXList *arg2 = 0 ;
2804
2950
  void *argp1 = 0 ;
2805
2951
  int res1 = 0 ;
2806
2952
  void *argp2 = 0 ;
@@ -2831,8 +2977,8 @@ fail:
2831
2977
 
2832
2978
  SWIGINTERN VALUE
2833
2979
  _wrap_FXListItem_getHeight(int argc, VALUE *argv, VALUE self) {
2834
- FXListItem *arg1 = (FXListItem *) 0 ;
2835
- FXList *arg2 = (FXList *) 0 ;
2980
+ FXListItem *arg1 = 0 ;
2981
+ FXList *arg2 = 0 ;
2836
2982
  void *argp1 = 0 ;
2837
2983
  int res1 = 0 ;
2838
2984
  void *argp2 = 0 ;
@@ -2863,7 +3009,7 @@ fail:
2863
3009
 
2864
3010
  SWIGINTERN VALUE
2865
3011
  _wrap_FXListItem_create(int argc, VALUE *argv, VALUE self) {
2866
- FXListItem *arg1 = (FXListItem *) 0 ;
3012
+ FXListItem *arg1 = 0 ;
2867
3013
  void *argp1 = 0 ;
2868
3014
  int res1 = 0 ;
2869
3015
 
@@ -2884,7 +3030,7 @@ fail:
2884
3030
 
2885
3031
  SWIGINTERN VALUE
2886
3032
  _wrap_FXListItem_detach(int argc, VALUE *argv, VALUE self) {
2887
- FXListItem *arg1 = (FXListItem *) 0 ;
3033
+ FXListItem *arg1 = 0 ;
2888
3034
  void *argp1 = 0 ;
2889
3035
  int res1 = 0 ;
2890
3036
 
@@ -2905,7 +3051,7 @@ fail:
2905
3051
 
2906
3052
  SWIGINTERN VALUE
2907
3053
  _wrap_FXListItem_destroy(int argc, VALUE *argv, VALUE self) {
2908
- FXListItem *arg1 = (FXListItem *) 0 ;
3054
+ FXListItem *arg1 = 0 ;
2909
3055
  void *argp1 = 0 ;
2910
3056
  int res1 = 0 ;
2911
3057
 
@@ -2928,10 +3074,10 @@ static swig_class SwigClassFXList;
2928
3074
 
2929
3075
  SWIGINTERN VALUE
2930
3076
  _wrap_FXList_onPaint(int argc, VALUE *argv, VALUE self) {
2931
- FXList *arg1 = (FXList *) 0 ;
2932
- FXObject *arg2 = (FXObject *) 0 ;
3077
+ FXList *arg1 = 0 ;
3078
+ FXObject *arg2 = 0 ;
2933
3079
  FXSelector arg3 ;
2934
- void *arg4 = (void *) 0 ;
3080
+ void *arg4 = 0 ;
2935
3081
  void *argp1 = 0 ;
2936
3082
  int res1 = 0 ;
2937
3083
  void *argp2 = 0 ;
@@ -2964,10 +3110,10 @@ fail:
2964
3110
 
2965
3111
  SWIGINTERN VALUE
2966
3112
  _wrap_FXList_onEnter(int argc, VALUE *argv, VALUE self) {
2967
- FXList *arg1 = (FXList *) 0 ;
2968
- FXObject *arg2 = (FXObject *) 0 ;
3113
+ FXList *arg1 = 0 ;
3114
+ FXObject *arg2 = 0 ;
2969
3115
  FXSelector arg3 ;
2970
- void *arg4 = (void *) 0 ;
3116
+ void *arg4 = 0 ;
2971
3117
  void *argp1 = 0 ;
2972
3118
  int res1 = 0 ;
2973
3119
  void *argp2 = 0 ;
@@ -3000,10 +3146,10 @@ fail:
3000
3146
 
3001
3147
  SWIGINTERN VALUE
3002
3148
  _wrap_FXList_onLeave(int argc, VALUE *argv, VALUE self) {
3003
- FXList *arg1 = (FXList *) 0 ;
3004
- FXObject *arg2 = (FXObject *) 0 ;
3149
+ FXList *arg1 = 0 ;
3150
+ FXObject *arg2 = 0 ;
3005
3151
  FXSelector arg3 ;
3006
- void *arg4 = (void *) 0 ;
3152
+ void *arg4 = 0 ;
3007
3153
  void *argp1 = 0 ;
3008
3154
  int res1 = 0 ;
3009
3155
  void *argp2 = 0 ;
@@ -3036,10 +3182,10 @@ fail:
3036
3182
 
3037
3183
  SWIGINTERN VALUE
3038
3184
  _wrap_FXList_onUngrabbed(int argc, VALUE *argv, VALUE self) {
3039
- FXList *arg1 = (FXList *) 0 ;
3040
- FXObject *arg2 = (FXObject *) 0 ;
3185
+ FXList *arg1 = 0 ;
3186
+ FXObject *arg2 = 0 ;
3041
3187
  FXSelector arg3 ;
3042
- void *arg4 = (void *) 0 ;
3188
+ void *arg4 = 0 ;
3043
3189
  void *argp1 = 0 ;
3044
3190
  int res1 = 0 ;
3045
3191
  void *argp2 = 0 ;
@@ -3072,10 +3218,10 @@ fail:
3072
3218
 
3073
3219
  SWIGINTERN VALUE
3074
3220
  _wrap_FXList_onKeyPress(int argc, VALUE *argv, VALUE self) {
3075
- FXList *arg1 = (FXList *) 0 ;
3076
- FXObject *arg2 = (FXObject *) 0 ;
3221
+ FXList *arg1 = 0 ;
3222
+ FXObject *arg2 = 0 ;
3077
3223
  FXSelector arg3 ;
3078
- void *arg4 = (void *) 0 ;
3224
+ void *arg4 = 0 ;
3079
3225
  void *argp1 = 0 ;
3080
3226
  int res1 = 0 ;
3081
3227
  void *argp2 = 0 ;
@@ -3108,10 +3254,10 @@ fail:
3108
3254
 
3109
3255
  SWIGINTERN VALUE
3110
3256
  _wrap_FXList_onKeyRelease(int argc, VALUE *argv, VALUE self) {
3111
- FXList *arg1 = (FXList *) 0 ;
3112
- FXObject *arg2 = (FXObject *) 0 ;
3257
+ FXList *arg1 = 0 ;
3258
+ FXObject *arg2 = 0 ;
3113
3259
  FXSelector arg3 ;
3114
- void *arg4 = (void *) 0 ;
3260
+ void *arg4 = 0 ;
3115
3261
  void *argp1 = 0 ;
3116
3262
  int res1 = 0 ;
3117
3263
  void *argp2 = 0 ;
@@ -3144,10 +3290,10 @@ fail:
3144
3290
 
3145
3291
  SWIGINTERN VALUE
3146
3292
  _wrap_FXList_onLeftBtnPress(int argc, VALUE *argv, VALUE self) {
3147
- FXList *arg1 = (FXList *) 0 ;
3148
- FXObject *arg2 = (FXObject *) 0 ;
3293
+ FXList *arg1 = 0 ;
3294
+ FXObject *arg2 = 0 ;
3149
3295
  FXSelector arg3 ;
3150
- void *arg4 = (void *) 0 ;
3296
+ void *arg4 = 0 ;
3151
3297
  void *argp1 = 0 ;
3152
3298
  int res1 = 0 ;
3153
3299
  void *argp2 = 0 ;
@@ -3180,10 +3326,10 @@ fail:
3180
3326
 
3181
3327
  SWIGINTERN VALUE
3182
3328
  _wrap_FXList_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) {
3183
- FXList *arg1 = (FXList *) 0 ;
3184
- FXObject *arg2 = (FXObject *) 0 ;
3329
+ FXList *arg1 = 0 ;
3330
+ FXObject *arg2 = 0 ;
3185
3331
  FXSelector arg3 ;
3186
- void *arg4 = (void *) 0 ;
3332
+ void *arg4 = 0 ;
3187
3333
  void *argp1 = 0 ;
3188
3334
  int res1 = 0 ;
3189
3335
  void *argp2 = 0 ;
@@ -3216,10 +3362,10 @@ fail:
3216
3362
 
3217
3363
  SWIGINTERN VALUE
3218
3364
  _wrap_FXList_onRightBtnPress(int argc, VALUE *argv, VALUE self) {
3219
- FXList *arg1 = (FXList *) 0 ;
3220
- FXObject *arg2 = (FXObject *) 0 ;
3365
+ FXList *arg1 = 0 ;
3366
+ FXObject *arg2 = 0 ;
3221
3367
  FXSelector arg3 ;
3222
- void *arg4 = (void *) 0 ;
3368
+ void *arg4 = 0 ;
3223
3369
  void *argp1 = 0 ;
3224
3370
  int res1 = 0 ;
3225
3371
  void *argp2 = 0 ;
@@ -3252,10 +3398,10 @@ fail:
3252
3398
 
3253
3399
  SWIGINTERN VALUE
3254
3400
  _wrap_FXList_onRightBtnRelease(int argc, VALUE *argv, VALUE self) {
3255
- FXList *arg1 = (FXList *) 0 ;
3256
- FXObject *arg2 = (FXObject *) 0 ;
3401
+ FXList *arg1 = 0 ;
3402
+ FXObject *arg2 = 0 ;
3257
3403
  FXSelector arg3 ;
3258
- void *arg4 = (void *) 0 ;
3404
+ void *arg4 = 0 ;
3259
3405
  void *argp1 = 0 ;
3260
3406
  int res1 = 0 ;
3261
3407
  void *argp2 = 0 ;
@@ -3288,10 +3434,10 @@ fail:
3288
3434
 
3289
3435
  SWIGINTERN VALUE
3290
3436
  _wrap_FXList_onMotion(int argc, VALUE *argv, VALUE self) {
3291
- FXList *arg1 = (FXList *) 0 ;
3292
- FXObject *arg2 = (FXObject *) 0 ;
3437
+ FXList *arg1 = 0 ;
3438
+ FXObject *arg2 = 0 ;
3293
3439
  FXSelector arg3 ;
3294
- void *arg4 = (void *) 0 ;
3440
+ void *arg4 = 0 ;
3295
3441
  void *argp1 = 0 ;
3296
3442
  int res1 = 0 ;
3297
3443
  void *argp2 = 0 ;
@@ -3324,10 +3470,10 @@ fail:
3324
3470
 
3325
3471
  SWIGINTERN VALUE
3326
3472
  _wrap_FXList_onFocusIn(int argc, VALUE *argv, VALUE self) {
3327
- FXList *arg1 = (FXList *) 0 ;
3328
- FXObject *arg2 = (FXObject *) 0 ;
3473
+ FXList *arg1 = 0 ;
3474
+ FXObject *arg2 = 0 ;
3329
3475
  FXSelector arg3 ;
3330
- void *arg4 = (void *) 0 ;
3476
+ void *arg4 = 0 ;
3331
3477
  void *argp1 = 0 ;
3332
3478
  int res1 = 0 ;
3333
3479
  void *argp2 = 0 ;
@@ -3360,10 +3506,10 @@ fail:
3360
3506
 
3361
3507
  SWIGINTERN VALUE
3362
3508
  _wrap_FXList_onFocusOut(int argc, VALUE *argv, VALUE self) {
3363
- FXList *arg1 = (FXList *) 0 ;
3364
- FXObject *arg2 = (FXObject *) 0 ;
3509
+ FXList *arg1 = 0 ;
3510
+ FXObject *arg2 = 0 ;
3365
3511
  FXSelector arg3 ;
3366
- void *arg4 = (void *) 0 ;
3512
+ void *arg4 = 0 ;
3367
3513
  void *argp1 = 0 ;
3368
3514
  int res1 = 0 ;
3369
3515
  void *argp2 = 0 ;
@@ -3396,10 +3542,10 @@ fail:
3396
3542
 
3397
3543
  SWIGINTERN VALUE
3398
3544
  _wrap_FXList_onAutoScroll(int argc, VALUE *argv, VALUE self) {
3399
- FXList *arg1 = (FXList *) 0 ;
3400
- FXObject *arg2 = (FXObject *) 0 ;
3545
+ FXList *arg1 = 0 ;
3546
+ FXObject *arg2 = 0 ;
3401
3547
  FXSelector arg3 ;
3402
- void *arg4 = (void *) 0 ;
3548
+ void *arg4 = 0 ;
3403
3549
  void *argp1 = 0 ;
3404
3550
  int res1 = 0 ;
3405
3551
  void *argp2 = 0 ;
@@ -3432,10 +3578,10 @@ fail:
3432
3578
 
3433
3579
  SWIGINTERN VALUE
3434
3580
  _wrap_FXList_onClicked(int argc, VALUE *argv, VALUE self) {
3435
- FXList *arg1 = (FXList *) 0 ;
3436
- FXObject *arg2 = (FXObject *) 0 ;
3581
+ FXList *arg1 = 0 ;
3582
+ FXObject *arg2 = 0 ;
3437
3583
  FXSelector arg3 ;
3438
- void *arg4 = (void *) 0 ;
3584
+ void *arg4 = 0 ;
3439
3585
  void *argp1 = 0 ;
3440
3586
  int res1 = 0 ;
3441
3587
  void *argp2 = 0 ;
@@ -3468,10 +3614,10 @@ fail:
3468
3614
 
3469
3615
  SWIGINTERN VALUE
3470
3616
  _wrap_FXList_onDoubleClicked(int argc, VALUE *argv, VALUE self) {
3471
- FXList *arg1 = (FXList *) 0 ;
3472
- FXObject *arg2 = (FXObject *) 0 ;
3617
+ FXList *arg1 = 0 ;
3618
+ FXObject *arg2 = 0 ;
3473
3619
  FXSelector arg3 ;
3474
- void *arg4 = (void *) 0 ;
3620
+ void *arg4 = 0 ;
3475
3621
  void *argp1 = 0 ;
3476
3622
  int res1 = 0 ;
3477
3623
  void *argp2 = 0 ;
@@ -3504,10 +3650,10 @@ fail:
3504
3650
 
3505
3651
  SWIGINTERN VALUE
3506
3652
  _wrap_FXList_onTripleClicked(int argc, VALUE *argv, VALUE self) {
3507
- FXList *arg1 = (FXList *) 0 ;
3508
- FXObject *arg2 = (FXObject *) 0 ;
3653
+ FXList *arg1 = 0 ;
3654
+ FXObject *arg2 = 0 ;
3509
3655
  FXSelector arg3 ;
3510
- void *arg4 = (void *) 0 ;
3656
+ void *arg4 = 0 ;
3511
3657
  void *argp1 = 0 ;
3512
3658
  int res1 = 0 ;
3513
3659
  void *argp2 = 0 ;
@@ -3540,10 +3686,10 @@ fail:
3540
3686
 
3541
3687
  SWIGINTERN VALUE
3542
3688
  _wrap_FXList_onCommand(int argc, VALUE *argv, VALUE self) {
3543
- FXList *arg1 = (FXList *) 0 ;
3544
- FXObject *arg2 = (FXObject *) 0 ;
3689
+ FXList *arg1 = 0 ;
3690
+ FXObject *arg2 = 0 ;
3545
3691
  FXSelector arg3 ;
3546
- void *arg4 = (void *) 0 ;
3692
+ void *arg4 = 0 ;
3547
3693
  void *argp1 = 0 ;
3548
3694
  int res1 = 0 ;
3549
3695
  void *argp2 = 0 ;
@@ -3576,10 +3722,10 @@ fail:
3576
3722
 
3577
3723
  SWIGINTERN VALUE
3578
3724
  _wrap_FXList_onQueryTip(int argc, VALUE *argv, VALUE self) {
3579
- FXList *arg1 = (FXList *) 0 ;
3580
- FXObject *arg2 = (FXObject *) 0 ;
3725
+ FXList *arg1 = 0 ;
3726
+ FXObject *arg2 = 0 ;
3581
3727
  FXSelector arg3 ;
3582
- void *arg4 = (void *) 0 ;
3728
+ void *arg4 = 0 ;
3583
3729
  void *argp1 = 0 ;
3584
3730
  int res1 = 0 ;
3585
3731
  void *argp2 = 0 ;
@@ -3612,10 +3758,10 @@ fail:
3612
3758
 
3613
3759
  SWIGINTERN VALUE
3614
3760
  _wrap_FXList_onQueryHelp(int argc, VALUE *argv, VALUE self) {
3615
- FXList *arg1 = (FXList *) 0 ;
3616
- FXObject *arg2 = (FXObject *) 0 ;
3761
+ FXList *arg1 = 0 ;
3762
+ FXObject *arg2 = 0 ;
3617
3763
  FXSelector arg3 ;
3618
- void *arg4 = (void *) 0 ;
3764
+ void *arg4 = 0 ;
3619
3765
  void *argp1 = 0 ;
3620
3766
  int res1 = 0 ;
3621
3767
  void *argp2 = 0 ;
@@ -3648,10 +3794,10 @@ fail:
3648
3794
 
3649
3795
  SWIGINTERN VALUE
3650
3796
  _wrap_FXList_onTipTimer(int argc, VALUE *argv, VALUE self) {
3651
- FXList *arg1 = (FXList *) 0 ;
3652
- FXObject *arg2 = (FXObject *) 0 ;
3797
+ FXList *arg1 = 0 ;
3798
+ FXObject *arg2 = 0 ;
3653
3799
  FXSelector arg3 ;
3654
- void *arg4 = (void *) 0 ;
3800
+ void *arg4 = 0 ;
3655
3801
  void *argp1 = 0 ;
3656
3802
  int res1 = 0 ;
3657
3803
  void *argp2 = 0 ;
@@ -3684,10 +3830,10 @@ fail:
3684
3830
 
3685
3831
  SWIGINTERN VALUE
3686
3832
  _wrap_FXList_onLookupTimer(int argc, VALUE *argv, VALUE self) {
3687
- FXList *arg1 = (FXList *) 0 ;
3688
- FXObject *arg2 = (FXObject *) 0 ;
3833
+ FXList *arg1 = 0 ;
3834
+ FXObject *arg2 = 0 ;
3689
3835
  FXSelector arg3 ;
3690
- void *arg4 = (void *) 0 ;
3836
+ void *arg4 = 0 ;
3691
3837
  void *argp1 = 0 ;
3692
3838
  int res1 = 0 ;
3693
3839
  void *argp2 = 0 ;
@@ -3720,10 +3866,10 @@ fail:
3720
3866
 
3721
3867
  SWIGINTERN VALUE
3722
3868
  _wrap_FXList_onCmdSetValue(int argc, VALUE *argv, VALUE self) {
3723
- FXList *arg1 = (FXList *) 0 ;
3724
- FXObject *arg2 = (FXObject *) 0 ;
3869
+ FXList *arg1 = 0 ;
3870
+ FXObject *arg2 = 0 ;
3725
3871
  FXSelector arg3 ;
3726
- void *arg4 = (void *) 0 ;
3872
+ void *arg4 = 0 ;
3727
3873
  void *argp1 = 0 ;
3728
3874
  int res1 = 0 ;
3729
3875
  void *argp2 = 0 ;
@@ -3756,10 +3902,10 @@ fail:
3756
3902
 
3757
3903
  SWIGINTERN VALUE
3758
3904
  _wrap_FXList_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) {
3759
- FXList *arg1 = (FXList *) 0 ;
3760
- FXObject *arg2 = (FXObject *) 0 ;
3905
+ FXList *arg1 = 0 ;
3906
+ FXObject *arg2 = 0 ;
3761
3907
  FXSelector arg3 ;
3762
- void *arg4 = (void *) 0 ;
3908
+ void *arg4 = 0 ;
3763
3909
  void *argp1 = 0 ;
3764
3910
  int res1 = 0 ;
3765
3911
  void *argp2 = 0 ;
@@ -3792,10 +3938,10 @@ fail:
3792
3938
 
3793
3939
  SWIGINTERN VALUE
3794
3940
  _wrap_FXList_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) {
3795
- FXList *arg1 = (FXList *) 0 ;
3796
- FXObject *arg2 = (FXObject *) 0 ;
3941
+ FXList *arg1 = 0 ;
3942
+ FXObject *arg2 = 0 ;
3797
3943
  FXSelector arg3 ;
3798
- void *arg4 = (void *) 0 ;
3944
+ void *arg4 = 0 ;
3799
3945
  void *argp1 = 0 ;
3800
3946
  int res1 = 0 ;
3801
3947
  void *argp2 = 0 ;
@@ -3832,8 +3978,8 @@ fail:
3832
3978
 
3833
3979
  SWIGINTERN VALUE
3834
3980
  _wrap_FXList_ascending(int argc, VALUE *argv, VALUE self) {
3835
- FXListItem *arg1 = (FXListItem *) 0 ;
3836
- FXListItem *arg2 = (FXListItem *) 0 ;
3981
+ FXListItem *arg1 = 0 ;
3982
+ FXListItem *arg2 = 0 ;
3837
3983
  void *argp1 = 0 ;
3838
3984
  int res1 = 0 ;
3839
3985
  void *argp2 = 0 ;
@@ -3864,8 +4010,8 @@ fail:
3864
4010
 
3865
4011
  SWIGINTERN VALUE
3866
4012
  _wrap_FXList_descending(int argc, VALUE *argv, VALUE self) {
3867
- FXListItem *arg1 = (FXListItem *) 0 ;
3868
- FXListItem *arg2 = (FXListItem *) 0 ;
4013
+ FXListItem *arg1 = 0 ;
4014
+ FXListItem *arg2 = 0 ;
3869
4015
  void *argp1 = 0 ;
3870
4016
  int res1 = 0 ;
3871
4017
  void *argp2 = 0 ;
@@ -3896,8 +4042,8 @@ fail:
3896
4042
 
3897
4043
  SWIGINTERN VALUE
3898
4044
  _wrap_FXList_ascendingCase(int argc, VALUE *argv, VALUE self) {
3899
- FXListItem *arg1 = (FXListItem *) 0 ;
3900
- FXListItem *arg2 = (FXListItem *) 0 ;
4045
+ FXListItem *arg1 = 0 ;
4046
+ FXListItem *arg2 = 0 ;
3901
4047
  void *argp1 = 0 ;
3902
4048
  int res1 = 0 ;
3903
4049
  void *argp2 = 0 ;
@@ -3928,8 +4074,8 @@ fail:
3928
4074
 
3929
4075
  SWIGINTERN VALUE
3930
4076
  _wrap_FXList_descendingCase(int argc, VALUE *argv, VALUE self) {
3931
- FXListItem *arg1 = (FXListItem *) 0 ;
3932
- FXListItem *arg2 = (FXListItem *) 0 ;
4077
+ FXListItem *arg1 = 0 ;
4078
+ FXListItem *arg2 = 0 ;
3933
4079
  void *argp1 = 0 ;
3934
4080
  int res1 = 0 ;
3935
4081
  void *argp2 = 0 ;
@@ -3975,14 +4121,14 @@ _wrap_FXList_allocate(int argc, VALUE *argv, VALUE self)
3975
4121
 
3976
4122
  SWIGINTERN VALUE
3977
4123
  _wrap_new_FXList(int argc, VALUE *argv, VALUE self) {
3978
- FXComposite *arg1 = (FXComposite *) 0 ;
3979
- FXObject *arg2 = (FXObject *) 0 ;
3980
- FXSelector arg3 = (FXSelector) 0 ;
3981
- FXuint arg4 = (FXuint) LIST_NORMAL ;
3982
- FXint arg5 = (FXint) 0 ;
3983
- FXint arg6 = (FXint) 0 ;
3984
- FXint arg7 = (FXint) 0 ;
3985
- FXint arg8 = (FXint) 0 ;
4124
+ FXComposite *arg1 = 0 ;
4125
+ FXObject *arg2 = 0 ;
4126
+ FXSelector arg3 = 0 ;
4127
+ FXuint arg4 = LIST_NORMAL ;
4128
+ FXint arg5 = 0 ;
4129
+ FXint arg6 = 0 ;
4130
+ FXint arg7 = 0 ;
4131
+ FXint arg8 = 0 ;
3986
4132
  void *argp1 = 0 ;
3987
4133
  int res1 = 0 ;
3988
4134
  void *argp2 = 0 ;
@@ -4024,12 +4170,12 @@ _wrap_new_FXList(int argc, VALUE *argv, VALUE self) {
4024
4170
  }
4025
4171
  {
4026
4172
  if (!arg1) {
4027
- SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
4173
+ SWIG_exception(SWIG_NullReferenceError,"Received a NULL pointer.");
4028
4174
  }
4029
4175
  }
4030
4176
  {
4031
4177
  result = (FXList *)new_FXList(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4032
- DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
4178
+ ((struct ruby_wrapped_object *)RTYPEDDATA_GET_DATA(self))->data = result; FXRbRegisterRubyObj(self, result);
4033
4179
  if(rb_block_given_p()){
4034
4180
  rb_yield(self);
4035
4181
  }
@@ -4042,7 +4188,7 @@ fail:
4042
4188
 
4043
4189
  SWIGINTERN VALUE
4044
4190
  _wrap_FXList_getNumItems(int argc, VALUE *argv, VALUE self) {
4045
- FXList *arg1 = (FXList *) 0 ;
4191
+ FXList *arg1 = 0 ;
4046
4192
  void *argp1 = 0 ;
4047
4193
  int res1 = 0 ;
4048
4194
  FXint result;
@@ -4066,7 +4212,7 @@ fail:
4066
4212
 
4067
4213
  SWIGINTERN VALUE
4068
4214
  _wrap_FXList_getNumVisible(int argc, VALUE *argv, VALUE self) {
4069
- FXList *arg1 = (FXList *) 0 ;
4215
+ FXList *arg1 = 0 ;
4070
4216
  void *argp1 = 0 ;
4071
4217
  int res1 = 0 ;
4072
4218
  FXint result;
@@ -4090,7 +4236,7 @@ fail:
4090
4236
 
4091
4237
  SWIGINTERN VALUE
4092
4238
  _wrap_FXList_setNumVisible(int argc, VALUE *argv, VALUE self) {
4093
- FXList *arg1 = (FXList *) 0 ;
4239
+ FXList *arg1 = 0 ;
4094
4240
  FXint arg2 ;
4095
4241
  void *argp1 = 0 ;
4096
4242
  int res1 = 0 ;
@@ -4113,7 +4259,7 @@ fail:
4113
4259
 
4114
4260
  SWIGINTERN VALUE
4115
4261
  _wrap_FXList_getItem(int argc, VALUE *argv, VALUE self) {
4116
- FXList *arg1 = (FXList *) 0 ;
4262
+ FXList *arg1 = 0 ;
4117
4263
  FXint arg2 ;
4118
4264
  void *argp1 = 0 ;
4119
4265
  int res1 = 0 ;
@@ -4147,10 +4293,10 @@ fail:
4147
4293
 
4148
4294
  SWIGINTERN VALUE
4149
4295
  _wrap_FXList_setItem__SWIG_0(int argc, VALUE *argv, VALUE self) {
4150
- FXList *arg1 = (FXList *) 0 ;
4296
+ FXList *arg1 = 0 ;
4151
4297
  FXint arg2 ;
4152
- FXListItem *arg3 = (FXListItem *) 0 ;
4153
- FXbool arg4 = (FXbool) 0 ;
4298
+ FXListItem *arg3 = 0 ;
4299
+ FXbool arg4 = 0 ;
4154
4300
  void *argp1 = 0 ;
4155
4301
  int res1 = 0 ;
4156
4302
  void *argp3 = 0 ;
@@ -4190,12 +4336,12 @@ fail:
4190
4336
 
4191
4337
  SWIGINTERN VALUE
4192
4338
  _wrap_FXList_setItem__SWIG_1(int argc, VALUE *argv, VALUE self) {
4193
- FXList *arg1 = (FXList *) 0 ;
4339
+ FXList *arg1 = 0 ;
4194
4340
  FXint arg2 ;
4195
4341
  FXString *arg3 = 0 ;
4196
- FXIcon *arg4 = (FXIcon *) 0 ;
4197
- void *arg5 = (void *) 0 ;
4198
- FXbool arg6 = (FXbool) 0 ;
4342
+ FXIcon *arg4 = 0 ;
4343
+ void *arg5 = 0 ;
4344
+ FXbool arg6 = 0 ;
4199
4345
  void *argp1 = 0 ;
4200
4346
  int res1 = 0 ;
4201
4347
  SwigValueWrapper< FXString > p3 ;
@@ -4333,11 +4479,11 @@ fail:
4333
4479
 
4334
4480
  SWIGINTERN VALUE
4335
4481
  _wrap_FXList_fillItems(int argc, VALUE *argv, VALUE self) {
4336
- FXList *arg1 = (FXList *) 0 ;
4337
- FXchar **arg2 = (FXchar **) 0 ;
4338
- FXIcon *arg3 = (FXIcon *) 0 ;
4339
- void *arg4 = (void *) 0 ;
4340
- FXbool arg5 = (FXbool) 0 ;
4482
+ FXList *arg1 = 0 ;
4483
+ FXchar **arg2 = 0 ;
4484
+ FXIcon *arg3 = 0 ;
4485
+ void *arg4 = 0 ;
4486
+ FXbool arg5 = 0 ;
4341
4487
  void *argp1 = 0 ;
4342
4488
  int res1 = 0 ;
4343
4489
  void *argp3 = 0 ;
@@ -4395,10 +4541,10 @@ fail:
4395
4541
 
4396
4542
  SWIGINTERN VALUE
4397
4543
  _wrap_FXList_insertItem__SWIG_0(int argc, VALUE *argv, VALUE self) {
4398
- FXList *arg1 = (FXList *) 0 ;
4544
+ FXList *arg1 = 0 ;
4399
4545
  FXint arg2 ;
4400
- FXListItem *arg3 = (FXListItem *) 0 ;
4401
- FXbool arg4 = (FXbool) 0 ;
4546
+ FXListItem *arg3 = 0 ;
4547
+ FXbool arg4 = 0 ;
4402
4548
  void *argp1 = 0 ;
4403
4549
  int res1 = 0 ;
4404
4550
  void *argp3 = 0 ;
@@ -4438,12 +4584,12 @@ fail:
4438
4584
 
4439
4585
  SWIGINTERN VALUE
4440
4586
  _wrap_FXList_insertItem__SWIG_1(int argc, VALUE *argv, VALUE self) {
4441
- FXList *arg1 = (FXList *) 0 ;
4587
+ FXList *arg1 = 0 ;
4442
4588
  FXint arg2 ;
4443
4589
  FXString *arg3 = 0 ;
4444
- FXIcon *arg4 = (FXIcon *) 0 ;
4445
- void *arg5 = (void *) 0 ;
4446
- FXbool arg6 = (FXbool) 0 ;
4590
+ FXIcon *arg4 = 0 ;
4591
+ void *arg5 = 0 ;
4592
+ FXbool arg6 = 0 ;
4447
4593
  void *argp1 = 0 ;
4448
4594
  int res1 = 0 ;
4449
4595
  SwigValueWrapper< FXString > p3 ;
@@ -4581,9 +4727,9 @@ fail:
4581
4727
 
4582
4728
  SWIGINTERN VALUE
4583
4729
  _wrap_FXList_appendItem__SWIG_0(int argc, VALUE *argv, VALUE self) {
4584
- FXList *arg1 = (FXList *) 0 ;
4585
- FXListItem *arg2 = (FXListItem *) 0 ;
4586
- FXbool arg3 = (FXbool) 0 ;
4730
+ FXList *arg1 = 0 ;
4731
+ FXListItem *arg2 = 0 ;
4732
+ FXbool arg3 = 0 ;
4587
4733
  void *argp1 = 0 ;
4588
4734
  int res1 = 0 ;
4589
4735
  void *argp2 = 0 ;
@@ -4617,11 +4763,11 @@ fail:
4617
4763
 
4618
4764
  SWIGINTERN VALUE
4619
4765
  _wrap_FXList_appendItem__SWIG_1(int argc, VALUE *argv, VALUE self) {
4620
- FXList *arg1 = (FXList *) 0 ;
4766
+ FXList *arg1 = 0 ;
4621
4767
  FXString *arg2 = 0 ;
4622
- FXIcon *arg3 = (FXIcon *) 0 ;
4623
- void *arg4 = (void *) 0 ;
4624
- FXbool arg5 = (FXbool) 0 ;
4768
+ FXIcon *arg3 = 0 ;
4769
+ void *arg4 = 0 ;
4770
+ FXbool arg5 = 0 ;
4625
4771
  void *argp1 = 0 ;
4626
4772
  int res1 = 0 ;
4627
4773
  SwigValueWrapper< FXString > p2 ;
@@ -4743,9 +4889,9 @@ fail:
4743
4889
 
4744
4890
  SWIGINTERN VALUE
4745
4891
  _wrap_FXList_prependItem__SWIG_0(int argc, VALUE *argv, VALUE self) {
4746
- FXList *arg1 = (FXList *) 0 ;
4747
- FXListItem *arg2 = (FXListItem *) 0 ;
4748
- FXbool arg3 = (FXbool) 0 ;
4892
+ FXList *arg1 = 0 ;
4893
+ FXListItem *arg2 = 0 ;
4894
+ FXbool arg3 = 0 ;
4749
4895
  void *argp1 = 0 ;
4750
4896
  int res1 = 0 ;
4751
4897
  void *argp2 = 0 ;
@@ -4779,11 +4925,11 @@ fail:
4779
4925
 
4780
4926
  SWIGINTERN VALUE
4781
4927
  _wrap_FXList_prependItem__SWIG_1(int argc, VALUE *argv, VALUE self) {
4782
- FXList *arg1 = (FXList *) 0 ;
4928
+ FXList *arg1 = 0 ;
4783
4929
  FXString *arg2 = 0 ;
4784
- FXIcon *arg3 = (FXIcon *) 0 ;
4785
- void *arg4 = (void *) 0 ;
4786
- FXbool arg5 = (FXbool) 0 ;
4930
+ FXIcon *arg3 = 0 ;
4931
+ void *arg4 = 0 ;
4932
+ FXbool arg5 = 0 ;
4787
4933
  void *argp1 = 0 ;
4788
4934
  int res1 = 0 ;
4789
4935
  SwigValueWrapper< FXString > p2 ;
@@ -4905,10 +5051,10 @@ fail:
4905
5051
 
4906
5052
  SWIGINTERN VALUE
4907
5053
  _wrap_FXList_moveItem(int argc, VALUE *argv, VALUE self) {
4908
- FXList *arg1 = (FXList *) 0 ;
5054
+ FXList *arg1 = 0 ;
4909
5055
  FXint arg2 ;
4910
5056
  FXint arg3 ;
4911
- FXbool arg4 = (FXbool) 0 ;
5057
+ FXbool arg4 = 0 ;
4912
5058
  void *argp1 = 0 ;
4913
5059
  int res1 = 0 ;
4914
5060
  FXint result;
@@ -4947,9 +5093,9 @@ fail:
4947
5093
 
4948
5094
  SWIGINTERN VALUE
4949
5095
  _wrap_FXList_extractItem(int argc, VALUE *argv, VALUE self) {
4950
- FXList *arg1 = (FXList *) 0 ;
5096
+ FXList *arg1 = 0 ;
4951
5097
  FXint arg2 ;
4952
- FXbool arg3 = (FXbool) 0 ;
5098
+ FXbool arg3 = 0 ;
4953
5099
  void *argp1 = 0 ;
4954
5100
  int res1 = 0 ;
4955
5101
  FXListItem *result = 0 ;
@@ -4985,9 +5131,9 @@ fail:
4985
5131
 
4986
5132
  SWIGINTERN VALUE
4987
5133
  _wrap_FXList_removeItem(int argc, VALUE *argv, VALUE self) {
4988
- FXList *arg1 = (FXList *) 0 ;
5134
+ FXList *arg1 = 0 ;
4989
5135
  FXint arg2 ;
4990
- FXbool arg3 = (FXbool) 0 ;
5136
+ FXbool arg3 = 0 ;
4991
5137
  void *argp1 = 0 ;
4992
5138
  int res1 = 0 ;
4993
5139
 
@@ -5017,8 +5163,8 @@ fail:
5017
5163
 
5018
5164
  SWIGINTERN VALUE
5019
5165
  _wrap_FXList_clearItems(int argc, VALUE *argv, VALUE self) {
5020
- FXList *arg1 = (FXList *) 0 ;
5021
- FXbool arg2 = (FXbool) 0 ;
5166
+ FXList *arg1 = 0 ;
5167
+ FXbool arg2 = 0 ;
5022
5168
  void *argp1 = 0 ;
5023
5169
  int res1 = 0 ;
5024
5170
 
@@ -5042,7 +5188,7 @@ fail:
5042
5188
 
5043
5189
  SWIGINTERN VALUE
5044
5190
  _wrap_FXList_getItemWidth(int argc, VALUE *argv, VALUE self) {
5045
- FXList *arg1 = (FXList *) 0 ;
5191
+ FXList *arg1 = 0 ;
5046
5192
  FXint arg2 ;
5047
5193
  void *argp1 = 0 ;
5048
5194
  int res1 = 0 ;
@@ -5073,7 +5219,7 @@ fail:
5073
5219
 
5074
5220
  SWIGINTERN VALUE
5075
5221
  _wrap_FXList_getItemHeight(int argc, VALUE *argv, VALUE self) {
5076
- FXList *arg1 = (FXList *) 0 ;
5222
+ FXList *arg1 = 0 ;
5077
5223
  FXint arg2 ;
5078
5224
  void *argp1 = 0 ;
5079
5225
  int res1 = 0 ;
@@ -5104,7 +5250,7 @@ fail:
5104
5250
 
5105
5251
  SWIGINTERN VALUE
5106
5252
  _wrap_FXList_hitItem(int argc, VALUE *argv, VALUE self) {
5107
- FXList *arg1 = (FXList *) 0 ;
5253
+ FXList *arg1 = 0 ;
5108
5254
  FXint arg2 ;
5109
5255
  FXint arg3 ;
5110
5256
  FXint arg4 ;
@@ -5139,10 +5285,10 @@ fail:
5139
5285
 
5140
5286
  SWIGINTERN VALUE
5141
5287
  _wrap_FXList_findItem(int argc, VALUE *argv, VALUE self) {
5142
- FXList *arg1 = (FXList *) 0 ;
5288
+ FXList *arg1 = 0 ;
5143
5289
  FXString *arg2 = 0 ;
5144
- FXint arg3 = (FXint) -1 ;
5145
- FXuint arg4 = (FXuint) SEARCH_FORWARD|SEARCH_WRAP ;
5290
+ FXint arg3 = -1 ;
5291
+ FXuint arg4 = SEARCH_FORWARD|SEARCH_WRAP ;
5146
5292
  void *argp1 = 0 ;
5147
5293
  int res1 = 0 ;
5148
5294
  SwigValueWrapper< FXString > p2 ;
@@ -5174,10 +5320,10 @@ fail:
5174
5320
 
5175
5321
  SWIGINTERN VALUE
5176
5322
  _wrap_FXList_findItemByData(int argc, VALUE *argv, VALUE self) {
5177
- FXList *arg1 = (FXList *) 0 ;
5178
- void *arg2 = (void *) 0 ;
5179
- FXint arg3 = (FXint) -1 ;
5180
- FXuint arg4 = (FXuint) SEARCH_FORWARD|SEARCH_WRAP ;
5323
+ FXList *arg1 = 0 ;
5324
+ void *arg2 = 0 ;
5325
+ FXint arg3 = -1 ;
5326
+ FXuint arg4 = SEARCH_FORWARD|SEARCH_WRAP ;
5181
5327
  void *argp1 = 0 ;
5182
5328
  int res1 = 0 ;
5183
5329
  FXint result;
@@ -5208,8 +5354,8 @@ fail:
5208
5354
 
5209
5355
  SWIGINTERN VALUE
5210
5356
  _wrap_FXList_makeItemVisible__SWIG_0(int argc, VALUE *argv, VALUE self) {
5211
- FXList *arg1 = (FXList *) 0 ;
5212
- FXListItem *arg2 = (FXListItem *) 0 ;
5357
+ FXList *arg1 = 0 ;
5358
+ FXListItem *arg2 = 0 ;
5213
5359
  void *argp1 = 0 ;
5214
5360
  int res1 = 0 ;
5215
5361
  void *argp2 = 0 ;
@@ -5237,7 +5383,7 @@ fail:
5237
5383
 
5238
5384
  SWIGINTERN VALUE
5239
5385
  _wrap_FXList_setItemText(int argc, VALUE *argv, VALUE self) {
5240
- FXList *arg1 = (FXList *) 0 ;
5386
+ FXList *arg1 = 0 ;
5241
5387
  FXint arg2 ;
5242
5388
  FXString *arg3 = 0 ;
5243
5389
  void *argp1 = 0 ;
@@ -5268,7 +5414,7 @@ fail:
5268
5414
 
5269
5415
  SWIGINTERN VALUE
5270
5416
  _wrap_FXList_getItemText(int argc, VALUE *argv, VALUE self) {
5271
- FXList *arg1 = (FXList *) 0 ;
5417
+ FXList *arg1 = 0 ;
5272
5418
  FXint arg2 ;
5273
5419
  void *argp1 = 0 ;
5274
5420
  int res1 = 0 ;
@@ -5299,10 +5445,10 @@ fail:
5299
5445
 
5300
5446
  SWIGINTERN VALUE
5301
5447
  _wrap_FXList_setItemIcon(int argc, VALUE *argv, VALUE self) {
5302
- FXList *arg1 = (FXList *) 0 ;
5448
+ FXList *arg1 = 0 ;
5303
5449
  FXint arg2 ;
5304
- FXIcon *arg3 = (FXIcon *) 0 ;
5305
- FXbool arg4 = (FXbool) 0 ;
5450
+ FXIcon *arg3 = 0 ;
5451
+ FXbool arg4 = 0 ;
5306
5452
  void *argp1 = 0 ;
5307
5453
  int res1 = 0 ;
5308
5454
  void *argp3 = 0 ;
@@ -5339,7 +5485,7 @@ fail:
5339
5485
 
5340
5486
  SWIGINTERN VALUE
5341
5487
  _wrap_FXList_getItemIcon(int argc, VALUE *argv, VALUE self) {
5342
- FXList *arg1 = (FXList *) 0 ;
5488
+ FXList *arg1 = 0 ;
5343
5489
  FXint arg2 ;
5344
5490
  void *argp1 = 0 ;
5345
5491
  int res1 = 0 ;
@@ -5373,9 +5519,9 @@ fail:
5373
5519
 
5374
5520
  SWIGINTERN VALUE
5375
5521
  _wrap_FXList_setItemData(int argc, VALUE *argv, VALUE self) {
5376
- FXList *arg1 = (FXList *) 0 ;
5522
+ FXList *arg1 = 0 ;
5377
5523
  FXint arg2 ;
5378
- VALUE arg3 = (VALUE) 0 ;
5524
+ VALUE arg3 = 0 ;
5379
5525
  void *argp1 = 0 ;
5380
5526
  int res1 = 0 ;
5381
5527
 
@@ -5403,7 +5549,7 @@ fail:
5403
5549
 
5404
5550
  SWIGINTERN VALUE
5405
5551
  _wrap_FXList_getItemData(int argc, VALUE *argv, VALUE self) {
5406
- FXList *arg1 = (FXList *) 0 ;
5552
+ FXList *arg1 = 0 ;
5407
5553
  FXint arg2 ;
5408
5554
  void *argp1 = 0 ;
5409
5555
  int res1 = 0 ;
@@ -5434,7 +5580,7 @@ fail:
5434
5580
 
5435
5581
  SWIGINTERN VALUE
5436
5582
  _wrap_FXList_isItemSelected(int argc, VALUE *argv, VALUE self) {
5437
- FXList *arg1 = (FXList *) 0 ;
5583
+ FXList *arg1 = 0 ;
5438
5584
  FXint arg2 ;
5439
5585
  void *argp1 = 0 ;
5440
5586
  int res1 = 0 ;
@@ -5465,7 +5611,7 @@ fail:
5465
5611
 
5466
5612
  SWIGINTERN VALUE
5467
5613
  _wrap_FXList_isItemCurrent(int argc, VALUE *argv, VALUE self) {
5468
- FXList *arg1 = (FXList *) 0 ;
5614
+ FXList *arg1 = 0 ;
5469
5615
  FXint arg2 ;
5470
5616
  void *argp1 = 0 ;
5471
5617
  int res1 = 0 ;
@@ -5496,7 +5642,7 @@ fail:
5496
5642
 
5497
5643
  SWIGINTERN VALUE
5498
5644
  _wrap_FXList_isItemVisible(int argc, VALUE *argv, VALUE self) {
5499
- FXList *arg1 = (FXList *) 0 ;
5645
+ FXList *arg1 = 0 ;
5500
5646
  FXint arg2 ;
5501
5647
  void *argp1 = 0 ;
5502
5648
  int res1 = 0 ;
@@ -5527,7 +5673,7 @@ fail:
5527
5673
 
5528
5674
  SWIGINTERN VALUE
5529
5675
  _wrap_FXList_isItemEnabled(int argc, VALUE *argv, VALUE self) {
5530
- FXList *arg1 = (FXList *) 0 ;
5676
+ FXList *arg1 = 0 ;
5531
5677
  FXint arg2 ;
5532
5678
  void *argp1 = 0 ;
5533
5679
  int res1 = 0 ;
@@ -5558,7 +5704,7 @@ fail:
5558
5704
 
5559
5705
  SWIGINTERN VALUE
5560
5706
  _wrap_FXList_updateItem(int argc, VALUE *argv, VALUE self) {
5561
- FXList *arg1 = (FXList *) 0 ;
5707
+ FXList *arg1 = 0 ;
5562
5708
  FXint arg2 ;
5563
5709
  void *argp1 = 0 ;
5564
5710
  int res1 = 0 ;
@@ -5586,7 +5732,7 @@ fail:
5586
5732
 
5587
5733
  SWIGINTERN VALUE
5588
5734
  _wrap_FXList_getCurrentItem(int argc, VALUE *argv, VALUE self) {
5589
- FXList *arg1 = (FXList *) 0 ;
5735
+ FXList *arg1 = 0 ;
5590
5736
  void *argp1 = 0 ;
5591
5737
  int res1 = 0 ;
5592
5738
  FXint result;
@@ -5610,7 +5756,7 @@ fail:
5610
5756
 
5611
5757
  SWIGINTERN VALUE
5612
5758
  _wrap_FXList_setAnchorItem(int argc, VALUE *argv, VALUE self) {
5613
- FXList *arg1 = (FXList *) 0 ;
5759
+ FXList *arg1 = 0 ;
5614
5760
  FXint arg2 ;
5615
5761
  void *argp1 = 0 ;
5616
5762
  int res1 = 0 ;
@@ -5638,7 +5784,7 @@ fail:
5638
5784
 
5639
5785
  SWIGINTERN VALUE
5640
5786
  _wrap_FXList_getAnchorItem(int argc, VALUE *argv, VALUE self) {
5641
- FXList *arg1 = (FXList *) 0 ;
5787
+ FXList *arg1 = 0 ;
5642
5788
  void *argp1 = 0 ;
5643
5789
  int res1 = 0 ;
5644
5790
  FXint result;
@@ -5662,7 +5808,7 @@ fail:
5662
5808
 
5663
5809
  SWIGINTERN VALUE
5664
5810
  _wrap_FXList_getCursorItem(int argc, VALUE *argv, VALUE self) {
5665
- FXList *arg1 = (FXList *) 0 ;
5811
+ FXList *arg1 = 0 ;
5666
5812
  void *argp1 = 0 ;
5667
5813
  int res1 = 0 ;
5668
5814
  FXint result;
@@ -5686,7 +5832,7 @@ fail:
5686
5832
 
5687
5833
  SWIGINTERN VALUE
5688
5834
  _wrap_FXList_sortItems(int argc, VALUE *argv, VALUE self) {
5689
- FXList *arg1 = (FXList *) 0 ;
5835
+ FXList *arg1 = 0 ;
5690
5836
  void *argp1 = 0 ;
5691
5837
  int res1 = 0 ;
5692
5838
 
@@ -5707,8 +5853,8 @@ fail:
5707
5853
 
5708
5854
  SWIGINTERN VALUE
5709
5855
  _wrap_FXList_setFont(int argc, VALUE *argv, VALUE self) {
5710
- FXList *arg1 = (FXList *) 0 ;
5711
- FXFont *arg2 = (FXFont *) 0 ;
5856
+ FXList *arg1 = 0 ;
5857
+ FXFont *arg2 = 0 ;
5712
5858
  void *argp1 = 0 ;
5713
5859
  int res1 = 0 ;
5714
5860
  void *argp2 = 0 ;
@@ -5736,7 +5882,7 @@ fail:
5736
5882
 
5737
5883
  SWIGINTERN VALUE
5738
5884
  _wrap_FXList_getFont(int argc, VALUE *argv, VALUE self) {
5739
- FXList *arg1 = (FXList *) 0 ;
5885
+ FXList *arg1 = 0 ;
5740
5886
  void *argp1 = 0 ;
5741
5887
  int res1 = 0 ;
5742
5888
  FXFont *result = 0 ;
@@ -5763,7 +5909,7 @@ fail:
5763
5909
 
5764
5910
  SWIGINTERN VALUE
5765
5911
  _wrap_FXList_getTextColor(int argc, VALUE *argv, VALUE self) {
5766
- FXList *arg1 = (FXList *) 0 ;
5912
+ FXList *arg1 = 0 ;
5767
5913
  void *argp1 = 0 ;
5768
5914
  int res1 = 0 ;
5769
5915
  FXColor result;
@@ -5787,7 +5933,7 @@ fail:
5787
5933
 
5788
5934
  SWIGINTERN VALUE
5789
5935
  _wrap_FXList_setTextColor(int argc, VALUE *argv, VALUE self) {
5790
- FXList *arg1 = (FXList *) 0 ;
5936
+ FXList *arg1 = 0 ;
5791
5937
  FXColor arg2 ;
5792
5938
  void *argp1 = 0 ;
5793
5939
  int res1 = 0 ;
@@ -5810,7 +5956,7 @@ fail:
5810
5956
 
5811
5957
  SWIGINTERN VALUE
5812
5958
  _wrap_FXList_getSelBackColor(int argc, VALUE *argv, VALUE self) {
5813
- FXList *arg1 = (FXList *) 0 ;
5959
+ FXList *arg1 = 0 ;
5814
5960
  void *argp1 = 0 ;
5815
5961
  int res1 = 0 ;
5816
5962
  FXColor result;
@@ -5834,7 +5980,7 @@ fail:
5834
5980
 
5835
5981
  SWIGINTERN VALUE
5836
5982
  _wrap_FXList_setSelBackColor(int argc, VALUE *argv, VALUE self) {
5837
- FXList *arg1 = (FXList *) 0 ;
5983
+ FXList *arg1 = 0 ;
5838
5984
  FXColor arg2 ;
5839
5985
  void *argp1 = 0 ;
5840
5986
  int res1 = 0 ;
@@ -5857,7 +6003,7 @@ fail:
5857
6003
 
5858
6004
  SWIGINTERN VALUE
5859
6005
  _wrap_FXList_getSelTextColor(int argc, VALUE *argv, VALUE self) {
5860
- FXList *arg1 = (FXList *) 0 ;
6006
+ FXList *arg1 = 0 ;
5861
6007
  void *argp1 = 0 ;
5862
6008
  int res1 = 0 ;
5863
6009
  FXColor result;
@@ -5881,7 +6027,7 @@ fail:
5881
6027
 
5882
6028
  SWIGINTERN VALUE
5883
6029
  _wrap_FXList_setSelTextColor(int argc, VALUE *argv, VALUE self) {
5884
- FXList *arg1 = (FXList *) 0 ;
6030
+ FXList *arg1 = 0 ;
5885
6031
  FXColor arg2 ;
5886
6032
  void *argp1 = 0 ;
5887
6033
  int res1 = 0 ;
@@ -5904,7 +6050,7 @@ fail:
5904
6050
 
5905
6051
  SWIGINTERN VALUE
5906
6052
  _wrap_FXList_getListStyle(int argc, VALUE *argv, VALUE self) {
5907
- FXList *arg1 = (FXList *) 0 ;
6053
+ FXList *arg1 = 0 ;
5908
6054
  void *argp1 = 0 ;
5909
6055
  int res1 = 0 ;
5910
6056
  FXuint result;
@@ -5928,7 +6074,7 @@ fail:
5928
6074
 
5929
6075
  SWIGINTERN VALUE
5930
6076
  _wrap_FXList_setListStyle(int argc, VALUE *argv, VALUE self) {
5931
- FXList *arg1 = (FXList *) 0 ;
6077
+ FXList *arg1 = 0 ;
5932
6078
  FXuint arg2 ;
5933
6079
  void *argp1 = 0 ;
5934
6080
  int res1 = 0 ;
@@ -5951,7 +6097,7 @@ fail:
5951
6097
 
5952
6098
  SWIGINTERN VALUE
5953
6099
  _wrap_FXList_setHelpText(int argc, VALUE *argv, VALUE self) {
5954
- FXList *arg1 = (FXList *) 0 ;
6100
+ FXList *arg1 = 0 ;
5955
6101
  FXString *arg2 = 0 ;
5956
6102
  void *argp1 = 0 ;
5957
6103
  int res1 = 0 ;
@@ -5975,7 +6121,7 @@ fail:
5975
6121
 
5976
6122
  SWIGINTERN VALUE
5977
6123
  _wrap_FXList_getHelpText(int argc, VALUE *argv, VALUE self) {
5978
- FXList *arg1 = (FXList *) 0 ;
6124
+ FXList *arg1 = 0 ;
5979
6125
  void *argp1 = 0 ;
5980
6126
  int res1 = 0 ;
5981
6127
  FXString *result = 0 ;
@@ -5999,7 +6145,7 @@ fail:
5999
6145
 
6000
6146
  SWIGINTERN VALUE
6001
6147
  _wrap_FXList_save(int argc, VALUE *argv, VALUE self) {
6002
- FXList *arg1 = (FXList *) 0 ;
6148
+ FXList *arg1 = 0 ;
6003
6149
  FXStream *arg2 = 0 ;
6004
6150
  void *argp1 = 0 ;
6005
6151
  int res1 = 0 ;
@@ -6019,7 +6165,7 @@ _wrap_FXList_save(int argc, VALUE *argv, VALUE self) {
6019
6165
  SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] ));
6020
6166
  }
6021
6167
  if (!argp2) {
6022
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0]));
6168
+ SWIG_exception_fail(SWIG_NullReferenceError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0]));
6023
6169
  }
6024
6170
  arg2 = reinterpret_cast< FXStream * >(argp2);
6025
6171
  FXList_save((FXList const *)arg1,*arg2);
@@ -6031,7 +6177,7 @@ fail:
6031
6177
 
6032
6178
  SWIGINTERN VALUE
6033
6179
  _wrap_FXList_load(int argc, VALUE *argv, VALUE self) {
6034
- FXList *arg1 = (FXList *) 0 ;
6180
+ FXList *arg1 = 0 ;
6035
6181
  FXStream *arg2 = 0 ;
6036
6182
  void *argp1 = 0 ;
6037
6183
  int res1 = 0 ;
@@ -6051,7 +6197,7 @@ _wrap_FXList_load(int argc, VALUE *argv, VALUE self) {
6051
6197
  SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] ));
6052
6198
  }
6053
6199
  if (!argp2) {
6054
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0]));
6200
+ SWIG_exception_fail(SWIG_NullReferenceError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0]));
6055
6201
  }
6056
6202
  arg2 = reinterpret_cast< FXStream * >(argp2);
6057
6203
  FXList_load(arg1,*arg2);
@@ -6063,7 +6209,7 @@ fail:
6063
6209
 
6064
6210
  SWIGINTERN VALUE
6065
6211
  _wrap_FXList_create(int argc, VALUE *argv, VALUE self) {
6066
- FXList *arg1 = (FXList *) 0 ;
6212
+ FXList *arg1 = 0 ;
6067
6213
  void *argp1 = 0 ;
6068
6214
  int res1 = 0 ;
6069
6215
 
@@ -6084,7 +6230,7 @@ fail:
6084
6230
 
6085
6231
  SWIGINTERN VALUE
6086
6232
  _wrap_FXList_detach(int argc, VALUE *argv, VALUE self) {
6087
- FXList *arg1 = (FXList *) 0 ;
6233
+ FXList *arg1 = 0 ;
6088
6234
  void *argp1 = 0 ;
6089
6235
  int res1 = 0 ;
6090
6236
 
@@ -6105,7 +6251,7 @@ fail:
6105
6251
 
6106
6252
  SWIGINTERN VALUE
6107
6253
  _wrap_FXList_destroy(int argc, VALUE *argv, VALUE self) {
6108
- FXList *arg1 = (FXList *) 0 ;
6254
+ FXList *arg1 = 0 ;
6109
6255
  void *argp1 = 0 ;
6110
6256
  int res1 = 0 ;
6111
6257
 
@@ -6126,7 +6272,7 @@ fail:
6126
6272
 
6127
6273
  SWIGINTERN VALUE
6128
6274
  _wrap_FXList_resize(int argc, VALUE *argv, VALUE self) {
6129
- FXList *arg1 = (FXList *) 0 ;
6275
+ FXList *arg1 = 0 ;
6130
6276
  FXint arg2 ;
6131
6277
  FXint arg3 ;
6132
6278
  void *argp1 = 0 ;
@@ -6151,7 +6297,7 @@ fail:
6151
6297
 
6152
6298
  SWIGINTERN VALUE
6153
6299
  _wrap_FXList_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
6154
- FXList *arg1 = (FXList *) 0 ;
6300
+ FXList *arg1 = 0 ;
6155
6301
  void *argp1 = 0 ;
6156
6302
  int res1 = 0 ;
6157
6303
  FXint result;
@@ -6175,7 +6321,7 @@ fail:
6175
6321
 
6176
6322
  SWIGINTERN VALUE
6177
6323
  _wrap_FXList_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
6178
- FXList *arg1 = (FXList *) 0 ;
6324
+ FXList *arg1 = 0 ;
6179
6325
  void *argp1 = 0 ;
6180
6326
  int res1 = 0 ;
6181
6327
  FXint result;
@@ -6199,7 +6345,7 @@ fail:
6199
6345
 
6200
6346
  SWIGINTERN VALUE
6201
6347
  _wrap_FXList_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
6202
- FXList *arg1 = (FXList *) 0 ;
6348
+ FXList *arg1 = 0 ;
6203
6349
  FXint arg2 ;
6204
6350
  void *argp1 = 0 ;
6205
6351
  int res1 = 0 ;
@@ -6225,7 +6371,7 @@ fail:
6225
6371
 
6226
6372
  SWIGINTERN VALUE
6227
6373
  _wrap_FXList_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
6228
- FXList *arg1 = (FXList *) 0 ;
6374
+ FXList *arg1 = 0 ;
6229
6375
  FXint arg2 ;
6230
6376
  void *argp1 = 0 ;
6231
6377
  int res1 = 0 ;
@@ -6251,7 +6397,7 @@ fail:
6251
6397
 
6252
6398
  SWIGINTERN VALUE
6253
6399
  _wrap_FXList_canFocus(int argc, VALUE *argv, VALUE self) {
6254
- FXList *arg1 = (FXList *) 0 ;
6400
+ FXList *arg1 = 0 ;
6255
6401
  void *argp1 = 0 ;
6256
6402
  int res1 = 0 ;
6257
6403
  bool result;
@@ -6275,7 +6421,7 @@ fail:
6275
6421
 
6276
6422
  SWIGINTERN VALUE
6277
6423
  _wrap_FXList_setFocus(int argc, VALUE *argv, VALUE self) {
6278
- FXList *arg1 = (FXList *) 0 ;
6424
+ FXList *arg1 = 0 ;
6279
6425
  void *argp1 = 0 ;
6280
6426
  int res1 = 0 ;
6281
6427
 
@@ -6296,7 +6442,7 @@ fail:
6296
6442
 
6297
6443
  SWIGINTERN VALUE
6298
6444
  _wrap_FXList_killFocus(int argc, VALUE *argv, VALUE self) {
6299
- FXList *arg1 = (FXList *) 0 ;
6445
+ FXList *arg1 = 0 ;
6300
6446
  void *argp1 = 0 ;
6301
6447
  int res1 = 0 ;
6302
6448
 
@@ -6317,8 +6463,8 @@ fail:
6317
6463
 
6318
6464
  SWIGINTERN VALUE
6319
6465
  _wrap_FXList_changeFocus(int argc, VALUE *argv, VALUE self) {
6320
- FXList *arg1 = (FXList *) 0 ;
6321
- FXWindow *arg2 = (FXWindow *) 0 ;
6466
+ FXList *arg1 = 0 ;
6467
+ FXWindow *arg2 = 0 ;
6322
6468
  void *argp1 = 0 ;
6323
6469
  int res1 = 0 ;
6324
6470
  void *argp2 = 0 ;
@@ -6346,8 +6492,8 @@ fail:
6346
6492
 
6347
6493
  SWIGINTERN VALUE
6348
6494
  _wrap_FXList_setDefault(int argc, VALUE *argv, VALUE self) {
6349
- FXList *arg1 = (FXList *) 0 ;
6350
- FXbool arg2 = (FXbool) 1 ;
6495
+ FXList *arg1 = 0 ;
6496
+ FXbool arg2 = 1 ;
6351
6497
  void *argp1 = 0 ;
6352
6498
  int res1 = 0 ;
6353
6499
 
@@ -6371,7 +6517,7 @@ fail:
6371
6517
 
6372
6518
  SWIGINTERN VALUE
6373
6519
  _wrap_FXList_enable(int argc, VALUE *argv, VALUE self) {
6374
- FXList *arg1 = (FXList *) 0 ;
6520
+ FXList *arg1 = 0 ;
6375
6521
  void *argp1 = 0 ;
6376
6522
  int res1 = 0 ;
6377
6523
 
@@ -6392,7 +6538,7 @@ fail:
6392
6538
 
6393
6539
  SWIGINTERN VALUE
6394
6540
  _wrap_FXList_disable(int argc, VALUE *argv, VALUE self) {
6395
- FXList *arg1 = (FXList *) 0 ;
6541
+ FXList *arg1 = 0 ;
6396
6542
  void *argp1 = 0 ;
6397
6543
  int res1 = 0 ;
6398
6544
 
@@ -6413,7 +6559,7 @@ fail:
6413
6559
 
6414
6560
  SWIGINTERN VALUE
6415
6561
  _wrap_FXList_raiseWindow(int argc, VALUE *argv, VALUE self) {
6416
- FXList *arg1 = (FXList *) 0 ;
6562
+ FXList *arg1 = 0 ;
6417
6563
  void *argp1 = 0 ;
6418
6564
  int res1 = 0 ;
6419
6565
 
@@ -6434,7 +6580,7 @@ fail:
6434
6580
 
6435
6581
  SWIGINTERN VALUE
6436
6582
  _wrap_FXList_lower(int argc, VALUE *argv, VALUE self) {
6437
- FXList *arg1 = (FXList *) 0 ;
6583
+ FXList *arg1 = 0 ;
6438
6584
  void *argp1 = 0 ;
6439
6585
  int res1 = 0 ;
6440
6586
 
@@ -6455,7 +6601,7 @@ fail:
6455
6601
 
6456
6602
  SWIGINTERN VALUE
6457
6603
  _wrap_FXList_move(int argc, VALUE *argv, VALUE self) {
6458
- FXList *arg1 = (FXList *) 0 ;
6604
+ FXList *arg1 = 0 ;
6459
6605
  FXint arg2 ;
6460
6606
  FXint arg3 ;
6461
6607
  void *argp1 = 0 ;
@@ -6480,7 +6626,7 @@ fail:
6480
6626
 
6481
6627
  SWIGINTERN VALUE
6482
6628
  _wrap_FXList_position__SWIG_0(int argc, VALUE *argv, VALUE self) {
6483
- FXList *arg1 = (FXList *) 0 ;
6629
+ FXList *arg1 = 0 ;
6484
6630
  FXint arg2 ;
6485
6631
  FXint arg3 ;
6486
6632
  FXint arg4 ;
@@ -6509,7 +6655,7 @@ fail:
6509
6655
 
6510
6656
  SWIGINTERN VALUE
6511
6657
  _wrap_FXList_layout(int argc, VALUE *argv, VALUE self) {
6512
- FXList *arg1 = (FXList *) 0 ;
6658
+ FXList *arg1 = 0 ;
6513
6659
  void *argp1 = 0 ;
6514
6660
  int res1 = 0 ;
6515
6661
 
@@ -6530,7 +6676,7 @@ fail:
6530
6676
 
6531
6677
  SWIGINTERN VALUE
6532
6678
  _wrap_FXList_recalc(int argc, VALUE *argv, VALUE self) {
6533
- FXList *arg1 = (FXList *) 0 ;
6679
+ FXList *arg1 = 0 ;
6534
6680
  void *argp1 = 0 ;
6535
6681
  int res1 = 0 ;
6536
6682
 
@@ -6551,9 +6697,9 @@ fail:
6551
6697
 
6552
6698
  SWIGINTERN VALUE
6553
6699
  _wrap_FXList_reparent(int argc, VALUE *argv, VALUE self) {
6554
- FXList *arg1 = (FXList *) 0 ;
6555
- FXWindow *arg2 = (FXWindow *) 0 ;
6556
- FXWindow *arg3 = (FXWindow *) 0 ;
6700
+ FXList *arg1 = 0 ;
6701
+ FXWindow *arg2 = 0 ;
6702
+ FXWindow *arg3 = 0 ;
6557
6703
  void *argp1 = 0 ;
6558
6704
  int res1 = 0 ;
6559
6705
  void *argp2 = 0 ;
@@ -6588,7 +6734,7 @@ fail:
6588
6734
 
6589
6735
  SWIGINTERN VALUE
6590
6736
  _wrap_FXList_show(int argc, VALUE *argv, VALUE self) {
6591
- FXList *arg1 = (FXList *) 0 ;
6737
+ FXList *arg1 = 0 ;
6592
6738
  void *argp1 = 0 ;
6593
6739
  int res1 = 0 ;
6594
6740
 
@@ -6609,7 +6755,7 @@ fail:
6609
6755
 
6610
6756
  SWIGINTERN VALUE
6611
6757
  _wrap_FXList_hide(int argc, VALUE *argv, VALUE self) {
6612
- FXList *arg1 = (FXList *) 0 ;
6758
+ FXList *arg1 = 0 ;
6613
6759
  void *argp1 = 0 ;
6614
6760
  int res1 = 0 ;
6615
6761
 
@@ -6630,7 +6776,7 @@ fail:
6630
6776
 
6631
6777
  SWIGINTERN VALUE
6632
6778
  _wrap_FXList_isComposite(int argc, VALUE *argv, VALUE self) {
6633
- FXList *arg1 = (FXList *) 0 ;
6779
+ FXList *arg1 = 0 ;
6634
6780
  void *argp1 = 0 ;
6635
6781
  int res1 = 0 ;
6636
6782
  bool result;
@@ -6654,7 +6800,7 @@ fail:
6654
6800
 
6655
6801
  SWIGINTERN VALUE
6656
6802
  _wrap_FXList_contains(int argc, VALUE *argv, VALUE self) {
6657
- FXList *arg1 = (FXList *) 0 ;
6803
+ FXList *arg1 = 0 ;
6658
6804
  FXint arg2 ;
6659
6805
  FXint arg3 ;
6660
6806
  void *argp1 = 0 ;
@@ -6682,7 +6828,7 @@ fail:
6682
6828
 
6683
6829
  SWIGINTERN VALUE
6684
6830
  _wrap_FXList_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
6685
- FXList *arg1 = (FXList *) 0 ;
6831
+ FXList *arg1 = 0 ;
6686
6832
  void *argp1 = 0 ;
6687
6833
  int res1 = 0 ;
6688
6834
  bool result;
@@ -6706,7 +6852,7 @@ fail:
6706
6852
 
6707
6853
  SWIGINTERN VALUE
6708
6854
  _wrap_FXList_setBackColor(int argc, VALUE *argv, VALUE self) {
6709
- FXList *arg1 = (FXList *) 0 ;
6855
+ FXList *arg1 = 0 ;
6710
6856
  FXColor arg2 ;
6711
6857
  void *argp1 = 0 ;
6712
6858
  int res1 = 0 ;
@@ -6729,9 +6875,9 @@ fail:
6729
6875
 
6730
6876
  SWIGINTERN VALUE
6731
6877
  _wrap_FXList_tr(int argc, VALUE *argv, VALUE self) {
6732
- FXList *arg1 = (FXList *) 0 ;
6733
- FXchar *arg2 = (FXchar *) 0 ;
6734
- FXchar *arg3 = (FXchar *) 0 ;
6878
+ FXList *arg1 = 0 ;
6879
+ FXchar *arg2 = 0 ;
6880
+ FXchar *arg3 = 0 ;
6735
6881
  void *argp1 = 0 ;
6736
6882
  int res1 = 0 ;
6737
6883
  FXchar *result = 0 ;
@@ -6759,7 +6905,7 @@ fail:
6759
6905
 
6760
6906
  SWIGINTERN VALUE
6761
6907
  _wrap_FXList_dropEnable(int argc, VALUE *argv, VALUE self) {
6762
- FXList *arg1 = (FXList *) 0 ;
6908
+ FXList *arg1 = 0 ;
6763
6909
  void *argp1 = 0 ;
6764
6910
  int res1 = 0 ;
6765
6911
 
@@ -6780,7 +6926,7 @@ fail:
6780
6926
 
6781
6927
  SWIGINTERN VALUE
6782
6928
  _wrap_FXList_dropDisable(int argc, VALUE *argv, VALUE self) {
6783
- FXList *arg1 = (FXList *) 0 ;
6929
+ FXList *arg1 = 0 ;
6784
6930
  void *argp1 = 0 ;
6785
6931
  int res1 = 0 ;
6786
6932
 
@@ -6801,7 +6947,7 @@ fail:
6801
6947
 
6802
6948
  SWIGINTERN VALUE
6803
6949
  _wrap_FXList_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
6804
- FXList *arg1 = (FXList *) 0 ;
6950
+ FXList *arg1 = 0 ;
6805
6951
  FXRegion *arg2 = 0 ;
6806
6952
  void *argp1 = 0 ;
6807
6953
  int res1 = 0 ;
@@ -6821,7 +6967,7 @@ _wrap_FXList_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
6821
6967
  SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] ));
6822
6968
  }
6823
6969
  if (!argp2) {
6824
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0]));
6970
+ SWIG_exception_fail(SWIG_NullReferenceError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0]));
6825
6971
  }
6826
6972
  arg2 = reinterpret_cast< FXRegion * >(argp2);
6827
6973
  FXList_setShape(arg1,(FXRegion const &)*arg2);
@@ -6833,8 +6979,8 @@ fail:
6833
6979
 
6834
6980
  SWIGINTERN VALUE
6835
6981
  _wrap_FXList_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
6836
- FXList *arg1 = (FXList *) 0 ;
6837
- FXBitmap *arg2 = (FXBitmap *) 0 ;
6982
+ FXList *arg1 = 0 ;
6983
+ FXBitmap *arg2 = 0 ;
6838
6984
  void *argp1 = 0 ;
6839
6985
  int res1 = 0 ;
6840
6986
  void *argp2 = 0 ;
@@ -6862,8 +7008,8 @@ fail:
6862
7008
 
6863
7009
  SWIGINTERN VALUE
6864
7010
  _wrap_FXList_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
6865
- FXList *arg1 = (FXList *) 0 ;
6866
- FXIcon *arg2 = (FXIcon *) 0 ;
7011
+ FXList *arg1 = 0 ;
7012
+ FXIcon *arg2 = 0 ;
6867
7013
  void *argp1 = 0 ;
6868
7014
  int res1 = 0 ;
6869
7015
  void *argp2 = 0 ;
@@ -6955,7 +7101,7 @@ fail:
6955
7101
 
6956
7102
  SWIGINTERN VALUE
6957
7103
  _wrap_FXList_clearShape(int argc, VALUE *argv, VALUE self) {
6958
- FXList *arg1 = (FXList *) 0 ;
7104
+ FXList *arg1 = 0 ;
6959
7105
  void *argp1 = 0 ;
6960
7106
  int res1 = 0 ;
6961
7107
 
@@ -6976,7 +7122,7 @@ fail:
6976
7122
 
6977
7123
  SWIGINTERN VALUE
6978
7124
  _wrap_FXList_getViewportHeight(int argc, VALUE *argv, VALUE self) {
6979
- FXList *arg1 = (FXList *) 0 ;
7125
+ FXList *arg1 = 0 ;
6980
7126
  void *argp1 = 0 ;
6981
7127
  int res1 = 0 ;
6982
7128
  FXint result;
@@ -7000,7 +7146,7 @@ fail:
7000
7146
 
7001
7147
  SWIGINTERN VALUE
7002
7148
  _wrap_FXList_getViewportWidth(int argc, VALUE *argv, VALUE self) {
7003
- FXList *arg1 = (FXList *) 0 ;
7149
+ FXList *arg1 = 0 ;
7004
7150
  void *argp1 = 0 ;
7005
7151
  int res1 = 0 ;
7006
7152
  FXint result;
@@ -7024,7 +7170,7 @@ fail:
7024
7170
 
7025
7171
  SWIGINTERN VALUE
7026
7172
  _wrap_FXList_getContentHeight(int argc, VALUE *argv, VALUE self) {
7027
- FXList *arg1 = (FXList *) 0 ;
7173
+ FXList *arg1 = 0 ;
7028
7174
  void *argp1 = 0 ;
7029
7175
  int res1 = 0 ;
7030
7176
  FXint result;
@@ -7048,7 +7194,7 @@ fail:
7048
7194
 
7049
7195
  SWIGINTERN VALUE
7050
7196
  _wrap_FXList_getContentWidth(int argc, VALUE *argv, VALUE self) {
7051
- FXList *arg1 = (FXList *) 0 ;
7197
+ FXList *arg1 = 0 ;
7052
7198
  void *argp1 = 0 ;
7053
7199
  int res1 = 0 ;
7054
7200
  FXint result;
@@ -7072,7 +7218,7 @@ fail:
7072
7218
 
7073
7219
  SWIGINTERN VALUE
7074
7220
  _wrap_FXList_position__SWIG_1(int argc, VALUE *argv, VALUE self) {
7075
- FXList *arg1 = (FXList *) 0 ;
7221
+ FXList *arg1 = 0 ;
7076
7222
  void *argp1 = 0 ;
7077
7223
  int res1 = 0 ;
7078
7224
  VALUE result;
@@ -7155,7 +7301,7 @@ fail:
7155
7301
 
7156
7302
  SWIGINTERN VALUE
7157
7303
  _wrap_FXList_enableItem(int argc, VALUE *argv, VALUE self) {
7158
- FXList *arg1 = (FXList *) 0 ;
7304
+ FXList *arg1 = 0 ;
7159
7305
  FXint arg2 ;
7160
7306
  void *argp1 = 0 ;
7161
7307
  int res1 = 0 ;
@@ -7186,7 +7332,7 @@ fail:
7186
7332
 
7187
7333
  SWIGINTERN VALUE
7188
7334
  _wrap_FXList_disableItem(int argc, VALUE *argv, VALUE self) {
7189
- FXList *arg1 = (FXList *) 0 ;
7335
+ FXList *arg1 = 0 ;
7190
7336
  FXint arg2 ;
7191
7337
  void *argp1 = 0 ;
7192
7338
  int res1 = 0 ;
@@ -7217,7 +7363,7 @@ fail:
7217
7363
 
7218
7364
  SWIGINTERN VALUE
7219
7365
  _wrap_FXList_makeItemVisible__SWIG_1(int argc, VALUE *argv, VALUE self) {
7220
- FXList *arg1 = (FXList *) 0 ;
7366
+ FXList *arg1 = 0 ;
7221
7367
  FXint arg2 ;
7222
7368
  void *argp1 = 0 ;
7223
7369
  int res1 = 0 ;
@@ -7294,7 +7440,7 @@ fail:
7294
7440
 
7295
7441
  SWIGINTERN VALUE
7296
7442
  _wrap_FXList_getItemAt(int argc, VALUE *argv, VALUE self) {
7297
- FXList *arg1 = (FXList *) 0 ;
7443
+ FXList *arg1 = 0 ;
7298
7444
  FXint arg2 ;
7299
7445
  FXint arg3 ;
7300
7446
  void *argp1 = 0 ;
@@ -7322,9 +7468,9 @@ fail:
7322
7468
 
7323
7469
  SWIGINTERN VALUE
7324
7470
  _wrap_FXList_selectItem(int argc, VALUE *argv, VALUE self) {
7325
- FXList *arg1 = (FXList *) 0 ;
7471
+ FXList *arg1 = 0 ;
7326
7472
  FXint arg2 ;
7327
- FXbool arg3 = (FXbool) 0 ;
7473
+ FXbool arg3 = 0 ;
7328
7474
  void *argp1 = 0 ;
7329
7475
  int res1 = 0 ;
7330
7476
  FXbool result;
@@ -7357,9 +7503,9 @@ fail:
7357
7503
 
7358
7504
  SWIGINTERN VALUE
7359
7505
  _wrap_FXList_deselectItem(int argc, VALUE *argv, VALUE self) {
7360
- FXList *arg1 = (FXList *) 0 ;
7506
+ FXList *arg1 = 0 ;
7361
7507
  FXint arg2 ;
7362
- FXbool arg3 = (FXbool) 0 ;
7508
+ FXbool arg3 = 0 ;
7363
7509
  void *argp1 = 0 ;
7364
7510
  int res1 = 0 ;
7365
7511
  FXbool result;
@@ -7392,9 +7538,9 @@ fail:
7392
7538
 
7393
7539
  SWIGINTERN VALUE
7394
7540
  _wrap_FXList_toggleItem(int argc, VALUE *argv, VALUE self) {
7395
- FXList *arg1 = (FXList *) 0 ;
7541
+ FXList *arg1 = 0 ;
7396
7542
  FXint arg2 ;
7397
- FXbool arg3 = (FXbool) 0 ;
7543
+ FXbool arg3 = 0 ;
7398
7544
  void *argp1 = 0 ;
7399
7545
  int res1 = 0 ;
7400
7546
  FXbool result;
@@ -7427,9 +7573,9 @@ fail:
7427
7573
 
7428
7574
  SWIGINTERN VALUE
7429
7575
  _wrap_FXList_extendSelection(int argc, VALUE *argv, VALUE self) {
7430
- FXList *arg1 = (FXList *) 0 ;
7576
+ FXList *arg1 = 0 ;
7431
7577
  FXint arg2 ;
7432
- FXbool arg3 = (FXbool) 0 ;
7578
+ FXbool arg3 = 0 ;
7433
7579
  void *argp1 = 0 ;
7434
7580
  int res1 = 0 ;
7435
7581
  FXbool result;
@@ -7462,8 +7608,8 @@ fail:
7462
7608
 
7463
7609
  SWIGINTERN VALUE
7464
7610
  _wrap_FXList_killSelection(int argc, VALUE *argv, VALUE self) {
7465
- FXList *arg1 = (FXList *) 0 ;
7466
- FXbool arg2 = (FXbool) 0 ;
7611
+ FXList *arg1 = 0 ;
7612
+ FXbool arg2 = 0 ;
7467
7613
  void *argp1 = 0 ;
7468
7614
  int res1 = 0 ;
7469
7615
  FXbool result;
@@ -7490,9 +7636,9 @@ fail:
7490
7636
 
7491
7637
  SWIGINTERN VALUE
7492
7638
  _wrap_FXList_setCurrentItem(int argc, VALUE *argv, VALUE self) {
7493
- FXList *arg1 = (FXList *) 0 ;
7639
+ FXList *arg1 = 0 ;
7494
7640
  FXint arg2 ;
7495
- FXbool arg3 = (FXbool) 0 ;
7641
+ FXbool arg3 = 0 ;
7496
7642
  void *argp1 = 0 ;
7497
7643
  int res1 = 0 ;
7498
7644
 
@@ -7541,7 +7687,7 @@ SWIGINTERN VALUE
7541
7687
  _wrap_new_FXColorItem(int argc, VALUE *argv, VALUE self) {
7542
7688
  FXString *arg1 = 0 ;
7543
7689
  FXColor arg2 ;
7544
- void *arg3 = (void *) 0 ;
7690
+ void *arg3 = 0 ;
7545
7691
  SwigValueWrapper< FXString > p1 ;
7546
7692
  FXColorItem *result = 0 ;
7547
7693
 
@@ -7555,7 +7701,7 @@ _wrap_new_FXColorItem(int argc, VALUE *argv, VALUE self) {
7555
7701
  }
7556
7702
  {
7557
7703
  result = (FXColorItem *)new_FXColorItem((FXString const &)*arg1,arg2,arg3);
7558
- DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
7704
+ ((struct ruby_wrapped_object *)RTYPEDDATA_GET_DATA(self))->data = result; FXRbRegisterRubyObj(self, result);
7559
7705
  if(rb_block_given_p()){
7560
7706
  rb_yield(self);
7561
7707
  }
@@ -7568,7 +7714,7 @@ fail:
7568
7714
 
7569
7715
  SWIGINTERN VALUE
7570
7716
  _wrap_FXColorItem_colore___(int argc, VALUE *argv, VALUE self) {
7571
- FXColorItem *arg1 = (FXColorItem *) 0 ;
7717
+ FXColorItem *arg1 = 0 ;
7572
7718
  FXColor arg2 ;
7573
7719
  void *argp1 = 0 ;
7574
7720
  int res1 = 0 ;
@@ -7591,7 +7737,7 @@ fail:
7591
7737
 
7592
7738
  SWIGINTERN VALUE
7593
7739
  _wrap_FXColorItem_color(int argc, VALUE *argv, VALUE self) {
7594
- FXColorItem *arg1 = (FXColorItem *) 0 ;
7740
+ FXColorItem *arg1 = 0 ;
7595
7741
  void *argp1 = 0 ;
7596
7742
  int res1 = 0 ;
7597
7743
  FXColor result;
@@ -7615,7 +7761,7 @@ fail:
7615
7761
 
7616
7762
  SWIGINTERN VALUE
7617
7763
  _wrap_FXColorItem_save(int argc, VALUE *argv, VALUE self) {
7618
- FXColorItem *arg1 = (FXColorItem *) 0 ;
7764
+ FXColorItem *arg1 = 0 ;
7619
7765
  FXStream *arg2 = 0 ;
7620
7766
  void *argp1 = 0 ;
7621
7767
  int res1 = 0 ;
@@ -7635,7 +7781,7 @@ _wrap_FXColorItem_save(int argc, VALUE *argv, VALUE self) {
7635
7781
  SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] ));
7636
7782
  }
7637
7783
  if (!argp2) {
7638
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0]));
7784
+ SWIG_exception_fail(SWIG_NullReferenceError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0]));
7639
7785
  }
7640
7786
  arg2 = reinterpret_cast< FXStream * >(argp2);
7641
7787
  FXColorItem_save((FXColorItem const *)arg1,*arg2);
@@ -7647,7 +7793,7 @@ fail:
7647
7793
 
7648
7794
  SWIGINTERN VALUE
7649
7795
  _wrap_FXColorItem_load(int argc, VALUE *argv, VALUE self) {
7650
- FXColorItem *arg1 = (FXColorItem *) 0 ;
7796
+ FXColorItem *arg1 = 0 ;
7651
7797
  FXStream *arg2 = 0 ;
7652
7798
  void *argp1 = 0 ;
7653
7799
  int res1 = 0 ;
@@ -7667,7 +7813,7 @@ _wrap_FXColorItem_load(int argc, VALUE *argv, VALUE self) {
7667
7813
  SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] ));
7668
7814
  }
7669
7815
  if (!argp2) {
7670
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0]));
7816
+ SWIG_exception_fail(SWIG_NullReferenceError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0]));
7671
7817
  }
7672
7818
  arg2 = reinterpret_cast< FXStream * >(argp2);
7673
7819
  FXColorItem_load(arg1,*arg2);
@@ -7679,7 +7825,7 @@ fail:
7679
7825
 
7680
7826
  SWIGINTERN VALUE
7681
7827
  _wrap_FXColorItem_setText(int argc, VALUE *argv, VALUE self) {
7682
- FXColorItem *arg1 = (FXColorItem *) 0 ;
7828
+ FXColorItem *arg1 = 0 ;
7683
7829
  FXString *arg2 = 0 ;
7684
7830
  void *argp1 = 0 ;
7685
7831
  int res1 = 0 ;
@@ -7703,9 +7849,9 @@ fail:
7703
7849
 
7704
7850
  SWIGINTERN VALUE
7705
7851
  _wrap_FXColorItem_setIcon(int argc, VALUE *argv, VALUE self) {
7706
- FXColorItem *arg1 = (FXColorItem *) 0 ;
7707
- FXIcon *arg2 = (FXIcon *) 0 ;
7708
- FXbool arg3 = (FXbool) 0 ;
7852
+ FXColorItem *arg1 = 0 ;
7853
+ FXIcon *arg2 = 0 ;
7854
+ FXbool arg3 = 0 ;
7709
7855
  void *argp1 = 0 ;
7710
7856
  int res1 = 0 ;
7711
7857
  void *argp2 = 0 ;
@@ -7736,7 +7882,7 @@ fail:
7736
7882
 
7737
7883
  SWIGINTERN VALUE
7738
7884
  _wrap_FXColorItem_setFocus(int argc, VALUE *argv, VALUE self) {
7739
- FXColorItem *arg1 = (FXColorItem *) 0 ;
7885
+ FXColorItem *arg1 = 0 ;
7740
7886
  FXbool arg2 ;
7741
7887
  void *argp1 = 0 ;
7742
7888
  int res1 = 0 ;
@@ -7759,7 +7905,7 @@ fail:
7759
7905
 
7760
7906
  SWIGINTERN VALUE
7761
7907
  _wrap_FXColorItem_setSelected(int argc, VALUE *argv, VALUE self) {
7762
- FXColorItem *arg1 = (FXColorItem *) 0 ;
7908
+ FXColorItem *arg1 = 0 ;
7763
7909
  FXbool arg2 ;
7764
7910
  void *argp1 = 0 ;
7765
7911
  int res1 = 0 ;
@@ -7782,7 +7928,7 @@ fail:
7782
7928
 
7783
7929
  SWIGINTERN VALUE
7784
7930
  _wrap_FXColorItem_setEnabled(int argc, VALUE *argv, VALUE self) {
7785
- FXColorItem *arg1 = (FXColorItem *) 0 ;
7931
+ FXColorItem *arg1 = 0 ;
7786
7932
  FXbool arg2 ;
7787
7933
  void *argp1 = 0 ;
7788
7934
  int res1 = 0 ;
@@ -7805,7 +7951,7 @@ fail:
7805
7951
 
7806
7952
  SWIGINTERN VALUE
7807
7953
  _wrap_FXColorItem_setDraggable(int argc, VALUE *argv, VALUE self) {
7808
- FXColorItem *arg1 = (FXColorItem *) 0 ;
7954
+ FXColorItem *arg1 = 0 ;
7809
7955
  FXbool arg2 ;
7810
7956
  void *argp1 = 0 ;
7811
7957
  int res1 = 0 ;
@@ -7828,8 +7974,8 @@ fail:
7828
7974
 
7829
7975
  SWIGINTERN VALUE
7830
7976
  _wrap_FXColorItem_getWidth(int argc, VALUE *argv, VALUE self) {
7831
- FXColorItem *arg1 = (FXColorItem *) 0 ;
7832
- FXList *arg2 = (FXList *) 0 ;
7977
+ FXColorItem *arg1 = 0 ;
7978
+ FXList *arg2 = 0 ;
7833
7979
  void *argp1 = 0 ;
7834
7980
  int res1 = 0 ;
7835
7981
  void *argp2 = 0 ;
@@ -7860,8 +8006,8 @@ fail:
7860
8006
 
7861
8007
  SWIGINTERN VALUE
7862
8008
  _wrap_FXColorItem_getHeight(int argc, VALUE *argv, VALUE self) {
7863
- FXColorItem *arg1 = (FXColorItem *) 0 ;
7864
- FXList *arg2 = (FXList *) 0 ;
8009
+ FXColorItem *arg1 = 0 ;
8010
+ FXList *arg2 = 0 ;
7865
8011
  void *argp1 = 0 ;
7866
8012
  int res1 = 0 ;
7867
8013
  void *argp2 = 0 ;
@@ -7892,7 +8038,7 @@ fail:
7892
8038
 
7893
8039
  SWIGINTERN VALUE
7894
8040
  _wrap_FXColorItem_create(int argc, VALUE *argv, VALUE self) {
7895
- FXColorItem *arg1 = (FXColorItem *) 0 ;
8041
+ FXColorItem *arg1 = 0 ;
7896
8042
  void *argp1 = 0 ;
7897
8043
  int res1 = 0 ;
7898
8044
 
@@ -7913,7 +8059,7 @@ fail:
7913
8059
 
7914
8060
  SWIGINTERN VALUE
7915
8061
  _wrap_FXColorItem_detach(int argc, VALUE *argv, VALUE self) {
7916
- FXColorItem *arg1 = (FXColorItem *) 0 ;
8062
+ FXColorItem *arg1 = 0 ;
7917
8063
  void *argp1 = 0 ;
7918
8064
  int res1 = 0 ;
7919
8065
 
@@ -7934,7 +8080,7 @@ fail:
7934
8080
 
7935
8081
  SWIGINTERN VALUE
7936
8082
  _wrap_FXColorItem_destroy(int argc, VALUE *argv, VALUE self) {
7937
- FXColorItem *arg1 = (FXColorItem *) 0 ;
8083
+ FXColorItem *arg1 = 0 ;
7938
8084
  void *argp1 = 0 ;
7939
8085
  int res1 = 0 ;
7940
8086
 
@@ -7972,14 +8118,14 @@ _wrap_FXColorList_allocate(int argc, VALUE *argv, VALUE self)
7972
8118
 
7973
8119
  SWIGINTERN VALUE
7974
8120
  _wrap_new_FXColorList(int argc, VALUE *argv, VALUE self) {
7975
- FXComposite *arg1 = (FXComposite *) 0 ;
7976
- FXObject *arg2 = (FXObject *) 0 ;
7977
- FXSelector arg3 = (FXSelector) 0 ;
7978
- FXuint arg4 = (FXuint) LIST_BROWSESELECT ;
7979
- FXint arg5 = (FXint) 0 ;
7980
- FXint arg6 = (FXint) 0 ;
7981
- FXint arg7 = (FXint) 0 ;
7982
- FXint arg8 = (FXint) 0 ;
8121
+ FXComposite *arg1 = 0 ;
8122
+ FXObject *arg2 = 0 ;
8123
+ FXSelector arg3 = 0 ;
8124
+ FXuint arg4 = LIST_BROWSESELECT ;
8125
+ FXint arg5 = 0 ;
8126
+ FXint arg6 = 0 ;
8127
+ FXint arg7 = 0 ;
8128
+ FXint arg8 = 0 ;
7983
8129
  void *argp1 = 0 ;
7984
8130
  int res1 = 0 ;
7985
8131
  void *argp2 = 0 ;
@@ -8021,12 +8167,12 @@ _wrap_new_FXColorList(int argc, VALUE *argv, VALUE self) {
8021
8167
  }
8022
8168
  {
8023
8169
  if (!arg1) {
8024
- SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
8170
+ SWIG_exception(SWIG_NullReferenceError,"Received a NULL pointer.");
8025
8171
  }
8026
8172
  }
8027
8173
  {
8028
8174
  result = (FXColorList *)new_FXColorList(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
8029
- DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
8175
+ ((struct ruby_wrapped_object *)RTYPEDDATA_GET_DATA(self))->data = result; FXRbRegisterRubyObj(self, result);
8030
8176
  if(rb_block_given_p()){
8031
8177
  rb_yield(self);
8032
8178
  }
@@ -8039,11 +8185,11 @@ fail:
8039
8185
 
8040
8186
  SWIGINTERN VALUE
8041
8187
  _wrap_FXColorList_fillItems(int argc, VALUE *argv, VALUE self) {
8042
- FXColorList *arg1 = (FXColorList *) 0 ;
8043
- FXchar **arg2 = (FXchar **) 0 ;
8044
- FXColor *arg3 = (FXColor *) 0 ;
8045
- void *arg4 = (void *) 0 ;
8046
- FXbool arg5 = (FXbool) 0 ;
8188
+ FXColorList *arg1 = 0 ;
8189
+ FXchar **arg2 = 0 ;
8190
+ FXColor *arg3 = 0 ;
8191
+ void *arg4 = 0 ;
8192
+ FXbool arg5 = 0 ;
8047
8193
  void *argp1 = 0 ;
8048
8194
  int res1 = 0 ;
8049
8195
  FXint result;
@@ -8104,12 +8250,12 @@ fail:
8104
8250
 
8105
8251
  SWIGINTERN VALUE
8106
8252
  _wrap_FXColorList_insertItem(int argc, VALUE *argv, VALUE self) {
8107
- FXColorList *arg1 = (FXColorList *) 0 ;
8253
+ FXColorList *arg1 = 0 ;
8108
8254
  FXint arg2 ;
8109
8255
  FXString *arg3 = 0 ;
8110
- FXColor arg4 = (FXColor) 0 ;
8111
- void *arg5 = (void *) 0 ;
8112
- FXbool arg6 = (FXbool) 0 ;
8256
+ FXColor arg4 = 0 ;
8257
+ void *arg5 = 0 ;
8258
+ FXbool arg6 = 0 ;
8113
8259
  void *argp1 = 0 ;
8114
8260
  int res1 = 0 ;
8115
8261
  SwigValueWrapper< FXString > p3 ;
@@ -8145,11 +8291,11 @@ fail:
8145
8291
 
8146
8292
  SWIGINTERN VALUE
8147
8293
  _wrap_FXColorList_appendItem(int argc, VALUE *argv, VALUE self) {
8148
- FXColorList *arg1 = (FXColorList *) 0 ;
8294
+ FXColorList *arg1 = 0 ;
8149
8295
  FXString *arg2 = 0 ;
8150
- FXColor arg3 = (FXColor) 0 ;
8151
- void *arg4 = (void *) 0 ;
8152
- FXbool arg5 = (FXbool) 0 ;
8296
+ FXColor arg3 = 0 ;
8297
+ void *arg4 = 0 ;
8298
+ FXbool arg5 = 0 ;
8153
8299
  void *argp1 = 0 ;
8154
8300
  int res1 = 0 ;
8155
8301
  SwigValueWrapper< FXString > p2 ;
@@ -8184,11 +8330,11 @@ fail:
8184
8330
 
8185
8331
  SWIGINTERN VALUE
8186
8332
  _wrap_FXColorList_prependItem(int argc, VALUE *argv, VALUE self) {
8187
- FXColorList *arg1 = (FXColorList *) 0 ;
8333
+ FXColorList *arg1 = 0 ;
8188
8334
  FXString *arg2 = 0 ;
8189
- FXColor arg3 = (FXColor) 0 ;
8190
- void *arg4 = (void *) 0 ;
8191
- FXbool arg5 = (FXbool) 0 ;
8335
+ FXColor arg3 = 0 ;
8336
+ void *arg4 = 0 ;
8337
+ FXbool arg5 = 0 ;
8192
8338
  void *argp1 = 0 ;
8193
8339
  int res1 = 0 ;
8194
8340
  SwigValueWrapper< FXString > p2 ;
@@ -8223,7 +8369,7 @@ fail:
8223
8369
 
8224
8370
  SWIGINTERN VALUE
8225
8371
  _wrap_FXColorList_setItemColor(int argc, VALUE *argv, VALUE self) {
8226
- FXColorList *arg1 = (FXColorList *) 0 ;
8372
+ FXColorList *arg1 = 0 ;
8227
8373
  FXint arg2 ;
8228
8374
  FXColor arg3 ;
8229
8375
  void *argp1 = 0 ;
@@ -8248,7 +8394,7 @@ fail:
8248
8394
 
8249
8395
  SWIGINTERN VALUE
8250
8396
  _wrap_FXColorList_getItemColor(int argc, VALUE *argv, VALUE self) {
8251
- FXColorList *arg1 = (FXColorList *) 0 ;
8397
+ FXColorList *arg1 = 0 ;
8252
8398
  FXint arg2 ;
8253
8399
  void *argp1 = 0 ;
8254
8400
  int res1 = 0 ;
@@ -8274,7 +8420,7 @@ fail:
8274
8420
 
8275
8421
  SWIGINTERN VALUE
8276
8422
  _wrap_FXColorList_save(int argc, VALUE *argv, VALUE self) {
8277
- FXColorList *arg1 = (FXColorList *) 0 ;
8423
+ FXColorList *arg1 = 0 ;
8278
8424
  FXStream *arg2 = 0 ;
8279
8425
  void *argp1 = 0 ;
8280
8426
  int res1 = 0 ;
@@ -8294,7 +8440,7 @@ _wrap_FXColorList_save(int argc, VALUE *argv, VALUE self) {
8294
8440
  SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] ));
8295
8441
  }
8296
8442
  if (!argp2) {
8297
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0]));
8443
+ SWIG_exception_fail(SWIG_NullReferenceError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0]));
8298
8444
  }
8299
8445
  arg2 = reinterpret_cast< FXStream * >(argp2);
8300
8446
  FXColorList_save((FXColorList const *)arg1,*arg2);
@@ -8306,7 +8452,7 @@ fail:
8306
8452
 
8307
8453
  SWIGINTERN VALUE
8308
8454
  _wrap_FXColorList_load(int argc, VALUE *argv, VALUE self) {
8309
- FXColorList *arg1 = (FXColorList *) 0 ;
8455
+ FXColorList *arg1 = 0 ;
8310
8456
  FXStream *arg2 = 0 ;
8311
8457
  void *argp1 = 0 ;
8312
8458
  int res1 = 0 ;
@@ -8326,7 +8472,7 @@ _wrap_FXColorList_load(int argc, VALUE *argv, VALUE self) {
8326
8472
  SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] ));
8327
8473
  }
8328
8474
  if (!argp2) {
8329
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0]));
8475
+ SWIG_exception_fail(SWIG_NullReferenceError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0]));
8330
8476
  }
8331
8477
  arg2 = reinterpret_cast< FXStream * >(argp2);
8332
8478
  FXColorList_load(arg1,*arg2);
@@ -8338,7 +8484,7 @@ fail:
8338
8484
 
8339
8485
  SWIGINTERN VALUE
8340
8486
  _wrap_FXColorList_create(int argc, VALUE *argv, VALUE self) {
8341
- FXColorList *arg1 = (FXColorList *) 0 ;
8487
+ FXColorList *arg1 = 0 ;
8342
8488
  void *argp1 = 0 ;
8343
8489
  int res1 = 0 ;
8344
8490
 
@@ -8359,7 +8505,7 @@ fail:
8359
8505
 
8360
8506
  SWIGINTERN VALUE
8361
8507
  _wrap_FXColorList_detach(int argc, VALUE *argv, VALUE self) {
8362
- FXColorList *arg1 = (FXColorList *) 0 ;
8508
+ FXColorList *arg1 = 0 ;
8363
8509
  void *argp1 = 0 ;
8364
8510
  int res1 = 0 ;
8365
8511
 
@@ -8380,7 +8526,7 @@ fail:
8380
8526
 
8381
8527
  SWIGINTERN VALUE
8382
8528
  _wrap_FXColorList_destroy(int argc, VALUE *argv, VALUE self) {
8383
- FXColorList *arg1 = (FXColorList *) 0 ;
8529
+ FXColorList *arg1 = 0 ;
8384
8530
  void *argp1 = 0 ;
8385
8531
  int res1 = 0 ;
8386
8532
 
@@ -8401,7 +8547,7 @@ fail:
8401
8547
 
8402
8548
  SWIGINTERN VALUE
8403
8549
  _wrap_FXColorList_resize(int argc, VALUE *argv, VALUE self) {
8404
- FXColorList *arg1 = (FXColorList *) 0 ;
8550
+ FXColorList *arg1 = 0 ;
8405
8551
  FXint arg2 ;
8406
8552
  FXint arg3 ;
8407
8553
  void *argp1 = 0 ;
@@ -8426,7 +8572,7 @@ fail:
8426
8572
 
8427
8573
  SWIGINTERN VALUE
8428
8574
  _wrap_FXColorList_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
8429
- FXColorList *arg1 = (FXColorList *) 0 ;
8575
+ FXColorList *arg1 = 0 ;
8430
8576
  void *argp1 = 0 ;
8431
8577
  int res1 = 0 ;
8432
8578
  FXint result;
@@ -8450,7 +8596,7 @@ fail:
8450
8596
 
8451
8597
  SWIGINTERN VALUE
8452
8598
  _wrap_FXColorList_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
8453
- FXColorList *arg1 = (FXColorList *) 0 ;
8599
+ FXColorList *arg1 = 0 ;
8454
8600
  void *argp1 = 0 ;
8455
8601
  int res1 = 0 ;
8456
8602
  FXint result;
@@ -8474,7 +8620,7 @@ fail:
8474
8620
 
8475
8621
  SWIGINTERN VALUE
8476
8622
  _wrap_FXColorList_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
8477
- FXColorList *arg1 = (FXColorList *) 0 ;
8623
+ FXColorList *arg1 = 0 ;
8478
8624
  FXint arg2 ;
8479
8625
  void *argp1 = 0 ;
8480
8626
  int res1 = 0 ;
@@ -8500,7 +8646,7 @@ fail:
8500
8646
 
8501
8647
  SWIGINTERN VALUE
8502
8648
  _wrap_FXColorList_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
8503
- FXColorList *arg1 = (FXColorList *) 0 ;
8649
+ FXColorList *arg1 = 0 ;
8504
8650
  FXint arg2 ;
8505
8651
  void *argp1 = 0 ;
8506
8652
  int res1 = 0 ;
@@ -8526,7 +8672,7 @@ fail:
8526
8672
 
8527
8673
  SWIGINTERN VALUE
8528
8674
  _wrap_FXColorList_canFocus(int argc, VALUE *argv, VALUE self) {
8529
- FXColorList *arg1 = (FXColorList *) 0 ;
8675
+ FXColorList *arg1 = 0 ;
8530
8676
  void *argp1 = 0 ;
8531
8677
  int res1 = 0 ;
8532
8678
  bool result;
@@ -8550,7 +8696,7 @@ fail:
8550
8696
 
8551
8697
  SWIGINTERN VALUE
8552
8698
  _wrap_FXColorList_setFocus(int argc, VALUE *argv, VALUE self) {
8553
- FXColorList *arg1 = (FXColorList *) 0 ;
8699
+ FXColorList *arg1 = 0 ;
8554
8700
  void *argp1 = 0 ;
8555
8701
  int res1 = 0 ;
8556
8702
 
@@ -8571,7 +8717,7 @@ fail:
8571
8717
 
8572
8718
  SWIGINTERN VALUE
8573
8719
  _wrap_FXColorList_killFocus(int argc, VALUE *argv, VALUE self) {
8574
- FXColorList *arg1 = (FXColorList *) 0 ;
8720
+ FXColorList *arg1 = 0 ;
8575
8721
  void *argp1 = 0 ;
8576
8722
  int res1 = 0 ;
8577
8723
 
@@ -8592,8 +8738,8 @@ fail:
8592
8738
 
8593
8739
  SWIGINTERN VALUE
8594
8740
  _wrap_FXColorList_changeFocus(int argc, VALUE *argv, VALUE self) {
8595
- FXColorList *arg1 = (FXColorList *) 0 ;
8596
- FXWindow *arg2 = (FXWindow *) 0 ;
8741
+ FXColorList *arg1 = 0 ;
8742
+ FXWindow *arg2 = 0 ;
8597
8743
  void *argp1 = 0 ;
8598
8744
  int res1 = 0 ;
8599
8745
  void *argp2 = 0 ;
@@ -8621,8 +8767,8 @@ fail:
8621
8767
 
8622
8768
  SWIGINTERN VALUE
8623
8769
  _wrap_FXColorList_setDefault(int argc, VALUE *argv, VALUE self) {
8624
- FXColorList *arg1 = (FXColorList *) 0 ;
8625
- FXbool arg2 = (FXbool) 1 ;
8770
+ FXColorList *arg1 = 0 ;
8771
+ FXbool arg2 = 1 ;
8626
8772
  void *argp1 = 0 ;
8627
8773
  int res1 = 0 ;
8628
8774
 
@@ -8646,7 +8792,7 @@ fail:
8646
8792
 
8647
8793
  SWIGINTERN VALUE
8648
8794
  _wrap_FXColorList_enable(int argc, VALUE *argv, VALUE self) {
8649
- FXColorList *arg1 = (FXColorList *) 0 ;
8795
+ FXColorList *arg1 = 0 ;
8650
8796
  void *argp1 = 0 ;
8651
8797
  int res1 = 0 ;
8652
8798
 
@@ -8667,7 +8813,7 @@ fail:
8667
8813
 
8668
8814
  SWIGINTERN VALUE
8669
8815
  _wrap_FXColorList_disable(int argc, VALUE *argv, VALUE self) {
8670
- FXColorList *arg1 = (FXColorList *) 0 ;
8816
+ FXColorList *arg1 = 0 ;
8671
8817
  void *argp1 = 0 ;
8672
8818
  int res1 = 0 ;
8673
8819
 
@@ -8688,7 +8834,7 @@ fail:
8688
8834
 
8689
8835
  SWIGINTERN VALUE
8690
8836
  _wrap_FXColorList_raiseWindow(int argc, VALUE *argv, VALUE self) {
8691
- FXColorList *arg1 = (FXColorList *) 0 ;
8837
+ FXColorList *arg1 = 0 ;
8692
8838
  void *argp1 = 0 ;
8693
8839
  int res1 = 0 ;
8694
8840
 
@@ -8709,7 +8855,7 @@ fail:
8709
8855
 
8710
8856
  SWIGINTERN VALUE
8711
8857
  _wrap_FXColorList_lower(int argc, VALUE *argv, VALUE self) {
8712
- FXColorList *arg1 = (FXColorList *) 0 ;
8858
+ FXColorList *arg1 = 0 ;
8713
8859
  void *argp1 = 0 ;
8714
8860
  int res1 = 0 ;
8715
8861
 
@@ -8730,7 +8876,7 @@ fail:
8730
8876
 
8731
8877
  SWIGINTERN VALUE
8732
8878
  _wrap_FXColorList_move(int argc, VALUE *argv, VALUE self) {
8733
- FXColorList *arg1 = (FXColorList *) 0 ;
8879
+ FXColorList *arg1 = 0 ;
8734
8880
  FXint arg2 ;
8735
8881
  FXint arg3 ;
8736
8882
  void *argp1 = 0 ;
@@ -8755,7 +8901,7 @@ fail:
8755
8901
 
8756
8902
  SWIGINTERN VALUE
8757
8903
  _wrap_FXColorList_position__SWIG_0(int argc, VALUE *argv, VALUE self) {
8758
- FXColorList *arg1 = (FXColorList *) 0 ;
8904
+ FXColorList *arg1 = 0 ;
8759
8905
  FXint arg2 ;
8760
8906
  FXint arg3 ;
8761
8907
  FXint arg4 ;
@@ -8784,7 +8930,7 @@ fail:
8784
8930
 
8785
8931
  SWIGINTERN VALUE
8786
8932
  _wrap_FXColorList_layout(int argc, VALUE *argv, VALUE self) {
8787
- FXColorList *arg1 = (FXColorList *) 0 ;
8933
+ FXColorList *arg1 = 0 ;
8788
8934
  void *argp1 = 0 ;
8789
8935
  int res1 = 0 ;
8790
8936
 
@@ -8805,7 +8951,7 @@ fail:
8805
8951
 
8806
8952
  SWIGINTERN VALUE
8807
8953
  _wrap_FXColorList_recalc(int argc, VALUE *argv, VALUE self) {
8808
- FXColorList *arg1 = (FXColorList *) 0 ;
8954
+ FXColorList *arg1 = 0 ;
8809
8955
  void *argp1 = 0 ;
8810
8956
  int res1 = 0 ;
8811
8957
 
@@ -8826,9 +8972,9 @@ fail:
8826
8972
 
8827
8973
  SWIGINTERN VALUE
8828
8974
  _wrap_FXColorList_reparent(int argc, VALUE *argv, VALUE self) {
8829
- FXColorList *arg1 = (FXColorList *) 0 ;
8830
- FXWindow *arg2 = (FXWindow *) 0 ;
8831
- FXWindow *arg3 = (FXWindow *) 0 ;
8975
+ FXColorList *arg1 = 0 ;
8976
+ FXWindow *arg2 = 0 ;
8977
+ FXWindow *arg3 = 0 ;
8832
8978
  void *argp1 = 0 ;
8833
8979
  int res1 = 0 ;
8834
8980
  void *argp2 = 0 ;
@@ -8863,7 +9009,7 @@ fail:
8863
9009
 
8864
9010
  SWIGINTERN VALUE
8865
9011
  _wrap_FXColorList_show(int argc, VALUE *argv, VALUE self) {
8866
- FXColorList *arg1 = (FXColorList *) 0 ;
9012
+ FXColorList *arg1 = 0 ;
8867
9013
  void *argp1 = 0 ;
8868
9014
  int res1 = 0 ;
8869
9015
 
@@ -8884,7 +9030,7 @@ fail:
8884
9030
 
8885
9031
  SWIGINTERN VALUE
8886
9032
  _wrap_FXColorList_hide(int argc, VALUE *argv, VALUE self) {
8887
- FXColorList *arg1 = (FXColorList *) 0 ;
9033
+ FXColorList *arg1 = 0 ;
8888
9034
  void *argp1 = 0 ;
8889
9035
  int res1 = 0 ;
8890
9036
 
@@ -8905,7 +9051,7 @@ fail:
8905
9051
 
8906
9052
  SWIGINTERN VALUE
8907
9053
  _wrap_FXColorList_isComposite(int argc, VALUE *argv, VALUE self) {
8908
- FXColorList *arg1 = (FXColorList *) 0 ;
9054
+ FXColorList *arg1 = 0 ;
8909
9055
  void *argp1 = 0 ;
8910
9056
  int res1 = 0 ;
8911
9057
  bool result;
@@ -8929,7 +9075,7 @@ fail:
8929
9075
 
8930
9076
  SWIGINTERN VALUE
8931
9077
  _wrap_FXColorList_contains(int argc, VALUE *argv, VALUE self) {
8932
- FXColorList *arg1 = (FXColorList *) 0 ;
9078
+ FXColorList *arg1 = 0 ;
8933
9079
  FXint arg2 ;
8934
9080
  FXint arg3 ;
8935
9081
  void *argp1 = 0 ;
@@ -8957,7 +9103,7 @@ fail:
8957
9103
 
8958
9104
  SWIGINTERN VALUE
8959
9105
  _wrap_FXColorList_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
8960
- FXColorList *arg1 = (FXColorList *) 0 ;
9106
+ FXColorList *arg1 = 0 ;
8961
9107
  void *argp1 = 0 ;
8962
9108
  int res1 = 0 ;
8963
9109
  bool result;
@@ -8981,7 +9127,7 @@ fail:
8981
9127
 
8982
9128
  SWIGINTERN VALUE
8983
9129
  _wrap_FXColorList_setBackColor(int argc, VALUE *argv, VALUE self) {
8984
- FXColorList *arg1 = (FXColorList *) 0 ;
9130
+ FXColorList *arg1 = 0 ;
8985
9131
  FXColor arg2 ;
8986
9132
  void *argp1 = 0 ;
8987
9133
  int res1 = 0 ;
@@ -9004,9 +9150,9 @@ fail:
9004
9150
 
9005
9151
  SWIGINTERN VALUE
9006
9152
  _wrap_FXColorList_tr(int argc, VALUE *argv, VALUE self) {
9007
- FXColorList *arg1 = (FXColorList *) 0 ;
9008
- FXchar *arg2 = (FXchar *) 0 ;
9009
- FXchar *arg3 = (FXchar *) 0 ;
9153
+ FXColorList *arg1 = 0 ;
9154
+ FXchar *arg2 = 0 ;
9155
+ FXchar *arg3 = 0 ;
9010
9156
  void *argp1 = 0 ;
9011
9157
  int res1 = 0 ;
9012
9158
  FXchar *result = 0 ;
@@ -9034,7 +9180,7 @@ fail:
9034
9180
 
9035
9181
  SWIGINTERN VALUE
9036
9182
  _wrap_FXColorList_dropEnable(int argc, VALUE *argv, VALUE self) {
9037
- FXColorList *arg1 = (FXColorList *) 0 ;
9183
+ FXColorList *arg1 = 0 ;
9038
9184
  void *argp1 = 0 ;
9039
9185
  int res1 = 0 ;
9040
9186
 
@@ -9055,7 +9201,7 @@ fail:
9055
9201
 
9056
9202
  SWIGINTERN VALUE
9057
9203
  _wrap_FXColorList_dropDisable(int argc, VALUE *argv, VALUE self) {
9058
- FXColorList *arg1 = (FXColorList *) 0 ;
9204
+ FXColorList *arg1 = 0 ;
9059
9205
  void *argp1 = 0 ;
9060
9206
  int res1 = 0 ;
9061
9207
 
@@ -9076,7 +9222,7 @@ fail:
9076
9222
 
9077
9223
  SWIGINTERN VALUE
9078
9224
  _wrap_FXColorList_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
9079
- FXColorList *arg1 = (FXColorList *) 0 ;
9225
+ FXColorList *arg1 = 0 ;
9080
9226
  FXRegion *arg2 = 0 ;
9081
9227
  void *argp1 = 0 ;
9082
9228
  int res1 = 0 ;
@@ -9096,7 +9242,7 @@ _wrap_FXColorList_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
9096
9242
  SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] ));
9097
9243
  }
9098
9244
  if (!argp2) {
9099
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0]));
9245
+ SWIG_exception_fail(SWIG_NullReferenceError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0]));
9100
9246
  }
9101
9247
  arg2 = reinterpret_cast< FXRegion * >(argp2);
9102
9248
  FXColorList_setShape(arg1,(FXRegion const &)*arg2);
@@ -9108,8 +9254,8 @@ fail:
9108
9254
 
9109
9255
  SWIGINTERN VALUE
9110
9256
  _wrap_FXColorList_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
9111
- FXColorList *arg1 = (FXColorList *) 0 ;
9112
- FXBitmap *arg2 = (FXBitmap *) 0 ;
9257
+ FXColorList *arg1 = 0 ;
9258
+ FXBitmap *arg2 = 0 ;
9113
9259
  void *argp1 = 0 ;
9114
9260
  int res1 = 0 ;
9115
9261
  void *argp2 = 0 ;
@@ -9137,8 +9283,8 @@ fail:
9137
9283
 
9138
9284
  SWIGINTERN VALUE
9139
9285
  _wrap_FXColorList_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
9140
- FXColorList *arg1 = (FXColorList *) 0 ;
9141
- FXIcon *arg2 = (FXIcon *) 0 ;
9286
+ FXColorList *arg1 = 0 ;
9287
+ FXIcon *arg2 = 0 ;
9142
9288
  void *argp1 = 0 ;
9143
9289
  int res1 = 0 ;
9144
9290
  void *argp2 = 0 ;
@@ -9230,7 +9376,7 @@ fail:
9230
9376
 
9231
9377
  SWIGINTERN VALUE
9232
9378
  _wrap_FXColorList_clearShape(int argc, VALUE *argv, VALUE self) {
9233
- FXColorList *arg1 = (FXColorList *) 0 ;
9379
+ FXColorList *arg1 = 0 ;
9234
9380
  void *argp1 = 0 ;
9235
9381
  int res1 = 0 ;
9236
9382
 
@@ -9251,7 +9397,7 @@ fail:
9251
9397
 
9252
9398
  SWIGINTERN VALUE
9253
9399
  _wrap_FXColorList_getViewportHeight(int argc, VALUE *argv, VALUE self) {
9254
- FXColorList *arg1 = (FXColorList *) 0 ;
9400
+ FXColorList *arg1 = 0 ;
9255
9401
  void *argp1 = 0 ;
9256
9402
  int res1 = 0 ;
9257
9403
  FXint result;
@@ -9275,7 +9421,7 @@ fail:
9275
9421
 
9276
9422
  SWIGINTERN VALUE
9277
9423
  _wrap_FXColorList_getViewportWidth(int argc, VALUE *argv, VALUE self) {
9278
- FXColorList *arg1 = (FXColorList *) 0 ;
9424
+ FXColorList *arg1 = 0 ;
9279
9425
  void *argp1 = 0 ;
9280
9426
  int res1 = 0 ;
9281
9427
  FXint result;
@@ -9299,7 +9445,7 @@ fail:
9299
9445
 
9300
9446
  SWIGINTERN VALUE
9301
9447
  _wrap_FXColorList_getContentHeight(int argc, VALUE *argv, VALUE self) {
9302
- FXColorList *arg1 = (FXColorList *) 0 ;
9448
+ FXColorList *arg1 = 0 ;
9303
9449
  void *argp1 = 0 ;
9304
9450
  int res1 = 0 ;
9305
9451
  FXint result;
@@ -9323,7 +9469,7 @@ fail:
9323
9469
 
9324
9470
  SWIGINTERN VALUE
9325
9471
  _wrap_FXColorList_getContentWidth(int argc, VALUE *argv, VALUE self) {
9326
- FXColorList *arg1 = (FXColorList *) 0 ;
9472
+ FXColorList *arg1 = 0 ;
9327
9473
  void *argp1 = 0 ;
9328
9474
  int res1 = 0 ;
9329
9475
  FXint result;
@@ -9347,7 +9493,7 @@ fail:
9347
9493
 
9348
9494
  SWIGINTERN VALUE
9349
9495
  _wrap_FXColorList_position__SWIG_1(int argc, VALUE *argv, VALUE self) {
9350
- FXColorList *arg1 = (FXColorList *) 0 ;
9496
+ FXColorList *arg1 = 0 ;
9351
9497
  void *argp1 = 0 ;
9352
9498
  int res1 = 0 ;
9353
9499
  VALUE result;
@@ -9430,7 +9576,7 @@ fail:
9430
9576
 
9431
9577
  SWIGINTERN VALUE
9432
9578
  _wrap_FXColorList_enableItem(int argc, VALUE *argv, VALUE self) {
9433
- FXColorList *arg1 = (FXColorList *) 0 ;
9579
+ FXColorList *arg1 = 0 ;
9434
9580
  FXint arg2 ;
9435
9581
  void *argp1 = 0 ;
9436
9582
  int res1 = 0 ;
@@ -9456,7 +9602,7 @@ fail:
9456
9602
 
9457
9603
  SWIGINTERN VALUE
9458
9604
  _wrap_FXColorList_disableItem(int argc, VALUE *argv, VALUE self) {
9459
- FXColorList *arg1 = (FXColorList *) 0 ;
9605
+ FXColorList *arg1 = 0 ;
9460
9606
  FXint arg2 ;
9461
9607
  void *argp1 = 0 ;
9462
9608
  int res1 = 0 ;
@@ -9482,7 +9628,7 @@ fail:
9482
9628
 
9483
9629
  SWIGINTERN VALUE
9484
9630
  _wrap_FXColorList_makeItemVisible(int argc, VALUE *argv, VALUE self) {
9485
- FXColorList *arg1 = (FXColorList *) 0 ;
9631
+ FXColorList *arg1 = 0 ;
9486
9632
  FXint arg2 ;
9487
9633
  void *argp1 = 0 ;
9488
9634
  int res1 = 0 ;
@@ -9505,7 +9651,7 @@ fail:
9505
9651
 
9506
9652
  SWIGINTERN VALUE
9507
9653
  _wrap_FXColorList_getItemAt(int argc, VALUE *argv, VALUE self) {
9508
- FXColorList *arg1 = (FXColorList *) 0 ;
9654
+ FXColorList *arg1 = 0 ;
9509
9655
  FXint arg2 ;
9510
9656
  FXint arg3 ;
9511
9657
  void *argp1 = 0 ;
@@ -9533,9 +9679,9 @@ fail:
9533
9679
 
9534
9680
  SWIGINTERN VALUE
9535
9681
  _wrap_FXColorList_selectItem(int argc, VALUE *argv, VALUE self) {
9536
- FXColorList *arg1 = (FXColorList *) 0 ;
9682
+ FXColorList *arg1 = 0 ;
9537
9683
  FXint arg2 ;
9538
- FXbool arg3 = (FXbool) 0 ;
9684
+ FXbool arg3 = 0 ;
9539
9685
  void *argp1 = 0 ;
9540
9686
  int res1 = 0 ;
9541
9687
  FXbool result;
@@ -9563,9 +9709,9 @@ fail:
9563
9709
 
9564
9710
  SWIGINTERN VALUE
9565
9711
  _wrap_FXColorList_deselectItem(int argc, VALUE *argv, VALUE self) {
9566
- FXColorList *arg1 = (FXColorList *) 0 ;
9712
+ FXColorList *arg1 = 0 ;
9567
9713
  FXint arg2 ;
9568
- FXbool arg3 = (FXbool) 0 ;
9714
+ FXbool arg3 = 0 ;
9569
9715
  void *argp1 = 0 ;
9570
9716
  int res1 = 0 ;
9571
9717
  FXbool result;
@@ -9593,9 +9739,9 @@ fail:
9593
9739
 
9594
9740
  SWIGINTERN VALUE
9595
9741
  _wrap_FXColorList_toggleItem(int argc, VALUE *argv, VALUE self) {
9596
- FXColorList *arg1 = (FXColorList *) 0 ;
9742
+ FXColorList *arg1 = 0 ;
9597
9743
  FXint arg2 ;
9598
- FXbool arg3 = (FXbool) 0 ;
9744
+ FXbool arg3 = 0 ;
9599
9745
  void *argp1 = 0 ;
9600
9746
  int res1 = 0 ;
9601
9747
  FXbool result;
@@ -9623,9 +9769,9 @@ fail:
9623
9769
 
9624
9770
  SWIGINTERN VALUE
9625
9771
  _wrap_FXColorList_extendSelection(int argc, VALUE *argv, VALUE self) {
9626
- FXColorList *arg1 = (FXColorList *) 0 ;
9772
+ FXColorList *arg1 = 0 ;
9627
9773
  FXint arg2 ;
9628
- FXbool arg3 = (FXbool) 0 ;
9774
+ FXbool arg3 = 0 ;
9629
9775
  void *argp1 = 0 ;
9630
9776
  int res1 = 0 ;
9631
9777
  FXbool result;
@@ -9653,8 +9799,8 @@ fail:
9653
9799
 
9654
9800
  SWIGINTERN VALUE
9655
9801
  _wrap_FXColorList_killSelection(int argc, VALUE *argv, VALUE self) {
9656
- FXColorList *arg1 = (FXColorList *) 0 ;
9657
- FXbool arg2 = (FXbool) 0 ;
9802
+ FXColorList *arg1 = 0 ;
9803
+ FXbool arg2 = 0 ;
9658
9804
  void *argp1 = 0 ;
9659
9805
  int res1 = 0 ;
9660
9806
  FXbool result;
@@ -9681,9 +9827,9 @@ fail:
9681
9827
 
9682
9828
  SWIGINTERN VALUE
9683
9829
  _wrap_FXColorList_setCurrentItem(int argc, VALUE *argv, VALUE self) {
9684
- FXColorList *arg1 = (FXColorList *) 0 ;
9830
+ FXColorList *arg1 = 0 ;
9685
9831
  FXint arg2 ;
9686
- FXbool arg3 = (FXbool) 0 ;
9832
+ FXbool arg3 = 0 ;
9687
9833
  void *argp1 = 0 ;
9688
9834
  int res1 = 0 ;
9689
9835
 
@@ -10472,7 +10618,7 @@ static swig_cast_info *swig_cast_initial[] = {
10472
10618
 
10473
10619
  /* -----------------------------------------------------------------------------
10474
10620
  * Type initialization:
10475
- * This problem is tough by the requirement that no dynamic
10621
+ * This problem is made tough by the requirement that no dynamic
10476
10622
  * memory is used. Also, since swig_type_info structures store pointers to
10477
10623
  * swig_cast_info structures and swig_cast_info structures store pointers back
10478
10624
  * to swig_type_info structures, we need some lookup code at initialization.
@@ -10487,15 +10633,20 @@ static swig_cast_info *swig_cast_initial[] = {
10487
10633
  * array. We just loop through that array, and handle each type individually.
10488
10634
  * First we lookup if this type has been already loaded, and if so, use the
10489
10635
  * loaded structure instead of the generated one. Then we have to fill in the
10490
- * cast linked list. The cast data is initially stored in something like a
10636
+ * cast dependencies. The cast data is initially stored in something like a
10491
10637
  * two-dimensional array. Each row corresponds to a type (there are the same
10492
10638
  * number of rows as there are in the swig_type_initial array). Each entry in
10493
10639
  * a column is one of the swig_cast_info structures for that type.
10494
10640
  * The cast_initial array is actually an array of arrays, because each row has
10495
- * a variable number of columns. So to actually build the cast linked list,
10496
- * we find the array of casts associated with the type, and loop through it
10497
- * adding the casts to the list. The one last trick we need to do is making
10498
- * sure the type pointer in the swig_cast_info struct is correct.
10641
+ * a variable number of columns.
10642
+ *
10643
+ * We loop through the cast[] array associated with the type and mark casts
10644
+ * which have not been defined in previously loaded modules by assigning
10645
+ * cast pointer value to cast->next. We also hash cast->type->name string
10646
+ * and store the value in the cast->value field. If we encounter swig_cast_info
10647
+ * structure that represents a cast to self we move it to the beginning
10648
+ * of the cast array. One trick we need to do is making sure the type pointer
10649
+ * in the swig_cast_info struct is correct.
10499
10650
  *
10500
10651
  * First off, we lookup the cast->type name to see if it is already loaded.
10501
10652
  * There are three cases to handle:
@@ -10507,8 +10658,71 @@ static swig_cast_info *swig_cast_initial[] = {
10507
10658
  * cast->type) are loaded, THEN the cast info has already been loaded by
10508
10659
  * the previous module so we just ignore it.
10509
10660
  * 3) Finally, if cast->type has not already been loaded, then we add that
10510
- * swig_cast_info to the linked list (because the cast->type) pointer will
10661
+ * swig_cast_info to the list (because the cast->type) pointer will
10511
10662
  * be correct.
10663
+ *
10664
+ * Once the cast array has been set up AND it does have new casts that need
10665
+ * to be added we sort non-self cast entries to move filtered out entries
10666
+ * to the end of the array and to arrange the rest in the increasing order
10667
+ * of their type pointer values. We store the index of the last added entry
10668
+ * in the cast->value field of the entry[0] (overwriting the name hash). Then
10669
+ * we sort <next|value> fields of the remaining entries to arrange hash values
10670
+ * in the increasing order. This way cast->next->type->name field matches
10671
+ * the cast->value hash.
10672
+ *
10673
+ * Example:
10674
+ * Array of casts for type stored at 0x5000, cast to type stored at 0x3000
10675
+ * has already been loaded
10676
+ *
10677
+ * After sweep-and-hash: After sort-by-type: After sort-by-hash:
10678
+ * ________________ ________________ ________________
10679
+ * | | | | | |
10680
+ * Entry | type = 0x5000 | | type = 0x5000 | | type = 0x5000 |
10681
+ * 0 | | | | | |
10682
+ * | next = Entry0 | | next = Entry0 | | next = Entry0 |
10683
+ * | value = 1212 | | value = 3 | | value = 3 |
10684
+ * | | | | | |
10685
+ * |================| |================| |================|
10686
+ * | | | | | |
10687
+ * Entry | type = 0x2000 | | type = 0x1000 | | type = 0x1000 |
10688
+ * 1 | | | | | |
10689
+ * | next = Entry1 | | next = Entry1 | | next = Entry3 |
10690
+ * | value = 3434 | | value = 4545 | | value = 2323 |
10691
+ * |________________| |________________| |________________|
10692
+ * | | | | | |
10693
+ * Entry | type = 0x3000 | | type = 0x2000 | | type = 0x2000 |
10694
+ * 2 | | | | | |
10695
+ * | next = 0 | | next = Entry2 | | next = Entry2 |
10696
+ * | value = 0 | | value = 3434 | | value = 3434 |
10697
+ * |________________| |________________| |________________|
10698
+ * | | | | | |
10699
+ * Entry | type = 0x1000 | | type = 0x4000 | | type = 0x4000 |
10700
+ * 3 | | | | | |
10701
+ * | next = Entry3 | | next = Entry3 | | next = Entry1 |
10702
+ * | value = 4545 | | value = 2323 | | value = 4545 |
10703
+ * |________________| |________________| |________________|
10704
+ * | | | | | |
10705
+ * Entry | type = 0x4000 | | type = 0x3000 | | type = 0x3000 |
10706
+ * 4 | | | | | |
10707
+ * | next = Entry4 | | next = 0 | | next = 0 |
10708
+ * | value = 2323 | | value = 0 | | value = 0 |
10709
+ * |________________| |________________| |________________|
10710
+ *
10711
+ * Once the cast array has been initialized, we use cast[0]->next field to link
10712
+ * it into the list of cast arrays for the type.
10713
+ * ____ ____ ____
10714
+ * type->cast->|next|->|next|->|next|->0
10715
+ * |----| |----| |----|
10716
+ * |----| |----| |----|
10717
+ * |----| |----| |----|
10718
+ *
10719
+ * Subsequent cast resolution works as follows:
10720
+ *
10721
+ * 1. Check whether the type matches the first entry in the current cast array.
10722
+ * 2. If not, then do a binary search over the (0:cast->value] interval using
10723
+ * either type address or the hash value of the type name.
10724
+ * 3. If not found, then move over to the next cast array (cast[0]->next).
10725
+ *
10512
10726
  * ----------------------------------------------------------------------------- */
10513
10727
 
10514
10728
  #ifdef __cplusplus
@@ -10526,6 +10740,46 @@ extern "C" {
10526
10740
  #define SWIG_INIT_CLIENT_DATA_TYPE void *
10527
10741
  #endif
10528
10742
 
10743
+ /*
10744
+ * Sort function that puts cast entries with nonzero 'next' at the front
10745
+ * of the array while ordering them by addresses of their 'type' structs.
10746
+ */
10747
+ SWIGINTERN int SWIG_CastCmpStruct(const void *pa, const void *pb) {
10748
+ swig_cast_info *pca = (swig_cast_info *)pa;
10749
+ swig_cast_info *pcb = (swig_cast_info *)pb;
10750
+ if (pca->type < pcb->type)
10751
+ return (pca->next || pcb->next == 0) ? -1 : 1;
10752
+ if (pca->type > pcb->type)
10753
+ return (pcb->next || pca->next == 0) ? 1 : -1;
10754
+ return 0;
10755
+ }
10756
+
10757
+ /*
10758
+ * Shell-sort 'next' and 'value' field pairs to order them by 'value'.
10759
+ */
10760
+ SWIGINTERN void SWIG_CastHashSort(swig_cast_info *cast, int size) {
10761
+ const int hmax = size/9;
10762
+ int h, i;
10763
+ for(h = 1; h <= hmax; h = 3*h+1);
10764
+ for(; h > 0; h /= 3)
10765
+ {
10766
+ for(i = h; i < size; ++i)
10767
+ {
10768
+ swig_cast_info *p = cast[i].next;
10769
+ unsigned int hash = cast[i].value;
10770
+ int j = i;
10771
+ while(j >= h && hash < cast[j-h].value)
10772
+ {
10773
+ cast[j].next = cast[j-h].next;
10774
+ cast[j].value = cast[j-h].value;
10775
+ j -= h;
10776
+ }
10777
+ cast[j].next = p;
10778
+ cast[j].value = hash;
10779
+ }
10780
+ }
10781
+ }
10782
+
10529
10783
  SWIGRUNTIME void
10530
10784
  SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata) {
10531
10785
  size_t i;
@@ -10577,8 +10831,9 @@ SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata) {
10577
10831
  #endif
10578
10832
  for (i = 0; i < swig_module.size; ++i) {
10579
10833
  swig_type_info *type = 0;
10580
- swig_type_info *ret;
10581
- swig_cast_info *cast;
10834
+ swig_type_info *target_type;
10835
+ swig_cast_info *cast, *first;
10836
+ int num_mapped = 0;
10582
10837
 
10583
10838
  #ifdef SWIGRUNTIME_DEBUG
10584
10839
  printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
@@ -10604,49 +10859,107 @@ SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata) {
10604
10859
  }
10605
10860
 
10606
10861
  /* Insert casting types */
10607
- cast = swig_module.cast_initial[i];
10862
+ cast = first = swig_module.cast_initial[i];
10608
10863
  while (cast->type) {
10609
10864
 
10610
10865
  /* Don't need to add information already in the list */
10611
- ret = 0;
10866
+ target_type = 0;
10612
10867
  #ifdef SWIGRUNTIME_DEBUG
10613
10868
  printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
10614
10869
  #endif
10615
10870
  if (swig_module.next != &swig_module) {
10616
- ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
10871
+ target_type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
10872
+ if (target_type) {
10873
+
10874
+ /* Target type already defined in another module */
10617
10875
  #ifdef SWIGRUNTIME_DEBUG
10618
- if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
10876
+ printf("SWIG_InitializeModule: found cast %s\n", target_type->name);
10619
10877
  #endif
10620
- }
10621
- if (ret) {
10622
- if (type == swig_module.type_initial[i]) {
10878
+ if (type == swig_module.type_initial[i]) {
10623
10879
  #ifdef SWIGRUNTIME_DEBUG
10624
- printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
10880
+ printf("SWIG_InitializeModule: skip old type %s\n", target_type->name);
10625
10881
  #endif
10626
- cast->type = ret;
10627
- ret = 0;
10628
- } else {
10629
- /* Check for casting already in the list */
10630
- swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
10882
+ cast->type = target_type;
10883
+ target_type = 0;
10884
+ } else {
10885
+ /* Check if this cast is already in the list */
10886
+ swig_cast_info *ocast = SWIG_TypeCheck(target_type->name, type);
10631
10887
  #ifdef SWIGRUNTIME_DEBUG
10632
- if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
10888
+ if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", target_type->name);
10633
10889
  #endif
10634
- if (!ocast) ret = 0;
10635
- }
10890
+ if (!ocast) {
10891
+ cast->type = target_type;
10892
+ target_type = 0;
10893
+ }
10894
+ }
10895
+ }
10636
10896
  }
10637
10897
 
10638
- if (!ret) {
10898
+ if (!target_type) {
10899
+ #ifdef SWIGRUNTIME_DEBUG
10900
+ printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
10901
+ #endif
10902
+ /* Set inclusion mark for sorting */
10903
+ cast->next = cast;
10904
+ num_mapped++;
10905
+
10906
+ if (type == cast->type) {
10639
10907
  #ifdef SWIGRUNTIME_DEBUG
10640
- printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
10908
+ printf("%s : self cast at pos [%li]\n", type->name, cast - first);
10641
10909
  #endif
10642
- if (type->cast) {
10643
- type->cast->prev = cast;
10644
- cast->next = type->cast;
10910
+ if (cast - first) {
10911
+
10912
+ /* Move cast to itself to the first entry in the array */
10913
+
10914
+ swig_cast_info tmp = *cast;
10915
+ *cast = *first;
10916
+ *first = tmp;
10917
+ }
10918
+ first++;
10919
+
10920
+ } else {
10921
+ cast->value = SWIG_Hash(cast->type->name, (unsigned int)strlen(cast->type->name));
10645
10922
  }
10646
- type->cast = cast;
10647
10923
  }
10648
10924
  cast++;
10649
10925
  }
10926
+
10927
+ if (num_mapped) {
10928
+ if (cast - first) {
10929
+ swig_cast_info *tmp;
10930
+
10931
+ /* Sort casts by type address for binary search in SWIG_TypeCheckStruct */
10932
+ qsort(first, (size_t)(cast - first), sizeof(swig_cast_info), SWIG_CastCmpStruct);
10933
+
10934
+ /* Remap back links for added entries */
10935
+ cast = swig_module.cast_initial[i] + num_mapped;
10936
+ for (tmp = first; tmp < cast; tmp++) {
10937
+ tmp->next = tmp;
10938
+ }
10939
+ }
10940
+
10941
+ /* Set the value field of the first entry to the index of the last added entry */
10942
+ cast = swig_module.cast_initial[i];
10943
+ cast->value = (unsigned int)(num_mapped - 1);
10944
+
10945
+ num_mapped -= (int)(first - cast);
10946
+ if (num_mapped > 1) {
10947
+ /* Sort <'next','value'> pairs by 'value' for binary search in SWIG_TypeCheck */
10948
+
10949
+ SWIG_CastHashSort(first, num_mapped);
10950
+ }
10951
+
10952
+ first = type->cast;
10953
+ if (first) {
10954
+ /* Link the current set into the list of cast arrays */
10955
+ cast->next = first->next;
10956
+ first->next = cast;
10957
+ } else {
10958
+ cast->next = 0;
10959
+ type->cast = cast;
10960
+ }
10961
+ }
10962
+
10650
10963
  /* Set entry in modules->types array equal to the type */
10651
10964
  swig_module.types[i] = type;
10652
10965
  }
@@ -10677,7 +10990,6 @@ SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata) {
10677
10990
  SWIGRUNTIME void
10678
10991
  SWIG_PropagateClientData(void) {
10679
10992
  size_t i;
10680
- swig_cast_info *equiv;
10681
10993
  static int init_run = 0;
10682
10994
 
10683
10995
  if (init_run) return;
@@ -10685,13 +10997,16 @@ SWIG_PropagateClientData(void) {
10685
10997
 
10686
10998
  for (i = 0; i < swig_module.size; i++) {
10687
10999
  if (swig_module.types[i]->clientdata) {
10688
- equiv = swig_module.types[i]->cast;
10689
- while (equiv) {
10690
- if (!equiv->converter) {
10691
- if (equiv->type && !equiv->type->clientdata)
10692
- SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
11000
+ swig_cast_info *head, *cast;
11001
+ head = swig_module.types[i]->cast;
11002
+ while (head) {
11003
+ for (cast = head; (cast - head) <= head->value; cast++) {
11004
+ if (!cast->converter) {
11005
+ if (cast->type && !cast->type->clientdata)
11006
+ SWIG_TypeClientData(cast->type, swig_module.types[i]->clientdata);
11007
+ }
10693
11008
  }
10694
- equiv = equiv->next;
11009
+ head = head->next;
10695
11010
  }
10696
11011
  }
10697
11012
  }
@@ -10761,8 +11076,11 @@ SWIGEXPORT void Init_list(void) {
10761
11076
  rb_define_method(SwigClassFXListItem.klass, "create", VALUEFUNC(_wrap_FXListItem_create), -1);
10762
11077
  rb_define_method(SwigClassFXListItem.klass, "detach", VALUEFUNC(_wrap_FXListItem_detach), -1);
10763
11078
  rb_define_method(SwigClassFXListItem.klass, "destroy", VALUEFUNC(_wrap_FXListItem_destroy), -1);
11079
+ SwigClassFXListItem.cext_type.wrap_struct_name = "C++ class FXListItem";
10764
11080
  SwigClassFXListItem.mark = (void (*)(void *)) FXRbListItem::markfunc;
11081
+ SwigClassFXListItem.cext_type.function.dmark = SWIG_Ruby_mark_swig_type;
10765
11082
  SwigClassFXListItem.destroy = (void (*)(void *)) FXRbListItem::freefunc;
11083
+ SwigClassFXListItem.cext_type.function.dfree = SWIG_Ruby_free_swig_type;
10766
11084
  SwigClassFXListItem.trackObjects = 0;
10767
11085
 
10768
11086
  SWIGTYPE_p_FXListItem->dcast = (swig_dycast_func) FXListItem_dynamic_cast;
@@ -10899,8 +11217,11 @@ SWIGEXPORT void Init_list(void) {
10899
11217
  rb_define_method(SwigClassFXList.klass, "extendSelection", VALUEFUNC(_wrap_FXList_extendSelection), -1);
10900
11218
  rb_define_method(SwigClassFXList.klass, "killSelection", VALUEFUNC(_wrap_FXList_killSelection), -1);
10901
11219
  rb_define_method(SwigClassFXList.klass, "setCurrentItem", VALUEFUNC(_wrap_FXList_setCurrentItem), -1);
11220
+ SwigClassFXList.cext_type.wrap_struct_name = "C++ class FXList";
10902
11221
  SwigClassFXList.mark = (void (*)(void *)) FXRbList::markfunc;
11222
+ SwigClassFXList.cext_type.function.dmark = SWIG_Ruby_mark_swig_type;
10903
11223
  SwigClassFXList.destroy = (void (*)(void *)) FXRbObject::freefunc;
11224
+ SwigClassFXList.cext_type.function.dfree = SWIG_Ruby_free_swig_type;
10904
11225
  SwigClassFXList.trackObjects = 0;
10905
11226
 
10906
11227
  SWIGTYPE_p_FXListItem->dcast = (swig_dycast_func) FXListItem_dynamic_cast;
@@ -10925,8 +11246,11 @@ SWIGEXPORT void Init_list(void) {
10925
11246
  rb_define_method(SwigClassFXColorItem.klass, "create", VALUEFUNC(_wrap_FXColorItem_create), -1);
10926
11247
  rb_define_method(SwigClassFXColorItem.klass, "detach", VALUEFUNC(_wrap_FXColorItem_detach), -1);
10927
11248
  rb_define_method(SwigClassFXColorItem.klass, "destroy", VALUEFUNC(_wrap_FXColorItem_destroy), -1);
11249
+ SwigClassFXColorItem.cext_type.wrap_struct_name = "C++ class FXColorItem";
10928
11250
  SwigClassFXColorItem.mark = 0;
11251
+ SwigClassFXColorItem.cext_type.function.dmark = SWIG_Ruby_mark_swig_type;
10929
11252
  SwigClassFXColorItem.destroy = (void (*)(void *)) FXRbColorItem::freefunc;
11253
+ SwigClassFXColorItem.cext_type.function.dfree = SWIG_Ruby_free_swig_type;
10930
11254
  SwigClassFXColorItem.trackObjects = 0;
10931
11255
 
10932
11256
  SwigClassFXColorList.klass = rb_define_class_under(mFox, "FXColorList", ((swig_class *) SWIGTYPE_p_FXList->clientdata)->klass);
@@ -10989,8 +11313,11 @@ SWIGEXPORT void Init_list(void) {
10989
11313
  rb_define_method(SwigClassFXColorList.klass, "extendSelection", VALUEFUNC(_wrap_FXColorList_extendSelection), -1);
10990
11314
  rb_define_method(SwigClassFXColorList.klass, "killSelection", VALUEFUNC(_wrap_FXColorList_killSelection), -1);
10991
11315
  rb_define_method(SwigClassFXColorList.klass, "setCurrentItem", VALUEFUNC(_wrap_FXColorList_setCurrentItem), -1);
11316
+ SwigClassFXColorList.cext_type.wrap_struct_name = "C++ class FXColorList";
10992
11317
  SwigClassFXColorList.mark = 0;
11318
+ SwigClassFXColorList.cext_type.function.dmark = SWIG_Ruby_mark_swig_type;
10993
11319
  SwigClassFXColorList.destroy = (void (*)(void *)) FXRbObject::freefunc;
11320
+ SwigClassFXColorList.cext_type.function.dfree = SWIG_Ruby_free_swig_type;
10994
11321
  SwigClassFXColorList.trackObjects = 0;
10995
11322
  }
10996
11323