ruby-dcl 1.7.1 → 1.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (327) hide show
  1. checksums.yaml +5 -5
  2. data/ChangeLog +1149 -365
  3. data/LICENSE.txt +1 -1
  4. data/Rakefile +7 -11
  5. data/demo/gokuraku/hop/hop.rb +1 -2
  6. data/demo/gokuraku/jump/jump1.rb +1 -2
  7. data/demo/gokuraku/jump/jump2.rb +2 -3
  8. data/demo/gokuraku/layout/lay1.rb +1 -2
  9. data/demo/gokuraku/layout/lay2.rb +1 -2
  10. data/demo/gokuraku/step/step0.rb +1 -2
  11. data/demo/gokuraku/step/step1.rb +1 -2
  12. data/demo/gokuraku/step/step2.rb +1 -2
  13. data/demo/gokuraku/u1d/u1d1.rb +1 -2
  14. data/demo/gokuraku/u1d/u1d2.rb +1 -2
  15. data/demo/gokuraku/u2d/u2d1.rb +1 -2
  16. data/demo/gokuraku/u2d/u2d2.rb +1 -2
  17. data/demo/gokuraku/u2d/u2d3.rb +1 -2
  18. data/demo/gokuraku/u2d/u2d4.rb +1 -2
  19. data/demo/grph1/scpack/scpkt2.rb +1 -2
  20. data/demo/grph1/scpack/scpkt3.rb +1 -2
  21. data/demo/grph1/scpack/scpkt6.rb +1 -2
  22. data/demo/grph1/scpack/scpkt7.rb +1 -2
  23. data/demo/grph1/scpack/scpkt8.rb +1 -2
  24. data/demo/grph1/sgpack/sgfont.rb +2 -3
  25. data/demo/grph1/sgpack/sgfonz.rb +2 -3
  26. data/demo/grph1/sgpack/sgksx1.rb +1 -2
  27. data/demo/grph1/sgpack/sgksx2.rb +1 -2
  28. data/demo/grph1/sgpack/sgksx3.rb +1 -2
  29. data/demo/grph1/sgpack/sglidx.rb +1 -2
  30. data/demo/grph1/sgpack/sgltyp.rb +1 -2
  31. data/demo/grph1/sgpack/sgpk01.rb +1 -2
  32. data/demo/grph1/sgpack/sgpk02.rb +1 -2
  33. data/demo/grph1/sgpack/sgpk03.rb +1 -2
  34. data/demo/grph1/sgpack/sgpk04.rb +1 -2
  35. data/demo/grph1/sgpack/sgpk05.rb +1 -2
  36. data/demo/grph1/sgpack/sgpk06.rb +1 -2
  37. data/demo/grph1/sgpack/sgpk07.rb +9 -8
  38. data/demo/grph1/sgpack/sgpk08.rb +1 -2
  39. data/demo/grph1/sgpack/sgpk09.rb +1 -2
  40. data/demo/grph1/sgpack/sgpk10.rb +1 -2
  41. data/demo/grph1/sgpack/sgtclr.rb +1 -2
  42. data/demo/grph1/sgpack/sgtone.rb +1 -2
  43. data/demo/grph1/sgpack/sgtonz.rb +1 -2
  44. data/demo/grph1/slpack/slpk01.rb +1 -2
  45. data/demo/grph1/slpack/slpk02.rb +1 -2
  46. data/demo/grph1/slpack/slpk03.rb +1 -2
  47. data/demo/grph1/slpack/slpk04.rb +2 -3
  48. data/demo/grph2/grpack/grpk01.rb +1 -2
  49. data/demo/grph2/ucpack/ucpk01.rb +1 -2
  50. data/demo/grph2/ucpack/ucpk02.rb +1 -2
  51. data/demo/grph2/udegpk/u2df01.rb +1 -2
  52. data/demo/grph2/udegpk/u2df02.rb +1 -2
  53. data/demo/grph2/udegpk/u2df03.rb +3 -4
  54. data/demo/grph2/udegpk/u2df04.rb +1 -2
  55. data/demo/grph2/udegpk/u2df05.rb +1 -2
  56. data/demo/grph2/udegpk/u2df06.rb +1 -2
  57. data/demo/grph2/udegpk/u2df07.rb +1 -2
  58. data/demo/grph2/udegpk/u2df08.rb +1 -2
  59. data/demo/grph2/udegpk/u2df09b.rb +0 -1
  60. data/demo/grph2/udegpk/u2df09c.rb +0 -1
  61. data/demo/grph2/udegpk/u2df09e.rb +0 -1
  62. data/demo/grph2/udegpk/u2df09f.rb +0 -1
  63. data/demo/grph2/uipack/uipk01.rb +1 -2
  64. data/demo/grph2/uipack/uipk02.rb +26 -18
  65. data/demo/grph2/uipack/uipk03.rb +50 -0
  66. data/demo/grph2/ulpack/ulpk01.rb +1 -2
  67. data/demo/grph2/ulpack/ulpk01n.rb +1 -2
  68. data/demo/grph2/ulpack/ulpk02.rb +1 -2
  69. data/demo/grph2/ulpack/ulpk02n.rb +1 -2
  70. data/demo/grph2/umpack/test01.rb +1 -2
  71. data/demo/grph2/umpack/test02.rb +1 -2
  72. data/demo/grph2/umpack/test03.rb +1 -2
  73. data/demo/grph2/umpack/test04.rb +2 -3
  74. data/demo/grph2/umpack/test05.rb +1 -2
  75. data/demo/grph2/umpack/test05r.rb +86 -0
  76. data/demo/grph2/umpack/test06.rb +1 -2
  77. data/demo/grph2/umpack/test07.rb +1 -2
  78. data/demo/grph2/umpack/test08.rb +1 -2
  79. data/demo/grph2/umpack/test10.rb +0 -1
  80. data/demo/grph2/umpack/umpk01.rb +1 -2
  81. data/demo/grph2/umpack/umpk02.rb +1 -2
  82. data/demo/grph2/umpack/umpk03.rb +1 -2
  83. data/demo/grph2/umpack/umpk04.rb +1 -2
  84. data/demo/grph2/umpack/umpk05.rb +1 -2
  85. data/demo/grph2/uspack/uspk01.rb +1 -2
  86. data/demo/grph2/uspack/uspk02.rb +1 -2
  87. data/demo/grph2/uspack/uspk03.rb +1 -2
  88. data/demo/grph2/uspack/uspk04.rb +1 -2
  89. data/demo/grph2/uspack/uspk05.rb +1 -2
  90. data/demo/grph2/uspack/uspk06.rb +2 -3
  91. data/demo/grph2/uspack/uspk07.rb +1 -2
  92. data/demo/grph2/uspack/uspk08.rb +2 -3
  93. data/demo/grph2/uspack/uspk09.rb +1 -2
  94. data/demo/grph2/uspack/uspk10.rb +1 -2
  95. data/demo/grph2/uspack/uspk11.rb +1 -2
  96. data/demo/grph2/uspack/uspk12.rb +1 -2
  97. data/demo/grph2/uupack/uupk01.rb +1 -2
  98. data/demo/grph2/uupack/uupk02.rb +1 -2
  99. data/demo/grph2/uupack/uupk03.rb +1 -2
  100. data/demo/grph2/uupack/uupk04.rb +1 -2
  101. data/demo/grph2/uupack/uupk05.rb +1 -2
  102. data/demo/grph2/uupack/uupk06.rb +1 -2
  103. data/demo/grph2/uupack/uupk07.rb +1 -2
  104. data/demo/grph2/uxyzpk/uxyz01.rb +1 -2
  105. data/demo/grph2/uxyzpk/uxyz02.rb +1 -2
  106. data/demo/grph2/uxyzpk/uxyz03.rb +1 -2
  107. data/demo/grph2/uxyzpk/uxyz04.rb +1 -2
  108. data/demo/grph2/uxyzpk/uxyz05.rb +1 -2
  109. data/demo/grph2/uxyzpk/uxyz06.rb +1 -2
  110. data/demo/grph2/uxyzpk/uxyz07.rb +1 -2
  111. data/demo/grph2/uxyzpk/uxyz08.rb +1 -2
  112. data/demo/grph2/uxyzpk/uxyz09.rb +1 -2
  113. data/demo/grph2/uxyzpk/uxyz10.rb +1 -2
  114. data/demo/grph2/ximage/ximg01.rb +2 -3
  115. data/demo/math1/clsplib/cslb01.rb +1 -2
  116. data/demo/math2/fftlib/fftl01.rb +1 -2
  117. data/demo/math2/fftlib/fftl02.rb +1 -2
  118. data/demo/math2/intrlib/intr01.rb +1 -2
  119. data/demo/math2/rnmlib/rnml01.rb +1 -2
  120. data/demo/math2/vstlib/vstl01.rb +1 -2
  121. data/demo/math2/vstlib/vstl02.rb +1 -2
  122. data/demo/misc2/tmpack/tmpk01.rb +46 -0
  123. data/demo/misc2/tmpack/tmpk02.rb +58 -0
  124. data/demo/misc2/tmpack/tmpk03.rb +56 -0
  125. data/demo/rakuraku/color/color1.rb +1 -2
  126. data/demo/rakuraku/color/color2.rb +5 -5
  127. data/demo/rakuraku/color/color3.rb +1 -2
  128. data/demo/rakuraku/kihon/kihon1.rb +1 -2
  129. data/demo/rakuraku/kihon/kihon2.rb +1 -2
  130. data/demo/rakuraku/kihon/kihon3.rb +1 -2
  131. data/demo/rakuraku/kihon/kihon4.rb +1 -2
  132. data/demo/rakuraku/kihon/kihon5.rb +1 -2
  133. data/demo/rakuraku/kihon/kihon6.rb +1 -2
  134. data/demo/rakuraku/kihon/kihon7.rb +10 -5
  135. data/demo/rakuraku/kihon/kihon8.rb +1 -2
  136. data/demo/rakuraku/kihon/kihon9.rb +1 -2
  137. data/demo/rakuraku/kihon/kihona.rb +1 -2
  138. data/demo/rakuraku/kihon/kihonb.rb +12 -11
  139. data/demo/rakuraku/kihon/kihonc.rb +1 -2
  140. data/demo/rakuraku/layout/lay1.rb +1 -2
  141. data/demo/rakuraku/layout/lay2.rb +1 -2
  142. data/demo/rakuraku/layout/lay3.rb +1 -2
  143. data/demo/rakuraku/map3d/map3d1.rb +1 -2
  144. data/demo/rakuraku/map3d/map3d2.rb +1 -2
  145. data/demo/rakuraku/map3d/map3d3.rb +1 -2
  146. data/demo/rakuraku/map3d/map3d4.rb +1 -2
  147. data/demo/rakuraku/map3d/map3d5.rb +1 -2
  148. data/demo/rakuraku/map3d/map3d6.rb +0 -1
  149. data/demo/rakuraku/map3d/map3d7.rb +0 -1
  150. data/demo/rakuraku/miss/miss1.rb +1 -2
  151. data/demo/rakuraku/miss/miss2.rb +1 -2
  152. data/demo/rakuraku/quick/quick1.rb +1 -2
  153. data/demo/rakuraku/quick/quick2.rb +1 -2
  154. data/demo/rakuraku/quick/quick3.rb +1 -2
  155. data/demo/rakuraku/quick/quick4.rb +1 -2
  156. data/demo/rakuraku/quick/quick5.rb +1 -2
  157. data/demo/rakuraku/u2d/u2d1.rb +1 -2
  158. data/demo/rakuraku/u2d/u2d2.rb +1 -2
  159. data/demo/rakuraku/u2d/u2d3.rb +1 -2
  160. data/demo/rakuraku/u2d/u2d4.rb +1 -2
  161. data/demo/rakuraku/u2d/u2d5.rb +1 -2
  162. data/demo/rakuraku/u2d/u2d6.rb +1 -2
  163. data/demo/rakuraku/u2d/u2d7.rb +1 -2
  164. data/demo/rakuraku/uspack/uspac1.rb +2 -3
  165. data/demo/rakuraku/uspack/uspac2.rb +1 -2
  166. data/demo/rakuraku/uspack/uspac3.rb +2 -3
  167. data/demo/rakuraku/uspack/uspac4.rb +1 -2
  168. data/demo/rakuraku/uxyz/uxyz1.rb +1 -2
  169. data/demo/rakuraku/uxyz/uxyz2.rb +1 -2
  170. data/demo/rakuraku/uxyz/uxyz3.rb +1 -2
  171. data/demo/rakuraku/uxyz/uxyz4.rb +1 -2
  172. data/demo/rakuraku/uxyz/uxyz5.rb +1 -2
  173. data/demo/rakuraku/uxyz/uxyz6.rb +1 -2
  174. data/demo/rakuraku/uxyz/uxyz7.rb +1 -2
  175. data/demo/rakuraku/uxyz/uxyz8.rb +1 -2
  176. data/demo/rubydcloriginal/uemrkz1.rb +0 -1
  177. data/ext/numru/dcl_cary2obj.c +29 -24
  178. data/ext/numru/dcl_narrayed_funcs.c +21 -21
  179. data/ext/numru/dcl_obj2cary.c +9 -5
  180. data/ext/numru/dcl_rubydcloriginal.c +14 -5
  181. data/ext/numru/extconf.rb +73 -61
  182. data/ext/numru/grph1_csgi.c +38 -8
  183. data/ext/numru/grph1_scpack.c +49 -46
  184. data/ext/numru/grph1_sgpack.c +167 -164
  185. data/ext/numru/grph1_slpack.c +23 -20
  186. data/ext/numru/grph1_stpack.c +44 -41
  187. data/ext/numru/grph1_swpack.c +155 -92
  188. data/ext/numru/grph2_grpack.c +22 -19
  189. data/ext/numru/grph2_ucpack.c +55 -52
  190. data/ext/numru/grph2_udpack.c +61 -58
  191. data/ext/numru/grph2_uepack.c +60 -57
  192. data/ext/numru/grph2_ugpack.c +49 -46
  193. data/ext/numru/grph2_uhpack.c +25 -22
  194. data/ext/numru/grph2_uipack.c +57 -54
  195. data/ext/numru/grph2_ulpack.c +59 -56
  196. data/ext/numru/grph2_umpack.c +75 -72
  197. data/ext/numru/grph2_uspack.c +97 -94
  198. data/ext/numru/grph2_uupack.c +78 -75
  199. data/ext/numru/grph2_uvpack.c +25 -22
  200. data/ext/numru/grph2_uwpack.c +30 -27
  201. data/ext/numru/grph2_uxpack.c +23 -20
  202. data/ext/numru/grph2_uypack.c +23 -20
  203. data/ext/numru/grph2_uzpack.c +69 -66
  204. data/ext/numru/init.c.default +6 -2
  205. data/ext/numru/math1_blklib.c +13 -10
  206. data/ext/numru/math1_chrlib.c +16 -13
  207. data/ext/numru/math1_clsplib.c +13 -10
  208. data/ext/numru/math1_fnclib.c +16 -13
  209. data/ext/numru/math1_gnmlib.c +21 -18
  210. data/ext/numru/math1_gt2dlib.c +18 -15
  211. data/ext/numru/math1_ifalib.c +18 -15
  212. data/ext/numru/math1_indxlib.c +24 -21
  213. data/ext/numru/math1_intlib.c +13 -10
  214. data/ext/numru/math1_lrllib.c +33 -30
  215. data/ext/numru/math1_maplib.c +14 -11
  216. data/ext/numru/math1_oslib.c +11 -8
  217. data/ext/numru/math1_rfalib.c +39 -36
  218. data/ext/numru/math1_rfblib.c +12 -9
  219. data/ext/numru/math1_sublib.c +13 -10
  220. data/ext/numru/math1_syslib.c +82 -79
  221. data/ext/numru/math1_vialib.c +31 -28
  222. data/ext/numru/math1_viblib.c +24 -21
  223. data/ext/numru/math1_vralib.c +31 -28
  224. data/ext/numru/math1_vrblib.c +24 -21
  225. data/ext/numru/math1_xfclib.c +12 -9
  226. data/ext/numru/math2_fftlib.c +28 -25
  227. data/ext/numru/math2_intrlib.c +11 -8
  228. data/ext/numru/math2_rnmlib.c +12 -9
  229. data/ext/numru/math2_shtlib.c +34 -31
  230. data/ext/numru/math2_vstlib.c +15 -12
  231. data/ext/numru/misc1_chnlib.c +12 -9
  232. data/ext/numru/misc1_datelib.c +36 -33
  233. data/ext/numru/misc1_fmtlib.c +10 -7
  234. data/ext/numru/misc1_misclib.c +11 -8
  235. data/ext/numru/misc1_randlib.c +13 -10
  236. data/ext/numru/misc1_timelib.c +20 -17
  237. data/ext/numru/misc2_tmpack.c +1200 -0
  238. data/lib/numru/dcl/dcl.rb +5676 -0
  239. data/lib/numru/dcl/version.rb +5 -0
  240. data/lib/numru/dcl.rb +6 -5580
  241. data/ruby-dcl.gemspec +13 -9
  242. metadata +25 -99
  243. data/.gitignore +0 -13
  244. data/.rspec +0 -2
  245. data/.travis.yml +0 -3
  246. data/GenWrapper/Makefile +0 -15
  247. data/GenWrapper/cproto2init.rb +0 -41
  248. data/GenWrapper/dcl_narrayed_funcs.rb +0 -181
  249. data/GenWrapper/dcl_rb_footing +0 -29
  250. data/GenWrapper/dcl_rb_heading +0 -123
  251. data/GenWrapper/def.rb +0 -20
  252. data/GenWrapper/elim_ary_size.rb +0 -398
  253. data/GenWrapper/etc/p_header +0 -64
  254. data/GenWrapper/pparse.rb +0 -137
  255. data/GenWrapper/proto/Makefile +0 -36
  256. data/GenWrapper/proto/grph1_00 +0 -17
  257. data/GenWrapper/proto/grph1_csgi.fp +0 -27
  258. data/GenWrapper/proto/grph1_scpack.fp +0 -442
  259. data/GenWrapper/proto/grph1_sgpack.fp +0 -1772
  260. data/GenWrapper/proto/grph1_slpack.fp +0 -316
  261. data/GenWrapper/proto/grph1_stpack.fp +0 -455
  262. data/GenWrapper/proto/grph1_swpack.fp +0 -826
  263. data/GenWrapper/proto/grph2_00 +0 -16
  264. data/GenWrapper/proto/grph2_grpack.fp +0 -139
  265. data/GenWrapper/proto/grph2_ucpack.fp +0 -522
  266. data/GenWrapper/proto/grph2_udpack.fp +0 -692
  267. data/GenWrapper/proto/grph2_uepack.fp +0 -601
  268. data/GenWrapper/proto/grph2_ugpack.fp +0 -436
  269. data/GenWrapper/proto/grph2_uhpack.fp +0 -246
  270. data/GenWrapper/proto/grph2_uipack.fp +0 -508
  271. data/GenWrapper/proto/grph2_ulpack.fp +0 -516
  272. data/GenWrapper/proto/grph2_umpack.fp +0 -676
  273. data/GenWrapper/proto/grph2_uspack.fp +0 -989
  274. data/GenWrapper/proto/grph2_uupack.fp +0 -663
  275. data/GenWrapper/proto/grph2_uvpack.fp +0 -246
  276. data/GenWrapper/proto/grph2_uwpack.fp +0 -203
  277. data/GenWrapper/proto/grph2_uxpack.fp +0 -295
  278. data/GenWrapper/proto/grph2_uypack.fp +0 -295
  279. data/GenWrapper/proto/grph2_uzpack.fp +0 -574
  280. data/GenWrapper/proto/math1_00 +0 -12
  281. data/GenWrapper/proto/math1_blklib.fp +0 -58
  282. data/GenWrapper/proto/math1_chrlib.fp +0 -83
  283. data/GenWrapper/proto/math1_clsplib.fp +0 -74
  284. data/GenWrapper/proto/math1_fnclib.fp +0 -79
  285. data/GenWrapper/proto/math1_gnmlib.fp +0 -118
  286. data/GenWrapper/proto/math1_gt2dlib.fp +0 -144
  287. data/GenWrapper/proto/math1_ifalib.fp +0 -123
  288. data/GenWrapper/proto/math1_indxlib.fp +0 -222
  289. data/GenWrapper/proto/math1_intlib.fp +0 -46
  290. data/GenWrapper/proto/math1_lrllib.fp +0 -276
  291. data/GenWrapper/proto/math1_maplib.fp +0 -24
  292. data/GenWrapper/proto/math1_oslib.fp +0 -28
  293. data/GenWrapper/proto/math1_rfalib.fp +0 -420
  294. data/GenWrapper/proto/math1_rfblib.fp +0 -51
  295. data/GenWrapper/proto/math1_sublib.fp +0 -60
  296. data/GenWrapper/proto/math1_syslib.fp +0 -767
  297. data/GenWrapper/proto/math1_vialib.fp +0 -339
  298. data/GenWrapper/proto/math1_viblib.fp +0 -264
  299. data/GenWrapper/proto/math1_vralib.fp +0 -339
  300. data/GenWrapper/proto/math1_vrblib.fp +0 -264
  301. data/GenWrapper/proto/math1_xfclib.fp +0 -68
  302. data/GenWrapper/proto/math2_00 +0 -12
  303. data/GenWrapper/proto/math2_fftlib.fp +0 -803
  304. data/GenWrapper/proto/math2_intrlib.fp +0 -32
  305. data/GenWrapper/proto/math2_odelib.fp_notused +0 -568
  306. data/GenWrapper/proto/math2_rnmlib.fp +0 -54
  307. data/GenWrapper/proto/math2_shtlib.fp +0 -1292
  308. data/GenWrapper/proto/math2_vstlib.fp +0 -84
  309. data/GenWrapper/proto/misc1_00 +0 -17
  310. data/GenWrapper/proto/misc1_chnlib.fp +0 -47
  311. data/GenWrapper/proto/misc1_datelib.fp +0 -352
  312. data/GenWrapper/proto/misc1_fmtlib.fp +0 -19
  313. data/GenWrapper/proto/misc1_misclib.fp +0 -26
  314. data/GenWrapper/proto/misc1_randlib.fp +0 -50
  315. data/GenWrapper/proto/misc1_timelib.fp +0 -151
  316. data/GenWrapper/proto2c.rb +0 -13
  317. data/GenWrapper/prototype.rb +0 -209
  318. data/GenWrapper/util.rb +0 -9
  319. data/GenWrapper/variable.rb +0 -671
  320. data/README +0 -29
  321. data/ToDo +0 -2
  322. data/bin/console +0 -14
  323. data/bin/setup +0 -7
  324. data/demo/grph2/ximage/MEMO +0 -23
  325. data/obsolete/README +0 -2
  326. data/obsolete/dcl_ext.html +0 -112
  327. data/obsolete/dcl_ext.rb +0 -313
