fxruby 1.6.44 → 1.6.46

Sign up to get free protection for your applications and to get access to all the features.
Files changed (319) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/.github/workflows/binary.yml +89 -0
  4. data/.github/workflows/ci.yml +68 -0
  5. data/History.md +11 -0
  6. data/{README.rdoc → README.md} +18 -14
  7. data/Rakefile +27 -8
  8. data/appveyor.yml +8 -14
  9. data/doap.rdf +2 -2
  10. data/docs/Fox/Canvas/CanvasError.html +3 -3
  11. data/docs/Fox/Canvas/CircleShape.html +3 -3
  12. data/docs/Fox/Canvas/ImageShape.html +3 -3
  13. data/docs/Fox/Canvas/LineShape.html +3 -3
  14. data/docs/Fox/Canvas/PolygonShape.html +3 -3
  15. data/docs/Fox/Canvas/RectangleShape.html +3 -3
  16. data/docs/Fox/Canvas/SelectionPolicy.html +3 -3
  17. data/docs/Fox/Canvas/Shape.html +5 -5
  18. data/docs/Fox/Canvas/ShapeCanvas.html +6 -6
  19. data/docs/Fox/Canvas/ShapeGroup.html +3 -3
  20. data/docs/Fox/Canvas/SingleSelectionPolicy.html +3 -3
  21. data/docs/Fox/Canvas/TextShape.html +3 -3
  22. data/docs/Fox/Canvas.html +6 -6
  23. data/docs/Fox/FTNonModal.html +3 -3
  24. data/docs/Fox/FX4Splitter.html +3 -3
  25. data/docs/Fox/FX7Segment.html +3 -3
  26. data/docs/Fox/FXAccelTable.html +7 -7
  27. data/docs/Fox/FXApp.html +24 -24
  28. data/docs/Fox/FXArc.html +7 -7
  29. data/docs/Fox/FXArrowButton.html +3 -3
  30. data/docs/Fox/FXBMPIcon.html +3 -3
  31. data/docs/Fox/FXBMPImage.html +3 -3
  32. data/docs/Fox/FXBitmap.html +3 -3
  33. data/docs/Fox/FXBitmapFrame.html +3 -3
  34. data/docs/Fox/FXBitmapView.html +3 -3
  35. data/docs/Fox/FXButton.html +3 -3
  36. data/docs/Fox/FXCURCursor.html +3 -3
  37. data/docs/Fox/FXCalendar.html +3 -3
  38. data/docs/Fox/FXCanvas.html +3 -3
  39. data/docs/Fox/FXCheckButton.html +3 -3
  40. data/docs/Fox/FXChoiceBox.html +4 -4
  41. data/docs/Fox/FXColor.html +3 -3
  42. data/docs/Fox/FXColorBar.html +3 -3
  43. data/docs/Fox/FXColorDialog.html +4 -4
  44. data/docs/Fox/FXColorItem.html +3 -3
  45. data/docs/Fox/FXColorList.html +3 -3
  46. data/docs/Fox/FXColorRing.html +3 -3
  47. data/docs/Fox/FXColorSelector.html +3 -3
  48. data/docs/Fox/FXColorWell.html +5 -5
  49. data/docs/Fox/FXColorWheel.html +3 -3
  50. data/docs/Fox/FXComboBox.html +6 -6
  51. data/docs/Fox/FXComboTableItem.html +3 -3
  52. data/docs/Fox/FXCommand.html +4 -4
  53. data/docs/Fox/FXComposite.html +5 -5
  54. data/docs/Fox/FXCursor.html +3 -3
  55. data/docs/Fox/FXDC.html +9 -9
  56. data/docs/Fox/FXDCPrint.html +3 -3
  57. data/docs/Fox/FXDCWindow.html +3 -3
  58. data/docs/Fox/FXDataTarget.html +10 -10
  59. data/docs/Fox/FXDebugTarget.html +3 -3
  60. data/docs/Fox/FXDelegator.html +3 -3
  61. data/docs/Fox/FXDial.html +8 -8
  62. data/docs/Fox/FXDialogBox.html +4 -4
  63. data/docs/Fox/FXDict.html +3 -3
  64. data/docs/Fox/FXDirBox.html +3 -3
  65. data/docs/Fox/FXDirDialog.html +5 -5
  66. data/docs/Fox/FXDirItem.html +3 -3
  67. data/docs/Fox/FXDirList.html +7 -7
  68. data/docs/Fox/FXDirSelector.html +5 -5
  69. data/docs/Fox/FXDockBar.html +6 -6
  70. data/docs/Fox/FXDockHandler.html +3 -3
  71. data/docs/Fox/FXDockSite.html +6 -6
  72. data/docs/Fox/FXDockTitle.html +3 -3
  73. data/docs/Fox/FXDocument.html +3 -3
  74. data/docs/Fox/FXDragCorner.html +3 -3
  75. data/docs/Fox/FXDrawable.html +3 -3
  76. data/docs/Fox/FXDriveBox.html +3 -3
  77. data/docs/Fox/FXEvent.html +3 -3
  78. data/docs/Fox/FXExtentd.html +5 -5
  79. data/docs/Fox/FXExtentf.html +5 -5
  80. data/docs/Fox/FXFileAssoc.html +3 -3
  81. data/docs/Fox/FXFileDialog.html +8 -8
  82. data/docs/Fox/FXFileDict.html +3 -3
  83. data/docs/Fox/FXFileItem.html +3 -3
  84. data/docs/Fox/FXFileList.html +7 -7
  85. data/docs/Fox/FXFileSelector.html +11 -11
  86. data/docs/Fox/FXFileStream.html +3 -3
  87. data/docs/Fox/FXFoldingItem.html +5 -5
  88. data/docs/Fox/FXFoldingList.html +38 -38
  89. data/docs/Fox/FXFont.html +4 -4
  90. data/docs/Fox/FXFontDesc.html +3 -3
  91. data/docs/Fox/FXFontDialog.html +3 -3
  92. data/docs/Fox/FXFontSelector.html +3 -3
  93. data/docs/Fox/FXFrame.html +3 -3
  94. data/docs/Fox/FXGIFCursor.html +3 -3
  95. data/docs/Fox/FXGIFIcon.html +3 -3
  96. data/docs/Fox/FXGIFImage.html +3 -3
  97. data/docs/Fox/FXGLCanvas.html +5 -5
  98. data/docs/Fox/FXGLCone.html +3 -3
  99. data/docs/Fox/FXGLContext.html +3 -3
  100. data/docs/Fox/FXGLCube.html +3 -3
  101. data/docs/Fox/FXGLCylinder.html +3 -3
  102. data/docs/Fox/FXGLGroup.html +3 -3
  103. data/docs/Fox/FXGLLine.html +3 -3
  104. data/docs/Fox/FXGLObject.html +10 -10
  105. data/docs/Fox/FXGLPoint.html +3 -3
  106. data/docs/Fox/FXGLShape.html +3 -3
  107. data/docs/Fox/FXGLSphere.html +3 -3
  108. data/docs/Fox/FXGLViewer.html +3 -3
  109. data/docs/Fox/FXGLVisual.html +3 -3
  110. data/docs/Fox/FXGradient.html +3 -3
  111. data/docs/Fox/FXGradientBar.html +17 -17
  112. data/docs/Fox/FXGroupBox.html +5 -5
  113. data/docs/Fox/FXHeader.html +17 -17
  114. data/docs/Fox/FXHeaderItem.html +15 -15
  115. data/docs/Fox/FXHiliteStyle.html +3 -3
  116. data/docs/Fox/FXHorizontalFrame.html +4 -4
  117. data/docs/Fox/FXHorizontalSeparator.html +3 -3
  118. data/docs/Fox/FXICOIcon.html +3 -3
  119. data/docs/Fox/FXICOImage.html +3 -3
  120. data/docs/Fox/FXIcon.html +3 -3
  121. data/docs/Fox/FXIconDict.html +3 -3
  122. data/docs/Fox/FXIconItem.html +5 -5
  123. data/docs/Fox/FXIconList.html +19 -19
  124. data/docs/Fox/FXIconSource.html +7 -7
  125. data/docs/Fox/FXId.html +3 -3
  126. data/docs/Fox/FXImage.html +6 -6
  127. data/docs/Fox/FXImageFrame.html +3 -3
  128. data/docs/Fox/FXImageView.html +3 -3
  129. data/docs/Fox/FXInputDialog.html +5 -5
  130. data/docs/Fox/FXIrb.html +6 -6
  131. data/docs/Fox/FXJPGIcon.html +3 -3
  132. data/docs/Fox/FXJPGImage.html +3 -3
  133. data/docs/Fox/FXKnob.html +7 -7
  134. data/docs/Fox/FXLabel.html +5 -5
  135. data/docs/Fox/FXLight.html +3 -3
  136. data/docs/Fox/FXList.html +24 -24
  137. data/docs/Fox/FXListBox.html +7 -7
  138. data/docs/Fox/FXListItem.html +5 -5
  139. data/docs/Fox/FXMDIChild.html +6 -6
  140. data/docs/Fox/FXMDIClient.html +4 -4
  141. data/docs/Fox/FXMDIDeleteButton.html +3 -3
  142. data/docs/Fox/FXMDIMaximizeButton.html +3 -3
  143. data/docs/Fox/FXMDIMenu.html +3 -3
  144. data/docs/Fox/FXMDIMinimizeButton.html +3 -3
  145. data/docs/Fox/FXMDIRestoreButton.html +3 -3
  146. data/docs/Fox/FXMDIWindowButton.html +3 -3
  147. data/docs/Fox/FXMainWindow.html +3 -3
  148. data/docs/Fox/FXMaterial.html +3 -3
  149. data/docs/Fox/FXMatrix.html +3 -3
  150. data/docs/Fox/FXMemoryBuffer.html +3 -3
  151. data/docs/Fox/FXMemoryStream.html +3 -3
  152. data/docs/Fox/FXMenuBar.html +3 -3
  153. data/docs/Fox/FXMenuButton.html +6 -6
  154. data/docs/Fox/FXMenuCaption.html +5 -5
  155. data/docs/Fox/FXMenuCascade.html +3 -3
  156. data/docs/Fox/FXMenuCheck.html +3 -3
  157. data/docs/Fox/FXMenuCommand.html +3 -3
  158. data/docs/Fox/FXMenuPane.html +3 -3
  159. data/docs/Fox/FXMenuRadio.html +3 -3
  160. data/docs/Fox/FXMenuSeparator.html +3 -3
  161. data/docs/Fox/FXMenuTitle.html +3 -3
  162. data/docs/Fox/FXMessageBox.html +5 -5
  163. data/docs/Fox/FXObject.html +4 -4
  164. data/docs/Fox/FXOption.html +3 -3
  165. data/docs/Fox/FXOptionMenu.html +3 -3
  166. data/docs/Fox/FXPCXIcon.html +3 -3
  167. data/docs/Fox/FXPCXImage.html +3 -3
  168. data/docs/Fox/FXPNGIcon.html +3 -3
  169. data/docs/Fox/FXPNGImage.html +3 -3
  170. data/docs/Fox/FXPPMIcon.html +3 -3
  171. data/docs/Fox/FXPPMImage.html +3 -3
  172. data/docs/Fox/FXPSBounds.html +3 -3
  173. data/docs/Fox/FXPacker.html +3 -3
  174. data/docs/Fox/FXPicker.html +3 -3
  175. data/docs/Fox/FXPopup.html +3 -3
  176. data/docs/Fox/FXPrintDialog.html +3 -3
  177. data/docs/Fox/FXPrinter.html +3 -3
  178. data/docs/Fox/FXProgressBar.html +3 -3
  179. data/docs/Fox/FXProgressDialog.html +3 -3
  180. data/docs/Fox/FXPseudoKeyboard.html +3 -3
  181. data/docs/Fox/FXPseudoMouse.html +3 -3
  182. data/docs/Fox/FXPseudoTarget.html +3 -3
  183. data/docs/Fox/FXQuatd.html +3 -3
  184. data/docs/Fox/FXQuatf.html +3 -3
  185. data/docs/Fox/FXRGBIcon.html +3 -3
  186. data/docs/Fox/FXRGBImage.html +3 -3
  187. data/docs/Fox/FXRadioButton.html +3 -3
  188. data/docs/Fox/FXRanged.html +3 -3
  189. data/docs/Fox/FXRangef.html +3 -3
  190. data/docs/Fox/FXRealSlider.html +3 -3
  191. data/docs/Fox/FXRealSpinner.html +16 -16
  192. data/docs/Fox/FXRecentFiles.html +3 -3
  193. data/docs/Fox/FXRectangle.html +11 -11
  194. data/docs/Fox/FXRegion.html +3 -3
  195. data/docs/Fox/FXRegistry.html +5 -5
  196. data/docs/Fox/FXReplaceDialog.html +3 -3
  197. data/docs/Fox/FXRootWindow.html +3 -3
  198. data/docs/Fox/FXRuler.html +3 -3
  199. data/docs/Fox/FXRulerView.html +26 -26
  200. data/docs/Fox/FXScintilla.html +21 -21
  201. data/docs/Fox/FXScrollArea.html +5 -5
  202. data/docs/Fox/FXScrollBar.html +3 -3
  203. data/docs/Fox/FXScrollCorner.html +3 -3
  204. data/docs/Fox/FXScrollPane.html +3 -3
  205. data/docs/Fox/FXScrollWindow.html +4 -4
  206. data/docs/Fox/FXSearchDialog.html +3 -3
  207. data/docs/Fox/FXSegment.html +3 -3
  208. data/docs/Fox/FXSeparator.html +4 -4
  209. data/docs/Fox/FXSettings.html +3 -3
  210. data/docs/Fox/FXShell.html +3 -3
  211. data/docs/Fox/FXShutter.html +4 -4
  212. data/docs/Fox/FXShutterItem.html +3 -3
  213. data/docs/Fox/FXSize.html +3 -3
  214. data/docs/Fox/FXSlider.html +3 -3
  215. data/docs/Fox/FXSphered.html +3 -3
  216. data/docs/Fox/FXSpheref.html +3 -3
  217. data/docs/Fox/FXSpinner.html +16 -16
  218. data/docs/Fox/FXSplashScreen.html +3 -3
  219. data/docs/Fox/FXSplashWindow.html +5 -5
  220. data/docs/Fox/FXSplitter.html +3 -3
  221. data/docs/Fox/FXSpring.html +3 -3
  222. data/docs/Fox/FXStatusBar.html +3 -3
  223. data/docs/Fox/FXStatusLine.html +4 -4
  224. data/docs/Fox/FXStream.html +4 -4
  225. data/docs/Fox/FXStreamAllocError.html +3 -3
  226. data/docs/Fox/FXStreamEndError.html +3 -3
  227. data/docs/Fox/FXStreamError.html +3 -3
  228. data/docs/Fox/FXStreamFailureError.html +3 -3
  229. data/docs/Fox/FXStreamFormatError.html +3 -3
  230. data/docs/Fox/FXStreamFullError.html +4 -4
  231. data/docs/Fox/FXStreamNoReadError.html +3 -3
  232. data/docs/Fox/FXStreamNoWriteError.html +3 -3
  233. data/docs/Fox/FXStreamUnknownError.html +3 -3
  234. data/docs/Fox/FXStringDict.html +4 -4
  235. data/docs/Fox/FXSwitcher.html +8 -8
  236. data/docs/Fox/FXTGAIcon.html +3 -3
  237. data/docs/Fox/FXTGAImage.html +3 -3
  238. data/docs/Fox/FXTIFIcon.html +3 -3
  239. data/docs/Fox/FXTIFImage.html +3 -3
  240. data/docs/Fox/FXTabBar.html +8 -8
  241. data/docs/Fox/FXTabBook.html +4 -4
  242. data/docs/Fox/FXTabItem.html +3 -3
  243. data/docs/Fox/FXTable.html +27 -27
  244. data/docs/Fox/FXTableItem.html +5 -5
  245. data/docs/Fox/FXTablePos.html +3 -3
  246. data/docs/Fox/FXTableRange.html +3 -3
  247. data/docs/Fox/FXText.html +25 -25
  248. data/docs/Fox/FXTextChange.html +3 -3
  249. data/docs/Fox/FXTextField.html +5 -5
  250. data/docs/Fox/FXToggleButton.html +7 -7
  251. data/docs/Fox/FXToolBar.html +3 -3
  252. data/docs/Fox/FXToolBarGrip.html +3 -3
  253. data/docs/Fox/FXToolBarShell.html +3 -3
  254. data/docs/Fox/FXToolBarTab.html +5 -5
  255. data/docs/Fox/FXToolTip.html +5 -5
  256. data/docs/Fox/FXTopWindow.html +4 -4
  257. data/docs/Fox/FXTranslator.html +3 -3
  258. data/docs/Fox/FXTreeItem.html +19 -19
  259. data/docs/Fox/FXTreeList.html +40 -40
  260. data/docs/Fox/FXTreeListBox.html +27 -27
  261. data/docs/Fox/FXTriStateButton.html +9 -9
  262. data/docs/Fox/FXUndoList.html +8 -8
  263. data/docs/Fox/FXVec2d.html +7 -7
  264. data/docs/Fox/FXVec2f.html +7 -7
  265. data/docs/Fox/FXVec3d.html +7 -7
  266. data/docs/Fox/FXVec3f.html +7 -7
  267. data/docs/Fox/FXVec4d.html +7 -7
  268. data/docs/Fox/FXVec4f.html +7 -7
  269. data/docs/Fox/FXVerticalFrame.html +4 -4
  270. data/docs/Fox/FXVerticalSeparator.html +3 -3
  271. data/docs/Fox/FXViewport.html +3 -3
  272. data/docs/Fox/FXVisual.html +3 -3
  273. data/docs/Fox/FXWindow.html +36 -36
  274. data/docs/Fox/FXWizard.html +3 -3
  275. data/docs/Fox/FXXBMIcon.html +3 -3
  276. data/docs/Fox/FXXBMImage.html +3 -3
  277. data/docs/Fox/FXXPMIcon.html +3 -3
  278. data/docs/Fox/FXXPMImage.html +3 -3
  279. data/docs/Fox/NotifyHeader.html +3 -3
  280. data/docs/Fox/SCNotification.html +3 -3
  281. data/docs/Fox/TextRange.html +3 -3
  282. data/docs/Fox.html +7 -7
  283. data/docs/IRB.html +3 -3
  284. data/docs/Responder.html +4 -4
  285. data/docs/Responder2.html +3 -3
  286. data/docs/_index.html +3 -3
  287. data/docs/css/style.css +1 -0
  288. data/docs/file.History.html +66 -52
  289. data/docs/file.README.html +7 -7
  290. data/docs/index.html +13 -7
  291. data/docs/top-level-namespace.html +3 -3
  292. data/ext/fox16_c/core_wrap.cpp +5 -3
  293. data/ext/fox16_c/dc_wrap.cpp +5 -3
  294. data/ext/fox16_c/dialogs_wrap.cpp +5 -3
  295. data/ext/fox16_c/extconf.rb +10 -10
  296. data/ext/fox16_c/frames_wrap.cpp +5 -3
  297. data/ext/fox16_c/fx3d_wrap.cpp +5 -3
  298. data/ext/fox16_c/iconlist_wrap.cpp +5 -3
  299. data/ext/fox16_c/icons_wrap.cpp +5 -3
  300. data/ext/fox16_c/image_wrap.cpp +5 -3
  301. data/ext/fox16_c/label_wrap.cpp +5 -3
  302. data/ext/fox16_c/layout_wrap.cpp +5 -3
  303. data/ext/fox16_c/list_wrap.cpp +5 -3
  304. data/ext/fox16_c/mdi_wrap.cpp +5 -3
  305. data/ext/fox16_c/menu_wrap.cpp +5 -3
  306. data/ext/fox16_c/scintilla_wrap.cpp +5 -3
  307. data/ext/fox16_c/swigruby.h +4 -2
  308. data/ext/fox16_c/table_wrap.cpp +5 -3
  309. data/ext/fox16_c/text_wrap.cpp +5 -3
  310. data/ext/fox16_c/treelist_wrap.cpp +5 -3
  311. data/ext/fox16_c/ui_wrap.cpp +5 -3
  312. data/fxruby.gemspec +9 -1
  313. data/lib/fox16/kwargs.rb +891 -891
  314. data/lib/fox16/version.rb +1 -1
  315. data/lib/fox16.rb +2 -4
  316. data/test/TC_FXDCPrint.rb +1 -1
  317. data.tar.gz.sig +0 -0
  318. metadata +270 -29
  319. metadata.gz.sig +0 -0
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1800,7 +1802,7 @@ SWIGRUNTIME void
1800
1802
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1801
1803
  {
1802
1804
  /* register a new class */
1803
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1805
+ VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1804
1806
  /* create and store the structure pointer to a global variable */
1805
1807
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1806
1808
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -2002,7 +2004,7 @@ static swig_module_info swig_module = {swig_types, 128, 0, 0, 0, 0};
2002
2004
  #define SWIG_RUBY_THREAD_END_BLOCK
2003
2005
 
2004
2006
 
2005
- #define SWIGVERSION 0x040001
2007
+ #define SWIGVERSION 0x040002
2006
2008
  #define SWIG_VERSION SWIGVERSION
2007
2009
 
2008
2010
 
@@ -20,20 +20,20 @@ def fxscintilla_support_suppressed?
20
20
  !with_config("fxscintilla", true)
21
21
  end
22
22
 
23
- # Stick at zlib-1.2.7 for compatibility to MSYS1 based RubyInstaller.
24
- LIBZ_VERSION = ENV['LIBZ_VERSION'] || '1.2.7.3'
23
+ LIBZ_VERSION = ENV['LIBZ_VERSION'] || '1.2.13'
25
24
  LIBZ_SOURCE_URI = "http://zlib.net/fossils/zlib-#{LIBZ_VERSION}.tar.gz"
26
25
 
27
- LIBPNG_VERSION = ENV['LIBPNG_VERSION'] || '1.6.37'
28
- LIBPNG_SOURCE_URI = "http://prdownloads.sourceforge.net/libpng/libpng-#{LIBPNG_VERSION}.tar.gz"
26
+ LIBPNG_VERSION = ENV['LIBPNG_VERSION'] || '1.6.39'
27
+ # LIBPNG_SOURCE_URI = "http://prdownloads.sourceforge.net/libpng/libpng-#{LIBPNG_VERSION}.tar.gz"
28
+ LIBPNG_SOURCE_URI = "https://netcologne.dl.sourceforge.net/project/libpng/libpng16/#{LIBPNG_VERSION}/libpng-#{LIBPNG_VERSION}.tar.xz"
29
29
 
30
30
  # LIBJPEG_VERSION = ENV['LIBJPEG_VERSION'] || '9b'
31
31
  # LIBJPEG_SOURCE_URI = "http://www.ijg.org/files/jpegsrc.v#{LIBJPEG_VERSION}.tar.gz"
32
32
 
33
- LIBJPEG_VERSION = ENV['LIBJPEG_VERSION'] || '2.0.6'
33
+ LIBJPEG_VERSION = ENV['LIBJPEG_VERSION'] || '2.1.5.1'
34
34
  LIBJPEG_SOURCE_URI = "https://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-#{LIBJPEG_VERSION}.tar.gz"
35
35
 
36
- LIBTIFF_VERSION = ENV['LIBTIFF_VERSION'] || '4.1.0'
36
+ LIBTIFF_VERSION = ENV['LIBTIFF_VERSION'] || '4.5.0'
37
37
  LIBTIFF_SOURCE_URI = "http://download.osgeo.org/libtiff/tiff-#{LIBTIFF_VERSION}.tar.gz"
38
38
 
39
39
  LIBFOX_VERSION = ENV['LIBFOX_VERSION'] || '1.6.57'
@@ -50,12 +50,12 @@ module BuildRecipeCommons
50
50
  self.files = files
51
51
  rootdir = File.expand_path('../../..', __FILE__)
52
52
  self.target = File.join(rootdir, "ports")
53
- self.host = RbConfig::CONFIG["host"]
53
+ self.host = RbConfig::CONFIG["CC"].match(/(.*)-/)[1]
54
54
  self.patch_files = Dir[File.join(rootdir, "patches", self.name, self.version, "*.diff")].sort
55
55
  end
56
56
 
57
57
  def port_path
58
- "#{target}/#{host}"
58
+ "#{target}/#{RUBY_PLATFORM}"
59
59
  end
60
60
 
61
61
  # When using rake-compiler-dock on Windows, the underlying Virtualbox shared
@@ -69,7 +69,7 @@ module BuildRecipeCommons
69
69
  end
70
70
 
71
71
  def cook_and_activate
72
- checkpoint = File.join(self.target, "#{self.name}-#{self.version}-#{self.host}.installed")
72
+ checkpoint = File.join(self.target, "#{self.name}-#{self.version}-#{RUBY_PLATFORM}.installed")
73
73
  unless File.exist?(checkpoint)
74
74
  chdir_for_build do
75
75
  self.cook
@@ -178,7 +178,7 @@ def do_rake_compiler_setup
178
178
  "--without-xft",
179
179
  "--without-x",
180
180
  debug ? "--enable-debug" : "--enable-release",
181
- "CPPFLAGS=-I#{libjpeg_recipe.path}/include -I#{libpng_recipe.path}/include -I#{libtiff_recipe.path}/include -I#{libz_recipe.path}/include -DUNICODE=1 #{debug ? "-ggdb" : ""}",
181
+ "CPPFLAGS=-I#{libjpeg_recipe.path}/include -I#{libpng_recipe.path}/include -I#{libtiff_recipe.path}/include -I#{libz_recipe.path}/include -DUNICODE=1 #{debug ? "-ggdb" : ""} -D__USE_MINGW_ANSI_STDIO=1 -DHAVE_VSSCANF",
182
182
  "LDFLAGS=-L#{libjpeg_recipe.path}/lib -L#{libpng_recipe.path}/lib -L#{libtiff_recipe.path}/lib -L#{libz_recipe.path}/lib #{debug ? "-ggdb" : ""}",
183
183
  ]
184
184
  recipe.cook_and_activate
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1800,7 +1802,7 @@ SWIGRUNTIME void
1800
1802
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1801
1803
  {
1802
1804
  /* register a new class */
1803
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1805
+ VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1804
1806
  /* create and store the structure pointer to a global variable */
1805
1807
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1806
1808
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -1946,7 +1948,7 @@ static swig_module_info swig_module = {swig_types, 72, 0, 0, 0, 0};
1946
1948
  #define SWIG_RUBY_THREAD_END_BLOCK
1947
1949
 
1948
1950
 
1949
- #define SWIGVERSION 0x040001
1951
+ #define SWIGVERSION 0x040002
1950
1952
  #define SWIG_VERSION SWIGVERSION
1951
1953
 
1952
1954
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1800,7 +1802,7 @@ SWIGRUNTIME void
1800
1802
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1801
1803
  {
1802
1804
  /* register a new class */
1803
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1805
+ VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1804
1806
  /* create and store the structure pointer to a global variable */
1805
1807
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1806
1808
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -2012,7 +2014,7 @@ static swig_module_info swig_module = {swig_types, 138, 0, 0, 0, 0};
2012
2014
  #define SWIG_RUBY_THREAD_END_BLOCK
2013
2015
 
2014
2016
 
2015
- #define SWIGVERSION 0x040001
2017
+ #define SWIGVERSION 0x040002
2016
2018
  #define SWIG_VERSION SWIGVERSION
2017
2019
 
2018
2020
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1800,7 +1802,7 @@ SWIGRUNTIME void
1800
1802
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1801
1803
  {
1802
1804
  /* register a new class */
1803
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1805
+ VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1804
1806
  /* create and store the structure pointer to a global variable */
1805
1807
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1806
1808
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -1942,7 +1944,7 @@ static swig_module_info swig_module = {swig_types, 68, 0, 0, 0, 0};
1942
1944
  #define SWIG_RUBY_THREAD_END_BLOCK
1943
1945
 
1944
1946
 
1945
- #define SWIGVERSION 0x040001
1947
+ #define SWIGVERSION 0x040002
1946
1948
  #define SWIG_VERSION SWIGVERSION
1947
1949
 
1948
1950
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1800,7 +1802,7 @@ SWIGRUNTIME void
1800
1802
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1801
1803
  {
1802
1804
  /* register a new class */
1803
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1805
+ VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1804
1806
  /* create and store the structure pointer to a global variable */
1805
1807
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1806
1808
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -2011,7 +2013,7 @@ static swig_module_info swig_module = {swig_types, 137, 0, 0, 0, 0};
2011
2013
  #define SWIG_RUBY_THREAD_END_BLOCK
2012
2014
 
2013
2015
 
2014
- #define SWIGVERSION 0x040001
2016
+ #define SWIGVERSION 0x040002
2015
2017
  #define SWIG_VERSION SWIGVERSION
2016
2018
 
2017
2019
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1800,7 +1802,7 @@ SWIGRUNTIME void
1800
1802
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1801
1803
  {
1802
1804
  /* register a new class */
1803
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1805
+ VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1804
1806
  /* create and store the structure pointer to a global variable */
1805
1807
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1806
1808
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -1998,7 +2000,7 @@ static swig_module_info swig_module = {swig_types, 124, 0, 0, 0, 0};
1998
2000
  #define SWIG_RUBY_THREAD_END_BLOCK
1999
2001
 
2000
2002
 
2001
- #define SWIGVERSION 0x040001
2003
+ #define SWIGVERSION 0x040002
2002
2004
  #define SWIG_VERSION SWIGVERSION
2003
2005
 
2004
2006
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1800,7 +1802,7 @@ SWIGRUNTIME void
1800
1802
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1801
1803
  {
1802
1804
  /* register a new class */
1803
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1805
+ VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1804
1806
  /* create and store the structure pointer to a global variable */
1805
1807
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1806
1808
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -1955,7 +1957,7 @@ static swig_module_info swig_module = {swig_types, 81, 0, 0, 0, 0};
1955
1957
  #define SWIG_RUBY_THREAD_END_BLOCK
1956
1958
 
1957
1959
 
1958
- #define SWIGVERSION 0x040001
1960
+ #define SWIGVERSION 0x040002
1959
1961
  #define SWIG_VERSION SWIGVERSION
1960
1962
 
1961
1963
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1800,7 +1802,7 @@ SWIGRUNTIME void
1800
1802
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1801
1803
  {
1802
1804
  /* register a new class */
1803
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1805
+ VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1804
1806
  /* create and store the structure pointer to a global variable */
1805
1807
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1806
1808
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -1941,7 +1943,7 @@ static swig_module_info swig_module = {swig_types, 67, 0, 0, 0, 0};
1941
1943
  #define SWIG_RUBY_THREAD_END_BLOCK
1942
1944
 
1943
1945
 
1944
- #define SWIGVERSION 0x040001
1946
+ #define SWIGVERSION 0x040002
1945
1947
  #define SWIG_VERSION SWIGVERSION
1946
1948
 
1947
1949
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1800,7 +1802,7 @@ SWIGRUNTIME void
1800
1802
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1801
1803
  {
1802
1804
  /* register a new class */
1803
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1805
+ VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1804
1806
  /* create and store the structure pointer to a global variable */
1805
1807
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1806
1808
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -1940,7 +1942,7 @@ static swig_module_info swig_module = {swig_types, 66, 0, 0, 0, 0};
1940
1942
  #define SWIG_RUBY_THREAD_END_BLOCK
1941
1943
 
1942
1944
 
1943
- #define SWIGVERSION 0x040001
1945
+ #define SWIGVERSION 0x040002
1944
1946
  #define SWIG_VERSION SWIGVERSION
1945
1947
 
1946
1948
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1800,7 +1802,7 @@ SWIGRUNTIME void
1800
1802
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1801
1803
  {
1802
1804
  /* register a new class */
1803
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1805
+ VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1804
1806
  /* create and store the structure pointer to a global variable */
1805
1807
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1806
1808
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -2014,7 +2016,7 @@ static swig_module_info swig_module = {swig_types, 140, 0, 0, 0, 0};
2014
2016
  #define SWIG_RUBY_THREAD_END_BLOCK
2015
2017
 
2016
2018
 
2017
- #define SWIGVERSION 0x040001
2019
+ #define SWIGVERSION 0x040002
2018
2020
  #define SWIG_VERSION SWIGVERSION
2019
2021
 
2020
2022
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1800,7 +1802,7 @@ SWIGRUNTIME void
1800
1802
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1801
1803
  {
1802
1804
  /* register a new class */
1803
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1805
+ VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1804
1806
  /* create and store the structure pointer to a global variable */
1805
1807
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1806
1808
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -1995,7 +1997,7 @@ static swig_module_info swig_module = {swig_types, 121, 0, 0, 0, 0};
1995
1997
  #define SWIG_RUBY_THREAD_END_BLOCK
1996
1998
 
1997
1999
 
1998
- #define SWIGVERSION 0x040001
2000
+ #define SWIGVERSION 0x040002
1999
2001
  #define SWIG_VERSION SWIGVERSION
2000
2002
 
2001
2003
 
@@ -1,7 +1,7 @@
1
1
  #ifdef WITH_FXSCINTILLA
2
2
  /* ----------------------------------------------------------------------------
3
3
  * This file was automatically generated by SWIG (http://www.swig.org).
4
- * Version 4.0.1
4
+ * Version 4.0.2
5
5
  *
6
6
  * This file is not intended to be easily readable and contains a number of
7
7
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1626,6 +1626,8 @@ SWIGRUNTIMEINLINE char *
1626
1626
  SWIG_Ruby_MangleStr(VALUE obj)
1627
1627
  {
1628
1628
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1629
+ if (NIL_P(stype))
1630
+ return NULL;
1629
1631
  return StringValuePtr(stype);
1630
1632
  }
1631
1633
 
@@ -1801,7 +1803,7 @@ SWIGRUNTIME void
1801
1803
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1802
1804
  {
1803
1805
  /* register a new class */
1804
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1806
+ VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1805
1807
  /* create and store the structure pointer to a global variable */
1806
1808
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1807
1809
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -1990,7 +1992,7 @@ static swig_module_info swig_module = {swig_types, 115, 0, 0, 0, 0};
1990
1992
  #define SWIG_RUBY_THREAD_END_BLOCK
1991
1993
 
1992
1994
 
1993
- #define SWIGVERSION 0x040001
1995
+ #define SWIGVERSION 0x040002
1994
1996
  #define SWIG_VERSION SWIGVERSION
1995
1997
 
1996
1998
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1464,6 +1464,8 @@ SWIGRUNTIMEINLINE char *
1464
1464
  SWIG_Ruby_MangleStr(VALUE obj)
1465
1465
  {
1466
1466
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1467
+ if (NIL_P(stype))
1468
+ return NULL;
1467
1469
  return StringValuePtr(stype);
1468
1470
  }
1469
1471
 
@@ -1639,7 +1641,7 @@ SWIGRUNTIME void
1639
1641
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1640
1642
  {
1641
1643
  /* register a new class */
1642
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1644
+ VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1643
1645
  /* create and store the structure pointer to a global variable */
1644
1646
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1645
1647
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1800,7 +1802,7 @@ SWIGRUNTIME void
1800
1802
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1801
1803
  {
1802
1804
  /* register a new class */
1803
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1805
+ VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1804
1806
  /* create and store the structure pointer to a global variable */
1805
1807
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1806
1808
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -1993,7 +1995,7 @@ static swig_module_info swig_module = {swig_types, 119, 0, 0, 0, 0};
1993
1995
  #define SWIG_RUBY_THREAD_END_BLOCK
1994
1996
 
1995
1997
 
1996
- #define SWIGVERSION 0x040001
1998
+ #define SWIGVERSION 0x040002
1997
1999
  #define SWIG_VERSION SWIGVERSION
1998
2000
 
1999
2001
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1800,7 +1802,7 @@ SWIGRUNTIME void
1800
1802
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1801
1803
  {
1802
1804
  /* register a new class */
1803
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1805
+ VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1804
1806
  /* create and store the structure pointer to a global variable */
1805
1807
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1806
1808
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -1989,7 +1991,7 @@ static swig_module_info swig_module = {swig_types, 115, 0, 0, 0, 0};
1989
1991
  #define SWIG_RUBY_THREAD_END_BLOCK
1990
1992
 
1991
1993
 
1992
- #define SWIGVERSION 0x040001
1994
+ #define SWIGVERSION 0x040002
1993
1995
  #define SWIG_VERSION SWIGVERSION
1994
1996
 
1995
1997
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1800,7 +1802,7 @@ SWIGRUNTIME void
1800
1802
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1801
1803
  {
1802
1804
  /* register a new class */
1803
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1805
+ VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1804
1806
  /* create and store the structure pointer to a global variable */
1805
1807
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1806
1808
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -1992,7 +1994,7 @@ static swig_module_info swig_module = {swig_types, 118, 0, 0, 0, 0};
1992
1994
  #define SWIG_RUBY_THREAD_END_BLOCK
1993
1995
 
1994
1996
 
1995
- #define SWIGVERSION 0x040001
1997
+ #define SWIGVERSION 0x040002
1996
1998
  #define SWIG_VERSION SWIGVERSION
1997
1999
 
1998
2000
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1800,7 +1802,7 @@ SWIGRUNTIME void
1800
1802
  SWIG_Ruby_SetModule(swig_module_info *pointer)
1801
1803
  {
1802
1804
  /* register a new class */
1803
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1805
+ VALUE cl = rb_define_class("SWIG_RUNTIME_DATA", rb_cObject);rb_undef_alloc_func(cl);
1804
1806
  /* create and store the structure pointer to a global variable */
1805
1807
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1806
1808
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
@@ -1990,7 +1992,7 @@ static swig_module_info swig_module = {swig_types, 116, 0, 0, 0, 0};
1990
1992
  #define SWIG_RUBY_THREAD_END_BLOCK
1991
1993
 
1992
1994
 
1993
- #define SWIGVERSION 0x040001
1995
+ #define SWIGVERSION 0x040002
1994
1996
  #define SWIG_VERSION SWIGVERSION
1995
1997
 
1996
1998