@@ -1,10 +1,9 @@
1
1
  /*
2
- * $Id: p_header,v 1.3 2015/03/18 03:27:42 horinout Exp $
2
+ * $Id$
3
3
  */
4
4
 
5
5
  #include <stdio.h>
6
6
  #include "ruby.h"
7
- #include "libtinyf2c.h"
8
7
  #include "narray.h"
9
8
  #include "cdcl.h"
10
9
 
@@ -15,6 +14,10 @@
15
14
 
16
15
  #define DFLT_SIZE 32
17
16
 
17
+ #ifndef NARRAY_BIGMEM
18
+ typedef int na_shape_t;
19
+ #endif
20
+
18
21
  extern char *dcl_obj2ccharary(VALUE, int, int);
19
22
  extern integer *dcl_obj2cintegerary(VALUE);
20
23
  extern real *dcl_obj2crealary(VALUE);
@@ -22,10 +25,10 @@ extern complex *dcl_obj2ccomplexary(VALUE);
22
25
  extern logical *dcl_obj2clogicalary(VALUE);
23
26
 
24
27
  extern VALUE dcl_ccharary2obj(char *, int, int);
25
- extern VALUE dcl_cintegerary2obj(integer *, int, int, int *);
26
- extern VALUE dcl_crealary2obj(real *, int, int, int *);
27
- extern VALUE dcl_ccomplexary2obj(complex *, int, char *);
28
- extern VALUE dcl_clogicalary2obj(logical *, int, int, int *);
28
+ extern VALUE dcl_cintegerary2obj(integer *, na_shape_t, int, na_shape_t *);
29
+ extern VALUE dcl_crealary2obj(real *, na_shape_t, int, na_shape_t *);
30
+ /* extern VALUE dcl_ccomplexary2obj(complex *, int, char *); */
31
+ extern VALUE dcl_clogicalary2obj(logical *, na_shape_t, int, na_shape_t *);
29
32
 
30
33
  extern void dcl_freeccharary(char *);
31
34
  extern void dcl_freecintegerary(integer *);
@@ -66,7 +69,7 @@ static VALUE
66
69
  dcl_swdopn(obj)
67
70
  VALUE obj;
68
71
  {
69
- swdopn_();
72
+ swdopn__();
70
73
 
71
74
  return Qnil;
72
75
 
@@ -76,7 +79,7 @@ static VALUE
76
79
  dcl_swdcls(obj)
77
80
  VALUE obj;
78
81
  {
79
- swdcls_();
82
+ swdcls__();
80
83
 
81
84
  return Qnil;
82
85
 
@@ -91,7 +94,7 @@ dcl_swqfcc(obj)
91
94
  logical o_lfcatr;
92
95
  VALUE lfcatr;
93
96
 
94
- swqfcc_(&o_lfcatr);
97
+ swqfcc__(&o_lfcatr);
95
98
 
96
99
  lfcatr = (o_lfcatr == FALSE_) ? Qfalse : Qtrue;
97
100
 
@@ -111,7 +114,7 @@ dcl_swsfcm(obj)
111
114
  logical o_lfcmod;
112
115
  VALUE lfcmod;
113
116
 
114
- swsfcm_(&o_lfcmod);
117
+ swsfcm__(&o_lfcmod);
115
118
 
116
119
  lfcmod = (o_lfcmod == FALSE_) ? Qfalse : Qtrue;
117
120
 
@@ -126,7 +129,7 @@ static VALUE
126
129
  dcl_swpopn(obj)
127
130
  VALUE obj;
128
131
  {
129
- swpopn_();
132
+ swpopn__();
130
133
 
131
134
  return Qnil;
132
135
 
@@ -136,7 +139,7 @@ static VALUE
136
139
  dcl_swpcls(obj)
137
140
  VALUE obj;
138
141
  {
139
- swpcls_();
142
+ swpcls__();
140
143
 
141
144
  return Qnil;
142
145
 
@@ -160,7 +163,7 @@ dcl_swoopn(obj, cobj, comm)
160
163
  i_comm = StringValuePtr(comm);
161
164
 
162
165
 
163
- swoopn_(i_cobj, i_comm, (ftnlen)strlen(i_cobj), (ftnlen)strlen(i_comm));
166
+ swoopn__(i_cobj, i_comm, (ftnlen)strlen(i_cobj), (ftnlen)strlen(i_comm));
164
167
 
165
168
  return Qnil;
166
169
 
@@ -179,7 +182,7 @@ dcl_swocls(obj, cobj)
179
182
  i_cobj = StringValuePtr(cobj);
180
183
 
181
184
 
182
- swocls_(i_cobj, (ftnlen)strlen(i_cobj));
185
+ swocls__(i_cobj, (ftnlen)strlen(i_cobj));
183
186
 
184
187
  return Qnil;
185
188
 
@@ -198,7 +201,7 @@ dcl_swswdi(obj, iwdidx)
198
201
  i_iwdidx = NUM2INT(iwdidx);
199
202
 
200
203
 
201
- swswdi_(&i_iwdidx);
204
+ swswdi__(&i_iwdidx);
202
205
 
203
206
  return Qnil;
204
207
 
@@ -221,7 +224,7 @@ dcl_swscli(obj, iclidx, lfcatr)
221
224
  i_lfcatr = ((lfcatr == Qnil)||(lfcatr == Qfalse)) ? FALSE_ : TRUE_;
222
225
 
223
226
 
224
- swscli_(&i_iclidx, &i_lfcatr);
227
+ swscli__(&i_iclidx, &i_lfcatr);
225
228
 
226
229
  return Qnil;
227
230
 
@@ -242,7 +245,7 @@ dcl_swscli(obj, iclidx)
242
245
  i_iclidx = NUM2INT(iclidx);
243
246
 
244
247
 
245
- swscli_(&i_iclidx);
248
+ swscli__(&i_iclidx);
246
249
 
247
250
  return Qnil;
248
251
 
@@ -265,7 +268,7 @@ dcl_swslcl(obj, icolor)
265
268
  i_icolor = NUM2INT(icolor);
266
269
 
267
270
 
268
- swslcl_(&i_icolor);
271
+ swslcl__(&i_icolor);
269
272
 
270
273
  return Qnil;
271
274
 
@@ -277,7 +280,7 @@ static VALUE
277
280
  dcl_swgopn(obj)
278
281
  VALUE obj;
279
282
  {
280
- swgopn_();
283
+ swgopn__();
281
284
 
282
285
  return Qnil;
283
286
 
@@ -301,7 +304,7 @@ dcl_swgmov(obj, wx, wy)
301
304
  i_wy = (real)NUM2DBL(wy);
302
305
 
303
306
 
304
- swgmov_(&i_wx, &i_wy);
307
+ swgmov__(&i_wx, &i_wy);
305
308
 
306
309
  return Qnil;
307
310
 
@@ -325,7 +328,7 @@ dcl_swgplt(obj, wx, wy)
325
328
  i_wy = (real)NUM2DBL(wy);
326
329
 
327
330
 
328
- swgplt_(&i_wx, &i_wy);
331
+ swgplt__(&i_wx, &i_wy);
329
332
 
330
333
  return Qnil;
331
334
 
@@ -335,7 +338,7 @@ static VALUE
335
338
  dcl_swgcls(obj)
336
339
  VALUE obj;
337
340
  {
338
- swgcls_();
341
+ swgcls__();
339
342
 
340
343
  return Qnil;
341
344
 
@@ -356,7 +359,7 @@ dcl_swstcl(obj, icolor)
356
359
  i_icolor = NUM2INT(icolor);
357
360
 
358
361
 
359
- swstcl_(&i_icolor);
362
+ swstcl__(&i_icolor);
360
363
 
361
364
  return Qnil;
362
365
 
@@ -400,7 +403,7 @@ dcl_swgton(obj, np, wpx, wpy, itpat)
400
403
  i_wpy = dcl_obj2crealary(wpy);
401
404
 
402
405
 
403
- swgton_(&i_np, i_wpx, i_wpy, &i_itpat);
406
+ swgton__(&i_np, i_wpx, i_wpy, &i_itpat);
404
407
 
405
408
  dcl_freecrealary(i_wpx);
406
409
  dcl_freecrealary(i_wpy);
@@ -477,7 +480,7 @@ dcl_swiopn(obj, iwx, iwy, imw, imh, wx1, wy1, wx2, wy2, wx3, wy3, wx4, wy4)
477
480
  i_wy4 = (real)NUM2DBL(wy4);
478
481
 
479
482
 
480
- swiopn_(&i_iwx, &i_iwy, &i_imw, &i_imh, &i_wx1, &i_wy1, &i_wx2, &i_wy2, &i_wx3, &i_wy3, &i_wx4, &i_wy4);
483
+ swiopn__(&i_iwx, &i_iwy, &i_imw, &i_imh, &i_wx1, &i_wy1, &i_wx2, &i_wy2, &i_wx3, &i_wy3, &i_wx4, &i_wy4);
481
484
 
482
485
  return Qnil;
483
486
 
@@ -505,7 +508,7 @@ dcl_swidat(obj, image, nlen)
505
508
  i_image = dcl_obj2cintegerary(image);
506
509
 
507
510
 
508
- swidat_(i_image, &i_nlen);
511
+ swidat__(i_image, &i_nlen);
509
512
 
510
513
  dcl_freecintegerary(i_image);
511
514
 
@@ -537,7 +540,7 @@ dcl_swiclr(obj, image, nlen)
537
540
  i_image = dcl_obj2cintegerary(image);
538
541
 
539
542
 
540
- swiclr_(i_image, &i_nlen);
543
+ swiclr__(i_image, &i_nlen);
541
544
 
542
545
  dcl_freecintegerary(i_image);
543
546
 
@@ -551,7 +554,7 @@ static VALUE
551
554
  dcl_swicls(obj)
552
555
  VALUE obj;
553
556
  {
554
- swicls_();
557
+ swicls__();
555
558
 
556
559
  return Qnil;
557
560
 
@@ -568,7 +571,7 @@ dcl_swqpnt(obj)
568
571
  VALUE wy;
569
572
  VALUE mb;
570
573
 
571
- swqpnt_(&o_wx, &o_wy, &o_mb);
574
+ swqpnt__(&o_wx, &o_wy, &o_mb);
572
575
 
573
576
  wx = rb_float_new((double)o_wx);
574
577
  wy = rb_float_new((double)o_wy);
@@ -601,7 +604,7 @@ dcl_swfint(obj, wx, wy)
601
604
  i_wy = (real)NUM2DBL(wy);
602
605
 
603
606
 
604
- swfint_(&i_wx, &i_wy, &o_iwx, &o_iwy);
607
+ swfint__(&i_wx, &i_wy, &o_iwx, &o_iwy);
605
608
 
606
609
  iwx = INT2NUM(o_iwx);
607
610
  iwy = INT2NUM(o_iwy);
@@ -633,7 +636,7 @@ dcl_swiint(obj, iwx, iwy)
633
636
  i_iwy = NUM2INT(iwy);
634
637
 
635
638
 
636
- swiint_(&i_iwx, &i_iwy, &o_wx, &o_wy);
639
+ swiint__(&i_iwx, &i_iwy, &o_wx, &o_wy);
637
640
 
638
641
  wx = rb_float_new((double)o_wx);
639
642
  wy = rb_float_new((double)o_wy);
@@ -650,7 +653,7 @@ dcl_swqwdc(obj)
650
653
  logical o_lwdatr;
651
654
  VALUE lwdatr;
652
655
 
653
- swqwdc_(&o_lwdatr);
656
+ swqwdc__(&o_lwdatr);
654
657
 
655
658
  lwdatr = (o_lwdatr == FALSE_) ? Qfalse : Qtrue;
656
659
 
@@ -666,7 +669,7 @@ dcl_swqclc(obj)
666
669
  logical o_lclatr;
667
670
  VALUE lclatr;
668
671
 
669
- swqclc_(&o_lclatr);
672
+ swqclc__(&o_lclatr);
670
673
 
671
674
  lclatr = (o_lclatr == FALSE_) ? Qfalse : Qtrue;
672
675
 
@@ -682,7 +685,7 @@ dcl_swqtnc(obj)
682
685
  logical o_ltnatr;
683
686
  VALUE ltnatr;
684
687
 
685
- swqtnc_(&o_ltnatr);
688
+ swqtnc__(&o_ltnatr);
686
689
 
687
690
  ltnatr = (o_ltnatr == FALSE_) ? Qfalse : Qtrue;
688
691
 
@@ -698,7 +701,7 @@ dcl_swqimc(obj)
698
701
  logical o_limatr;
699
702
  VALUE limatr;
700
703
 
701
- swqimc_(&o_limatr);
704
+ swqimc__(&o_limatr);
702
705
 
703
706
  limatr = (o_limatr == FALSE_) ? Qfalse : Qtrue;
704
707
 
@@ -714,7 +717,7 @@ dcl_swqptc(obj)
714
717
  logical o_lptatr;
715
718
  VALUE lptatr;
716
719
 
717
- swqptc_(&o_lptatr);
720
+ swqptc__(&o_lptatr);
718
721
 
719
722
  lptatr = (o_lptatr == FALSE_) ? Qfalse : Qtrue;
720
723
 
@@ -738,7 +741,7 @@ dcl_swqrct(obj)
738
741
  VALUE wsymx;
739
742
  VALUE fact;
740
743
 
741
- swqrct_(&o_wsxmn, &o_wsxmx, &o_wsymn, &o_wsymx, &o_fact);
744
+ swqrct__(&o_wsxmn, &o_wsxmx, &o_wsymn, &o_wsymx, &o_fact);
742
745
 
743
746
  wsxmn = rb_float_new((double)o_wsxmn);
744
747
  wsxmx = rb_float_new((double)o_wsxmx);
@@ -764,7 +767,7 @@ dcl_swsrot(obj, iwtrot)
764
767
  i_iwtrot = NUM2INT(iwtrot);
765
768
 
766
769
 
767
- swsrot_(&i_iwtrot);
770
+ swsrot__(&i_iwtrot);
768
771
 
769
772
  return Qnil;
770
773
 
@@ -776,7 +779,58 @@ static VALUE
776
779
  dcl_swclch(obj)
777
780
  VALUE obj;
778
781
  {
779
- swclch_();
782
+ swclch__();
783
+
784
+ return Qnil;
785
+
786
+ }
787
+
788
+ #endif
789
+
790
+ #if DCLVER >= 700
791
+
792
+ static VALUE
793
+ dcl_swslft(obj)
794
+ VALUE obj;
795
+ {
796
+ char *o_fontname;
797
+ VALUE fontname;
798
+
799
+ o_fontname= ALLOCA_N(char, (DFLT_SIZE+1));
800
+ memset(o_fontname, '\0', DFLT_SIZE+1);
801
+
802
+ swslft__(o_fontname, (ftnlen)DFLT_SIZE);
803
+
804
+ fontname = rb_str_new2(o_fontname);
805
+
806
+
807
+ return fontname;
808
+
809
+ }
810
+
811
+ #endif
812
+
813
+ #if DCLVER >= 700
814
+
815
+ static VALUE
816
+ dcl_swlsft(obj)
817
+ VALUE obj;
818
+ {
819
+ swlsft__();
820
+
821
+ return Qnil;
822
+
823
+ }
824
+
825
+ #endif
826
+
827
+ #if DCLVER >= 700
828
+
829
+ static VALUE
830
+ dcl_swflsh(obj)
831
+ VALUE obj;
832
+ {
833
+ swflsh__();
780
834
 
781
835
  return Qnil;
782
836
 
@@ -791,7 +845,7 @@ dcl_swpqnp(obj)
791
845
  integer o_ncp;
792
846
  VALUE ncp;
793
847
 
794
- swpqnp_(&o_ncp);
848
+ swpqnp__(&o_ncp);
795
849
 
796
850
  ncp = INT2NUM(o_ncp);
797
851
 
@@ -815,7 +869,7 @@ dcl_swpqid(obj, cp)
815
869
  i_cp = StringValuePtr(cp);
816
870
 
817
871
 
818
- swpqid_(i_cp, &o_idx, (ftnlen)strlen(i_cp));
872
+ swpqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
819
873
 
820
874
  idx = INT2NUM(o_idx);
821
875
 
@@ -841,7 +895,7 @@ dcl_swpqcp(obj, idx)
841
895
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
842
896
  memset(o_cp, '\0', DFLT_SIZE+1);
843
897
 
844
- swpqcp_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
898
+ swpqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
845
899
 
846
900
  cp = rb_str_new2(o_cp);
847
901
 
@@ -867,7 +921,7 @@ dcl_swpqcl(obj, idx)
867
921
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
868
922
  memset(o_cp, '\0', DFLT_SIZE+1);
869
923
 
870
- swpqcl_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
924
+ swpqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
871
925
 
872
926
  cp = rb_str_new2(o_cp);
873
927
 
@@ -891,7 +945,7 @@ dcl_swpqit(obj, idx)
891
945
  i_idx = NUM2INT(idx);
892
946
 
893
947
 
894
- swpqit_(&i_idx, &o_itp);
948
+ swpqit__(&i_idx, &o_itp);
895
949
 
896
950
  itp = INT2NUM(o_itp);
897
951
 
@@ -915,7 +969,7 @@ dcl_swpqvl(obj, idx)
915
969
  i_idx = NUM2INT(idx);
916
970
 
917
971
 
918
- swpqvl_(&i_idx, &o_ipara);
972
+ swpqvl__(&i_idx, &o_ipara);
919
973
 
920
974
  ipara = INT2NUM(o_ipara);
921
975
 
@@ -942,7 +996,7 @@ dcl_swpsvl(obj, idx, ipara)
942
996
  i_ipara = NUM2INT(ipara);
943
997
 
944
998
 
945
- swpsvl_(&i_idx, &i_ipara);
999
+ swpsvl__(&i_idx, &i_ipara);
946
1000
 
947
1001
  return Qnil;
948
1002
 
@@ -963,7 +1017,7 @@ dcl_swpqin(obj, cp)
963
1017
  i_cp = StringValuePtr(cp);
964
1018
 
965
1019
 
966
- swpqin_(i_cp, &o_in, (ftnlen)strlen(i_cp));
1020
+ swpqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
967
1021
 
968
1022
  in = INT2NUM(o_in);
969
1023
 
@@ -989,7 +1043,7 @@ dcl_swcget(obj, cp)
989
1043
  o_cpara= ALLOCA_N(char, (DFLT_SIZE+1));
990
1044
  memset(o_cpara, '\0', DFLT_SIZE+1);
991
1045
 
992
- swcget_(i_cp, o_cpara, (ftnlen)strlen(i_cp), (ftnlen)DFLT_SIZE);
1046
+ swcget__(i_cp, o_cpara, (ftnlen)strlen(i_cp), (ftnlen)DFLT_SIZE);
993
1047
 
994
1048
  cpara = rb_str_new2(o_cpara);
995
1049
 
@@ -1016,7 +1070,7 @@ dcl_swcset(obj, cp, cpara)
1016
1070
  i_cpara = StringValuePtr(cpara);
1017
1071
 
1018
1072
 
1019
- swcset_(i_cp, i_cpara, (ftnlen)strlen(i_cp), (ftnlen)strlen(i_cpara));
1073
+ swcset__(i_cp, i_cpara, (ftnlen)strlen(i_cp), (ftnlen)strlen(i_cpara));
1020
1074
 
1021
1075
  return Qnil;
1022
1076
 
@@ -1040,7 +1094,7 @@ dcl_swcstx(obj, cp, cpara)
1040
1094
  i_cpara = StringValuePtr(cpara);
1041
1095
 
1042
1096
 
1043
- swcstx_(i_cp, i_cpara, (ftnlen)strlen(i_cp), (ftnlen)strlen(i_cpara));
1097
+ swcstx__(i_cp, i_cpara, (ftnlen)strlen(i_cp), (ftnlen)strlen(i_cpara));
1044
1098
 
1045
1099
  return Qnil;
1046
1100
 
@@ -1063,7 +1117,7 @@ dcl_swqfnm(obj, cpara)
1063
1117
  o_cfname= ALLOCA_N(char, (DFLT_SIZE+1));
1064
1118
  memset(o_cfname, '\0', DFLT_SIZE+1);
1065
1119
 
1066
- swqfnm_(i_cpara, o_cfname, (ftnlen)strlen(i_cpara), (ftnlen)DFLT_SIZE);
1120
+ swqfnm__(i_cpara, o_cfname, (ftnlen)strlen(i_cpara), (ftnlen)DFLT_SIZE);
1067
1121
 
1068
1122
  cfname = rb_str_new2(o_cfname);
1069
1123
 
@@ -1079,7 +1133,7 @@ dcl_swcqnp(obj)
1079
1133
  integer o_ncp;
1080
1134
  VALUE ncp;
1081
1135
 
1082
- swcqnp_(&o_ncp);
1136
+ swcqnp__(&o_ncp);
1083
1137
 
1084
1138
  ncp = INT2NUM(o_ncp);
1085
1139
 
@@ -1103,7 +1157,7 @@ dcl_swcqid(obj, cp)
1103
1157
  i_cp = StringValuePtr(cp);
1104
1158
 
1105
1159
 
1106
- swcqid_(i_cp, &o_idx, (ftnlen)strlen(i_cp));
1160
+ swcqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
1107
1161
 
1108
1162
  idx = INT2NUM(o_idx);
1109
1163
 
@@ -1129,7 +1183,7 @@ dcl_swcqcp(obj, idx)
1129
1183
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
1130
1184
  memset(o_cp, '\0', DFLT_SIZE+1);
1131
1185
 
1132
- swcqcp_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1186
+ swcqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1133
1187
 
1134
1188
  cp = rb_str_new2(o_cp);
1135
1189
 
@@ -1155,7 +1209,7 @@ dcl_swcqcl(obj, idx)
1155
1209
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
1156
1210
  memset(o_cp, '\0', DFLT_SIZE+1);
1157
1211
 
1158
- swcqcl_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1212
+ swcqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1159
1213
 
1160
1214
  cp = rb_str_new2(o_cp);
1161
1215
 
@@ -1181,7 +1235,7 @@ dcl_swcqvl(obj, idx)
1181
1235
  o_cval= ALLOCA_N(char, (DFLT_SIZE+1));
1182
1236
  memset(o_cval, '\0', DFLT_SIZE+1);
1183
1237
 
1184
- swcqvl_(&i_idx, o_cval, (ftnlen)DFLT_SIZE);
1238
+ swcqvl__(&i_idx, o_cval, (ftnlen)DFLT_SIZE);
1185
1239
 
1186
1240
  cval = rb_str_new2(o_cval);
1187
1241
 
@@ -1208,7 +1262,7 @@ dcl_swcsvl(obj, idx, cval)
1208
1262
  i_cval = StringValuePtr(cval);
1209
1263
 
1210
1264
 
1211
- swcsvl_(&i_idx, i_cval, (ftnlen)strlen(i_cval));
1265
+ swcsvl__(&i_idx, i_cval, (ftnlen)strlen(i_cval));
1212
1266
 
1213
1267
  return Qnil;
1214
1268
 
@@ -1229,7 +1283,7 @@ dcl_swcqin(obj, cp)
1229
1283
  i_cp = StringValuePtr(cp);
1230
1284
 
1231
1285
 
1232
- swcqin_(i_cp, &o_in, (ftnlen)strlen(i_cp));
1286
+ swcqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
1233
1287
 
1234
1288
  in = INT2NUM(o_in);
1235
1289
 
@@ -1253,7 +1307,7 @@ dcl_swiget(obj, cp)
1253
1307
  i_cp = StringValuePtr(cp);
1254
1308
 
1255
1309
 
1256
- swiget_(i_cp, &o_ipara, (ftnlen)strlen(i_cp));
1310
+ swiget__(i_cp, &o_ipara, (ftnlen)strlen(i_cp));
1257
1311
 
1258
1312
  ipara = INT2NUM(o_ipara);
1259
1313
 
@@ -1280,7 +1334,7 @@ dcl_swiset(obj, cp, ipara)
1280
1334
  i_ipara = NUM2INT(ipara);
1281
1335
 
1282
1336
 
1283
- swiset_(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
1337
+ swiset__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
1284
1338
 
1285
1339
  return Qnil;
1286
1340
 
@@ -1304,7 +1358,7 @@ dcl_swistx(obj, cp, ipara)
1304
1358
  i_ipara = NUM2INT(ipara);
1305
1359
 
1306
1360
 
1307
- swistx_(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
1361
+ swistx__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
1308
1362
 
1309
1363
  return Qnil;
1310
1364
 
@@ -1317,7 +1371,7 @@ dcl_swiqnp(obj)
1317
1371
  integer o_ncp;
1318
1372
  VALUE ncp;
1319
1373
 
1320
- swiqnp_(&o_ncp);
1374
+ swiqnp__(&o_ncp);
1321
1375
 
1322
1376
  ncp = INT2NUM(o_ncp);
1323
1377
 
@@ -1341,7 +1395,7 @@ dcl_swiqid(obj, cp)
1341
1395
  i_cp = StringValuePtr(cp);
1342
1396
 
1343
1397
 
1344
- swiqid_(i_cp, &o_idx, (ftnlen)strlen(i_cp));
1398
+ swiqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
1345
1399
 
1346
1400
  idx = INT2NUM(o_idx);
1347
1401
 
@@ -1367,7 +1421,7 @@ dcl_swiqcp(obj, idx)
1367
1421
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
1368
1422
  memset(o_cp, '\0', DFLT_SIZE+1);
1369
1423
 
1370
- swiqcp_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1424
+ swiqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1371
1425
 
1372
1426
  cp = rb_str_new2(o_cp);
1373
1427
 
@@ -1393,7 +1447,7 @@ dcl_swiqcl(obj, idx)
1393
1447
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
1394
1448
  memset(o_cp, '\0', DFLT_SIZE+1);
1395
1449
 
1396
- swiqcl_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1450
+ swiqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1397
1451
 
1398
1452
  cp = rb_str_new2(o_cp);
1399
1453
 
@@ -1417,7 +1471,7 @@ dcl_swiqvl(obj, idx)
1417
1471
  i_idx = NUM2INT(idx);
1418
1472
 
1419
1473
 
1420
- swiqvl_(&i_idx, &o_ipara);
1474
+ swiqvl__(&i_idx, &o_ipara);
1421
1475
 
1422
1476
  ipara = INT2NUM(o_ipara);
1423
1477
 
@@ -1444,7 +1498,7 @@ dcl_swisvl(obj, idx, ipara)
1444
1498
  i_ipara = NUM2INT(ipara);
1445
1499
 
1446
1500
 
1447
- swisvl_(&i_idx, &i_ipara);
1501
+ swisvl__(&i_idx, &i_ipara);
1448
1502
 
1449
1503
  return Qnil;
1450
1504
 
@@ -1465,7 +1519,7 @@ dcl_swiqin(obj, cp)
1465
1519
  i_cp = StringValuePtr(cp);
1466
1520
 
1467
1521
 
1468
- swiqin_(i_cp, &o_in, (ftnlen)strlen(i_cp));
1522
+ swiqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
1469
1523
 
1470
1524
  in = INT2NUM(o_in);
1471
1525
 
@@ -1489,7 +1543,7 @@ dcl_swlget(obj, cp)
1489
1543
  i_cp = StringValuePtr(cp);
1490
1544
 
1491
1545
 
1492
- swlget_(i_cp, &o_lpara, (ftnlen)strlen(i_cp));
1546
+ swlget__(i_cp, &o_lpara, (ftnlen)strlen(i_cp));
1493
1547
 
1494
1548
  lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
1495
1549
 
@@ -1513,7 +1567,7 @@ dcl_swlset(obj, cp, lpara)
1513
1567
  i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
1514
1568
 
1515
1569
 
1516
- swlset_(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
1570
+ swlset__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
1517
1571
 
1518
1572
  return Qnil;
1519
1573
 
@@ -1534,7 +1588,7 @@ dcl_swlstx(obj, cp, lpara)
1534
1588
  i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
1535
1589
 
1536
1590
 
1537
- swlstx_(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
1591
+ swlstx__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
1538
1592
 
1539
1593
  return Qnil;
1540
1594
 
@@ -1547,7 +1601,7 @@ dcl_swlqnp(obj)
1547
1601
  integer o_ncp;
1548
1602
  VALUE ncp;
1549
1603
 
1550
- swlqnp_(&o_ncp);
1604
+ swlqnp__(&o_ncp);
1551
1605
 
1552
1606
  ncp = INT2NUM(o_ncp);
1553
1607
 
@@ -1571,7 +1625,7 @@ dcl_swlqid(obj, cp)
1571
1625
  i_cp = StringValuePtr(cp);
1572
1626
 
1573
1627
 
1574
- swlqid_(i_cp, &o_idx, (ftnlen)strlen(i_cp));
1628
+ swlqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
1575
1629
 
1576
1630
  idx = INT2NUM(o_idx);
1577
1631
 
@@ -1597,7 +1651,7 @@ dcl_swlqcp(obj, idx)
1597
1651
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
1598
1652
  memset(o_cp, '\0', DFLT_SIZE+1);
1599
1653
 
1600
- swlqcp_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1654
+ swlqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1601
1655
 
1602
1656
  cp = rb_str_new2(o_cp);
1603
1657
 
@@ -1623,7 +1677,7 @@ dcl_swlqcl(obj, idx)
1623
1677
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
1624
1678
  memset(o_cp, '\0', DFLT_SIZE+1);
1625
1679
 
1626
- swlqcl_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1680
+ swlqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1627
1681
 
1628
1682
  cp = rb_str_new2(o_cp);
1629
1683
 
@@ -1647,7 +1701,7 @@ dcl_swlqvl(obj, idx)
1647
1701
  i_idx = NUM2INT(idx);
1648
1702
 
1649
1703
 
1650
- swlqvl_(&i_idx, &o_lpara);
1704
+ swlqvl__(&i_idx, &o_lpara);
1651
1705
 
1652
1706
  lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
1653
1707
 
@@ -1671,7 +1725,7 @@ dcl_swlsvl(obj, idx, lpara)
1671
1725
  i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
1672
1726
 
1673
1727
 
1674
- swlsvl_(&i_idx, &i_lpara);
1728
+ swlsvl__(&i_idx, &i_lpara);
1675
1729
 
1676
1730
  return Qnil;
1677
1731
 
@@ -1692,7 +1746,7 @@ dcl_swlqin(obj, cp)
1692
1746
  i_cp = StringValuePtr(cp);
1693
1747
 
1694
1748
 
1695
- swlqin_(i_cp, &o_in, (ftnlen)strlen(i_cp));
1749
+ swlqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
1696
1750
 
1697
1751
  in = INT2NUM(o_in);
1698
1752
 
@@ -1716,7 +1770,7 @@ dcl_swrget(obj, cp)
1716
1770
  i_cp = StringValuePtr(cp);
1717
1771
 
1718
1772
 
1719
- swrget_(i_cp, &o_rpara, (ftnlen)strlen(i_cp));
1773
+ swrget__(i_cp, &o_rpara, (ftnlen)strlen(i_cp));
1720
1774
 
1721
1775
  rpara = rb_float_new((double)o_rpara);
1722
1776
 
@@ -1743,7 +1797,7 @@ dcl_swrset(obj, cp, rpara)
1743
1797
  i_rpara = (real)NUM2DBL(rpara);
1744
1798
 
1745
1799
 
1746
- swrset_(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
1800
+ swrset__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
1747
1801
 
1748
1802
  return Qnil;
1749
1803
 
@@ -1767,7 +1821,7 @@ dcl_swrstx(obj, cp, rpara)
1767
1821
  i_rpara = (real)NUM2DBL(rpara);
1768
1822
 
1769
1823
 
1770
- swrstx_(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
1824
+ swrstx__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
1771
1825
 
1772
1826
  return Qnil;
1773
1827
 
@@ -1780,7 +1834,7 @@ dcl_swrqnp(obj)
1780
1834
  integer o_ncp;
1781
1835
  VALUE ncp;
1782
1836
 
1783
- swrqnp_(&o_ncp);
1837
+ swrqnp__(&o_ncp);
1784
1838
 
1785
1839
  ncp = INT2NUM(o_ncp);
1786
1840
 
@@ -1804,7 +1858,7 @@ dcl_swrqid(obj, cp)
1804
1858
  i_cp = StringValuePtr(cp);
1805
1859
 
1806
1860
 
1807
- swrqid_(i_cp, &o_idx, (ftnlen)strlen(i_cp));
1861
+ swrqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
1808
1862
 
1809
1863
  idx = INT2NUM(o_idx);
1810
1864
 
@@ -1830,7 +1884,7 @@ dcl_swrqcp(obj, idx)
1830
1884
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
1831
1885
  memset(o_cp, '\0', DFLT_SIZE+1);
1832
1886
 
1833
- swrqcp_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1887
+ swrqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1834
1888
 
1835
1889
  cp = rb_str_new2(o_cp);
1836
1890
 
@@ -1856,7 +1910,7 @@ dcl_swrqcl(obj, idx)
1856
1910
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
1857
1911
  memset(o_cp, '\0', DFLT_SIZE+1);
1858
1912
 
1859
- swrqcl_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1913
+ swrqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1860
1914
 
1861
1915
  cp = rb_str_new2(o_cp);
1862
1916
 
@@ -1880,7 +1934,7 @@ dcl_swrqvl(obj, idx)
1880
1934
  i_idx = NUM2INT(idx);
1881
1935
 
1882
1936
 
1883
- swrqvl_(&i_idx, &o_rpara);
1937
+ swrqvl__(&i_idx, &o_rpara);
1884
1938
 
1885
1939
  rpara = rb_float_new((double)o_rpara);
1886
1940
 
@@ -1907,7 +1961,7 @@ dcl_swrsvl(obj, idx, rpara)
1907
1961
  i_rpara = (real)NUM2DBL(rpara);
1908
1962
 
1909
1963
 
1910
- swrsvl_(&i_idx, &i_rpara);
1964
+ swrsvl__(&i_idx, &i_rpara);
1911
1965
 
1912
1966
  return Qnil;
1913
1967
 
@@ -1928,7 +1982,7 @@ dcl_swrqin(obj, cp)
1928
1982
  i_cp = StringValuePtr(cp);
1929
1983
 
1930
1984
 
1931
- swrqin_(i_cp, &o_in, (ftnlen)strlen(i_cp));
1985
+ swrqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
1932
1986
 
1933
1987
  in = INT2NUM(o_in);
1934
1988
 
@@ -1943,7 +1997,7 @@ static VALUE
1943
1997
  dcl_swcmll(obj)
1944
1998
  VALUE obj;
1945
1999
  {
1946
- swcmll_();
2000
+ swcmll__();
1947
2001
 
1948
2002
  return Qnil;
1949
2003
 
@@ -1960,7 +2014,7 @@ dcl_swqcmn(obj)
1960
2014
  integer o_nn;
1961
2015
  VALUE nn;
1962
2016
 
1963
- swqcmn_(&o_nn);
2017
+ swqcmn__(&o_nn);
1964
2018
 
1965
2019
  nn = INT2NUM(o_nn);
1966
2020
 
@@ -1990,7 +2044,7 @@ dcl_swqcmf(obj, ntx)
1990
2044
  o_ctf= ALLOCA_N(char, (DFLT_SIZE+1));
1991
2045
  memset(o_ctf, '\0', DFLT_SIZE+1);
1992
2046
 
1993
- swqcmf_(&i_ntx, o_ctf, (ftnlen)DFLT_SIZE);
2047
+ swqcmf__(&i_ntx, o_ctf, (ftnlen)DFLT_SIZE);
1994
2048
 
1995
2049
  ctf = rb_str_new2(o_ctf);
1996
2050
 
@@ -2020,7 +2074,7 @@ dcl_swqcmd(obj, ntx)
2020
2074
  o_ctd= ALLOCA_N(char, (DFLT_SIZE+1));
2021
2075
  memset(o_ctd, '\0', DFLT_SIZE+1);
2022
2076
 
2023
- swqcmd_(&i_ntx, o_ctd, (ftnlen)DFLT_SIZE);
2077
+ swqcmd__(&i_ntx, o_ctd, (ftnlen)DFLT_SIZE);
2024
2078
 
2025
2079
  ctd = rb_str_new2(o_ctd);
2026
2080
 
@@ -2080,6 +2134,15 @@ VALUE mDCL;
2080
2134
  rb_define_module_function(mDCL, "swsrot", dcl_swsrot, 1);
2081
2135
  #if DCLVER >= 544
2082
2136
  rb_define_module_function(mDCL, "swclch", dcl_swclch, 0);
2137
+ #endif
2138
+ #if DCLVER >= 700
2139
+ rb_define_module_function(mDCL, "swslft", dcl_swslft, 0);
2140
+ #endif
2141
+ #if DCLVER >= 700
2142
+ rb_define_module_function(mDCL, "swlsft", dcl_swlsft, 0);
2143
+ #endif
2144
+ #if DCLVER >= 700
2145
+ rb_define_module_function(mDCL, "swflsh", dcl_swflsh, 0);
2083
2146
  #endif
2084
2147
  rb_define_module_function(mDCL, "swpqnp", dcl_swpqnp, 0);
2085
2148
  rb_define_module_function(mDCL, "swpqid", dcl_swpqid, 1);