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 *);
@@ -80,7 +83,7 @@ dcl_uysaxz(obj, cside, roffy)
80
83
  i_roffy = (real)NUM2DBL(roffy);
81
84
 
82
85
 
83
- uysaxz_(i_cside, &i_roffy, (ftnlen)strlen(i_cside));
86
+ uysaxz__(i_cside, &i_roffy, (ftnlen)strlen(i_cside));
84
87
 
85
88
  return Qnil;
86
89
 
@@ -99,7 +102,7 @@ dcl_uysaxs(obj, cside)
99
102
  i_cside = StringValuePtr(cside);
100
103
 
101
104
 
102
- uysaxs_(i_cside, (ftnlen)strlen(i_cside));
105
+ uysaxs__(i_cside, (ftnlen)strlen(i_cside));
103
106
 
104
107
  return Qnil;
105
108
 
@@ -123,7 +126,7 @@ dcl_uypaxs(obj, cside, islct)
123
126
  i_islct = NUM2INT(islct);
124
127
 
125
128
 
126
- uypaxs_(i_cside, &i_islct, (ftnlen)strlen(i_cside));
129
+ uypaxs__(i_cside, &i_islct, (ftnlen)strlen(i_cside));
127
130
 
128
131
  return Qnil;
129
132
 
@@ -161,7 +164,7 @@ dcl_uyptmk(obj, cside, islct, uy, n)
161
164
  i_uy = dcl_obj2crealary(uy);
162
165
 
163
166
 
164
- uyptmk_(i_cside, &i_islct, i_uy, &i_n, (ftnlen)strlen(i_cside));
167
+ uyptmk__(i_cside, &i_islct, i_uy, &i_n, (ftnlen)strlen(i_cside));
165
168
 
166
169
  dcl_freecrealary(i_uy);
167
170
 
@@ -214,7 +217,7 @@ dcl_uyplbl(obj, cside, islct, uy, ch, nc, n)
214
217
  i_ch = dcl_obj2ccharary(ch, (i_n*DFLT_SIZE), DFLT_SIZE);
215
218
 
216
219
 
217
- uyplbl_(i_cside, &i_islct, i_uy, i_ch, &i_nc, &i_n, (ftnlen)strlen(i_cside), (ftnlen)DFLT_SIZE);
220
+ uyplbl__(i_cside, &i_islct, i_uy, i_ch, &i_nc, &i_n, (ftnlen)strlen(i_cside), (ftnlen)DFLT_SIZE);
218
221
 
219
222
  dcl_freecrealary(i_uy);
220
223
  dcl_freeccharary(i_ch);
@@ -255,7 +258,7 @@ dcl_uypnum(obj, cside, islct, uy, n)
255
258
  i_uy = dcl_obj2crealary(uy);
256
259
 
257
260
 
258
- uypnum_(i_cside, &i_islct, i_uy, &i_n, (ftnlen)strlen(i_cside));
261
+ uypnum__(i_cside, &i_islct, i_uy, &i_n, (ftnlen)strlen(i_cside));
259
262
 
260
263
  dcl_freecrealary(i_uy);
261
264
 
@@ -291,7 +294,7 @@ dcl_uypttl(obj, cside, islct, cttl, px)
291
294
  i_px = (real)NUM2DBL(px);
292
295
 
293
296
 
294
- uypttl_(i_cside, &i_islct, i_cttl, &i_px, (ftnlen)strlen(i_cside), (ftnlen)strlen(i_cttl));
297
+ uypttl__(i_cside, &i_islct, i_cttl, &i_px, (ftnlen)strlen(i_cside), (ftnlen)strlen(i_cttl));
295
298
 
296
299
  return Qnil;
297
300
 
@@ -351,7 +354,7 @@ dcl_uyaxlb(obj, cside, uy1, n1, uy2, ch, nc, n2)
351
354
  i_ch = dcl_obj2ccharary(ch, (i_n2*DFLT_SIZE), DFLT_SIZE);
352
355
 
353
356
 
354
- uyaxlb_(i_cside, i_uy1, &i_n1, i_uy2, i_ch, &i_nc, &i_n2, (ftnlen)strlen(i_cside), (ftnlen)DFLT_SIZE);
357
+ uyaxlb__(i_cside, i_uy1, &i_n1, i_uy2, i_ch, &i_nc, &i_n2, (ftnlen)strlen(i_cside), (ftnlen)DFLT_SIZE);
355
358
 
356
359
  dcl_freecrealary(i_uy1);
357
360
  dcl_freecrealary(i_uy2);
@@ -402,7 +405,7 @@ dcl_uyaxnm(obj, cside, uy1, n1, uy2, n2)
402
405
  i_uy2 = dcl_obj2crealary(uy2);
403
406
 
404
407
 
405
- uyaxnm_(i_cside, i_uy1, &i_n1, i_uy2, &i_n2, (ftnlen)strlen(i_cside));
408
+ uyaxnm__(i_cside, i_uy1, &i_n1, i_uy2, &i_n2, (ftnlen)strlen(i_cside));
406
409
 
407
410
  dcl_freecrealary(i_uy1);
408
411
  dcl_freecrealary(i_uy2);
@@ -434,7 +437,7 @@ dcl_uyaxdv(obj, cside, dy1, dy2)
434
437
  i_dy2 = (real)NUM2DBL(dy2);
435
438
 
436
439
 
437
- uyaxdv_(i_cside, &i_dy1, &i_dy2, (ftnlen)strlen(i_cside));
440
+ uyaxdv__(i_cside, &i_dy1, &i_dy2, (ftnlen)strlen(i_cside));
438
441
 
439
442
  return Qnil;
440
443
 
@@ -463,7 +466,7 @@ dcl_uymttl(obj, cside, cttl, px)
463
466
  i_px = (real)NUM2DBL(px);
464
467
 
465
468
 
466
- uymttl_(i_cside, i_cttl, &i_px, (ftnlen)strlen(i_cside), (ftnlen)strlen(i_cttl));
469
+ uymttl__(i_cside, i_cttl, &i_px, (ftnlen)strlen(i_cside), (ftnlen)strlen(i_cttl));
467
470
 
468
471
  return Qnil;
469
472
 
@@ -492,7 +495,7 @@ dcl_uysttl(obj, cside, cttl, px)
492
495
  i_px = (real)NUM2DBL(px);
493
496
 
494
497
 
495
- uysttl_(i_cside, i_cttl, &i_px, (ftnlen)strlen(i_cside), (ftnlen)strlen(i_cttl));
498
+ uysttl__(i_cside, i_cttl, &i_px, (ftnlen)strlen(i_cside), (ftnlen)strlen(i_cttl));
496
499
 
497
500
  return Qnil;
498
501
 
@@ -511,7 +514,7 @@ dcl_uysfmt(obj, cfmt)
511
514
  i_cfmt = StringValuePtr(cfmt);
512
515
 
513
516
 
514
- uysfmt_(i_cfmt, (ftnlen)strlen(i_cfmt));
517
+ uysfmt__(i_cfmt, (ftnlen)strlen(i_cfmt));
515
518
 
516
519
  return Qnil;
517
520
 
@@ -527,7 +530,7 @@ dcl_uyqfmt(obj)
527
530
  o_cfmt= ALLOCA_N(char, (DFLT_SIZE+1));
528
531
  memset(o_cfmt, '\0', DFLT_SIZE+1);
529
532
 
530
- uyqfmt_(o_cfmt, (ftnlen)DFLT_SIZE);
533
+ uyqfmt__(o_cfmt, (ftnlen)DFLT_SIZE);
531
534
 
532
535
  cfmt = rb_str_new2(o_cfmt);
533
536
 
@@ -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 *);
@@ -69,7 +72,7 @@ dcl_uzpqnp(obj)
69
72
  integer o_ncp;
70
73
  VALUE ncp;
71
74
 
72
- uzpqnp_(&o_ncp);
75
+ uzpqnp__(&o_ncp);
73
76
 
74
77
  ncp = INT2NUM(o_ncp);
75
78
 
@@ -93,7 +96,7 @@ dcl_uzpqid(obj, cp)
93
96
  i_cp = StringValuePtr(cp);
94
97
 
95
98
 
96
- uzpqid_(i_cp, &o_idx, (ftnlen)strlen(i_cp));
99
+ uzpqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
97
100
 
98
101
  idx = INT2NUM(o_idx);
99
102
 
@@ -119,7 +122,7 @@ dcl_uzpqcp(obj, idx)
119
122
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
120
123
  memset(o_cp, '\0', DFLT_SIZE+1);
121
124
 
122
- uzpqcp_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
125
+ uzpqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
123
126
 
124
127
  cp = rb_str_new2(o_cp);
125
128
 
@@ -145,7 +148,7 @@ dcl_uzpqcl(obj, idx)
145
148
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
146
149
  memset(o_cp, '\0', DFLT_SIZE+1);
147
150
 
148
- uzpqcl_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
151
+ uzpqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
149
152
 
150
153
  cp = rb_str_new2(o_cp);
151
154
 
@@ -169,7 +172,7 @@ dcl_uzpqit(obj, idx)
169
172
  i_idx = NUM2INT(idx);
170
173
 
171
174
 
172
- uzpqit_(&i_idx, &o_itp);
175
+ uzpqit__(&i_idx, &o_itp);
173
176
 
174
177
  itp = INT2NUM(o_itp);
175
178
 
@@ -193,7 +196,7 @@ dcl_uzpqvl(obj, idx)
193
196
  i_idx = NUM2INT(idx);
194
197
 
195
198
 
196
- uzpqvl_(&i_idx, &o_ipara);
199
+ uzpqvl__(&i_idx, &o_ipara);
197
200
 
198
201
  ipara = INT2NUM(o_ipara);
199
202
 
@@ -220,7 +223,7 @@ dcl_uzpsvl(obj, idx, ipara)
220
223
  i_ipara = NUM2INT(ipara);
221
224
 
222
225
 
223
- uzpsvl_(&i_idx, &i_ipara);
226
+ uzpsvl__(&i_idx, &i_ipara);
224
227
 
225
228
  return Qnil;
226
229
 
@@ -241,7 +244,7 @@ dcl_uzpqin(obj, cp)
241
244
  i_cp = StringValuePtr(cp);
242
245
 
243
246
 
244
- uzpqin_(i_cp, &o_in, (ftnlen)strlen(i_cp));
247
+ uzpqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
245
248
 
246
249
  in = INT2NUM(o_in);
247
250
 
@@ -254,7 +257,7 @@ static VALUE
254
257
  dcl_uzinit(obj)
255
258
  VALUE obj;
256
259
  {
257
- uzinit_();
260
+ uzinit__();
258
261
 
259
262
  return Qnil;
260
263
 
@@ -273,7 +276,7 @@ dcl_uzfact(obj, rfact)
273
276
  i_rfact = (real)NUM2DBL(rfact);
274
277
 
275
278
 
276
- uzfact_(&i_rfact);
279
+ uzfact__(&i_rfact);
277
280
 
278
281
  return Qnil;
279
282
 
@@ -296,7 +299,7 @@ dcl_uzcget(obj, cp)
296
299
  o_cpara= ALLOCA_N(char, (DFLT_SIZE+1));
297
300
  memset(o_cpara, '\0', DFLT_SIZE+1);
298
301
 
299
- uzcget_(i_cp, o_cpara, (ftnlen)strlen(i_cp), (ftnlen)DFLT_SIZE);
302
+ uzcget__(i_cp, o_cpara, (ftnlen)strlen(i_cp), (ftnlen)DFLT_SIZE);
300
303
 
301
304
  cpara = rb_str_new2(o_cpara);
302
305
 
@@ -323,7 +326,7 @@ dcl_uzcset(obj, cp, cpara)
323
326
  i_cpara = StringValuePtr(cpara);
324
327
 
325
328
 
326
- uzcset_(i_cp, i_cpara, (ftnlen)strlen(i_cp), (ftnlen)strlen(i_cpara));
329
+ uzcset__(i_cp, i_cpara, (ftnlen)strlen(i_cp), (ftnlen)strlen(i_cpara));
327
330
 
328
331
  return Qnil;
329
332
 
@@ -347,7 +350,7 @@ dcl_uzcstx(obj, cp, cpara)
347
350
  i_cpara = StringValuePtr(cpara);
348
351
 
349
352
 
350
- uzcstx_(i_cp, i_cpara, (ftnlen)strlen(i_cp), (ftnlen)strlen(i_cpara));
353
+ uzcstx__(i_cp, i_cpara, (ftnlen)strlen(i_cp), (ftnlen)strlen(i_cpara));
351
354
 
352
355
  return Qnil;
353
356
 
@@ -360,7 +363,7 @@ dcl_uzcqnp(obj)
360
363
  integer o_ncp;
361
364
  VALUE ncp;
362
365
 
363
- uzcqnp_(&o_ncp);
366
+ uzcqnp__(&o_ncp);
364
367
 
365
368
  ncp = INT2NUM(o_ncp);
366
369
 
@@ -384,7 +387,7 @@ dcl_uzcqid(obj, cp)
384
387
  i_cp = StringValuePtr(cp);
385
388
 
386
389
 
387
- uzcqid_(i_cp, &o_idx, (ftnlen)strlen(i_cp));
390
+ uzcqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
388
391
 
389
392
  idx = INT2NUM(o_idx);
390
393
 
@@ -410,7 +413,7 @@ dcl_uzcqcp(obj, idx)
410
413
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
411
414
  memset(o_cp, '\0', DFLT_SIZE+1);
412
415
 
413
- uzcqcp_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
416
+ uzcqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
414
417
 
415
418
  cp = rb_str_new2(o_cp);
416
419
 
@@ -436,7 +439,7 @@ dcl_uzcqcl(obj, idx)
436
439
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
437
440
  memset(o_cp, '\0', DFLT_SIZE+1);
438
441
 
439
- uzcqcl_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
442
+ uzcqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
440
443
 
441
444
  cp = rb_str_new2(o_cp);
442
445
 
@@ -462,7 +465,7 @@ dcl_uzcqvl(obj, idx)
462
465
  o_cval= ALLOCA_N(char, (DFLT_SIZE+1));
463
466
  memset(o_cval, '\0', DFLT_SIZE+1);
464
467
 
465
- uzcqvl_(&i_idx, o_cval, (ftnlen)DFLT_SIZE);
468
+ uzcqvl__(&i_idx, o_cval, (ftnlen)DFLT_SIZE);
466
469
 
467
470
  cval = rb_str_new2(o_cval);
468
471
 
@@ -489,7 +492,7 @@ dcl_uzcsvl(obj, idx, cval)
489
492
  i_cval = StringValuePtr(cval);
490
493
 
491
494
 
492
- uzcsvl_(&i_idx, i_cval, (ftnlen)strlen(i_cval));
495
+ uzcsvl__(&i_idx, i_cval, (ftnlen)strlen(i_cval));
493
496
 
494
497
  return Qnil;
495
498
 
@@ -510,7 +513,7 @@ dcl_uzcqin(obj, cp)
510
513
  i_cp = StringValuePtr(cp);
511
514
 
512
515
 
513
- uzcqin_(i_cp, &o_in, (ftnlen)strlen(i_cp));
516
+ uzcqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
514
517
 
515
518
  in = INT2NUM(o_in);
516
519
 
@@ -532,7 +535,7 @@ dcl_uzcsav(obj, iu)
532
535
  i_iu = NUM2INT(iu);
533
536
 
534
537
 
535
- uzcsav_(&i_iu);
538
+ uzcsav__(&i_iu);
536
539
 
537
540
  return Qnil;
538
541
 
@@ -551,7 +554,7 @@ dcl_uzcrst(obj, iu)
551
554
  i_iu = NUM2INT(iu);
552
555
 
553
556
 
554
- uzcrst_(&i_iu);
557
+ uzcrst__(&i_iu);
555
558
 
556
559
  return Qnil;
557
560
 
@@ -572,7 +575,7 @@ dcl_uziget(obj, cp)
572
575
  i_cp = StringValuePtr(cp);
573
576
 
574
577
 
575
- uziget_(i_cp, &o_ipara, (ftnlen)strlen(i_cp));
578
+ uziget__(i_cp, &o_ipara, (ftnlen)strlen(i_cp));
576
579
 
577
580
  ipara = INT2NUM(o_ipara);
578
581
 
@@ -599,7 +602,7 @@ dcl_uziset(obj, cp, ipara)
599
602
  i_ipara = NUM2INT(ipara);
600
603
 
601
604
 
602
- uziset_(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
605
+ uziset__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
603
606
 
604
607
  return Qnil;
605
608
 
@@ -623,7 +626,7 @@ dcl_uzistx(obj, cp, ipara)
623
626
  i_ipara = NUM2INT(ipara);
624
627
 
625
628
 
626
- uzistx_(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
629
+ uzistx__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
627
630
 
628
631
  return Qnil;
629
632
 
@@ -636,7 +639,7 @@ dcl_uziqnp(obj)
636
639
  integer o_ncp;
637
640
  VALUE ncp;
638
641
 
639
- uziqnp_(&o_ncp);
642
+ uziqnp__(&o_ncp);
640
643
 
641
644
  ncp = INT2NUM(o_ncp);
642
645
 
@@ -660,7 +663,7 @@ dcl_uziqid(obj, cp)
660
663
  i_cp = StringValuePtr(cp);
661
664
 
662
665
 
663
- uziqid_(i_cp, &o_idx, (ftnlen)strlen(i_cp));
666
+ uziqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
664
667
 
665
668
  idx = INT2NUM(o_idx);
666
669
 
@@ -686,7 +689,7 @@ dcl_uziqcp(obj, idx)
686
689
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
687
690
  memset(o_cp, '\0', DFLT_SIZE+1);
688
691
 
689
- uziqcp_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
692
+ uziqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
690
693
 
691
694
  cp = rb_str_new2(o_cp);
692
695
 
@@ -712,7 +715,7 @@ dcl_uziqcl(obj, idx)
712
715
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
713
716
  memset(o_cp, '\0', DFLT_SIZE+1);
714
717
 
715
- uziqcl_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
718
+ uziqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
716
719
 
717
720
  cp = rb_str_new2(o_cp);
718
721
 
@@ -736,7 +739,7 @@ dcl_uziqvl(obj, idx)
736
739
  i_idx = NUM2INT(idx);
737
740
 
738
741
 
739
- uziqvl_(&i_idx, &o_ipara);
742
+ uziqvl__(&i_idx, &o_ipara);
740
743
 
741
744
  ipara = INT2NUM(o_ipara);
742
745
 
@@ -763,7 +766,7 @@ dcl_uzisvl(obj, idx, ipara)
763
766
  i_ipara = NUM2INT(ipara);
764
767
 
765
768
 
766
- uzisvl_(&i_idx, &i_ipara);
769
+ uzisvl__(&i_idx, &i_ipara);
767
770
 
768
771
  return Qnil;
769
772
 
@@ -784,7 +787,7 @@ dcl_uziqin(obj, cp)
784
787
  i_cp = StringValuePtr(cp);
785
788
 
786
789
 
787
- uziqin_(i_cp, &o_in, (ftnlen)strlen(i_cp));
790
+ uziqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
788
791
 
789
792
  in = INT2NUM(o_in);
790
793
 
@@ -806,7 +809,7 @@ dcl_uzisav(obj, iu)
806
809
  i_iu = NUM2INT(iu);
807
810
 
808
811
 
809
- uzisav_(&i_iu);
812
+ uzisav__(&i_iu);
810
813
 
811
814
  return Qnil;
812
815
 
@@ -825,7 +828,7 @@ dcl_uzirst(obj, iu)
825
828
  i_iu = NUM2INT(iu);
826
829
 
827
830
 
828
- uzirst_(&i_iu);
831
+ uzirst__(&i_iu);
829
832
 
830
833
  return Qnil;
831
834
 
@@ -846,7 +849,7 @@ dcl_uzlget(obj, cp)
846
849
  i_cp = StringValuePtr(cp);
847
850
 
848
851
 
849
- uzlget_(i_cp, &o_lpara, (ftnlen)strlen(i_cp));
852
+ uzlget__(i_cp, &o_lpara, (ftnlen)strlen(i_cp));
850
853
 
851
854
  lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
852
855
 
@@ -870,7 +873,7 @@ dcl_uzlset(obj, cp, lpara)
870
873
  i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
871
874
 
872
875
 
873
- uzlset_(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
876
+ uzlset__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
874
877
 
875
878
  return Qnil;
876
879
 
@@ -891,7 +894,7 @@ dcl_uzlstx(obj, cp, lpara)
891
894
  i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
892
895
 
893
896
 
894
- uzlstx_(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
897
+ uzlstx__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
895
898
 
896
899
  return Qnil;
897
900
 
@@ -904,7 +907,7 @@ dcl_uzlqnp(obj)
904
907
  integer o_ncp;
905
908
  VALUE ncp;
906
909
 
907
- uzlqnp_(&o_ncp);
910
+ uzlqnp__(&o_ncp);
908
911
 
909
912
  ncp = INT2NUM(o_ncp);
910
913
 
@@ -928,7 +931,7 @@ dcl_uzlqid(obj, cp)
928
931
  i_cp = StringValuePtr(cp);
929
932
 
930
933
 
931
- uzlqid_(i_cp, &o_idx, (ftnlen)strlen(i_cp));
934
+ uzlqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
932
935
 
933
936
  idx = INT2NUM(o_idx);
934
937
 
@@ -954,7 +957,7 @@ dcl_uzlqcp(obj, idx)
954
957
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
955
958
  memset(o_cp, '\0', DFLT_SIZE+1);
956
959
 
957
- uzlqcp_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
960
+ uzlqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
958
961
 
959
962
  cp = rb_str_new2(o_cp);
960
963
 
@@ -980,7 +983,7 @@ dcl_uzlqcl(obj, idx)
980
983
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
981
984
  memset(o_cp, '\0', DFLT_SIZE+1);
982
985
 
983
- uzlqcl_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
986
+ uzlqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
984
987
 
985
988
  cp = rb_str_new2(o_cp);
986
989
 
@@ -1004,7 +1007,7 @@ dcl_uzlqvl(obj, idx)
1004
1007
  i_idx = NUM2INT(idx);
1005
1008
 
1006
1009
 
1007
- uzlqvl_(&i_idx, &o_lpara);
1010
+ uzlqvl__(&i_idx, &o_lpara);
1008
1011
 
1009
1012
  lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
1010
1013
 
@@ -1028,7 +1031,7 @@ dcl_uzlsvl(obj, idx, lpara)
1028
1031
  i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
1029
1032
 
1030
1033
 
1031
- uzlsvl_(&i_idx, &i_lpara);
1034
+ uzlsvl__(&i_idx, &i_lpara);
1032
1035
 
1033
1036
  return Qnil;
1034
1037
 
@@ -1049,7 +1052,7 @@ dcl_uzlqin(obj, cp)
1049
1052
  i_cp = StringValuePtr(cp);
1050
1053
 
1051
1054
 
1052
- uzlqin_(i_cp, &o_in, (ftnlen)strlen(i_cp));
1055
+ uzlqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
1053
1056
 
1054
1057
  in = INT2NUM(o_in);
1055
1058
 
@@ -1071,7 +1074,7 @@ dcl_uzlsav(obj, iu)
1071
1074
  i_iu = NUM2INT(iu);
1072
1075
 
1073
1076
 
1074
- uzlsav_(&i_iu);
1077
+ uzlsav__(&i_iu);
1075
1078
 
1076
1079
  return Qnil;
1077
1080
 
@@ -1090,7 +1093,7 @@ dcl_uzlrst(obj, iu)
1090
1093
  i_iu = NUM2INT(iu);
1091
1094
 
1092
1095
 
1093
- uzlrst_(&i_iu);
1096
+ uzlrst__(&i_iu);
1094
1097
 
1095
1098
  return Qnil;
1096
1099
 
@@ -1111,7 +1114,7 @@ dcl_uzrget(obj, cp)
1111
1114
  i_cp = StringValuePtr(cp);
1112
1115
 
1113
1116
 
1114
- uzrget_(i_cp, &o_rpara, (ftnlen)strlen(i_cp));
1117
+ uzrget__(i_cp, &o_rpara, (ftnlen)strlen(i_cp));
1115
1118
 
1116
1119
  rpara = rb_float_new((double)o_rpara);
1117
1120
 
@@ -1138,7 +1141,7 @@ dcl_uzrset(obj, cp, rpara)
1138
1141
  i_rpara = (real)NUM2DBL(rpara);
1139
1142
 
1140
1143
 
1141
- uzrset_(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
1144
+ uzrset__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
1142
1145
 
1143
1146
  return Qnil;
1144
1147
 
@@ -1162,7 +1165,7 @@ dcl_uzrstx(obj, cp, rpara)
1162
1165
  i_rpara = (real)NUM2DBL(rpara);
1163
1166
 
1164
1167
 
1165
- uzrstx_(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
1168
+ uzrstx__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
1166
1169
 
1167
1170
  return Qnil;
1168
1171
 
@@ -1175,7 +1178,7 @@ dcl_uzrqnp(obj)
1175
1178
  integer o_ncp;
1176
1179
  VALUE ncp;
1177
1180
 
1178
- uzrqnp_(&o_ncp);
1181
+ uzrqnp__(&o_ncp);
1179
1182
 
1180
1183
  ncp = INT2NUM(o_ncp);
1181
1184
 
@@ -1199,7 +1202,7 @@ dcl_uzrqid(obj, cp)
1199
1202
  i_cp = StringValuePtr(cp);
1200
1203
 
1201
1204
 
1202
- uzrqid_(i_cp, &o_idx, (ftnlen)strlen(i_cp));
1205
+ uzrqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
1203
1206
 
1204
1207
  idx = INT2NUM(o_idx);
1205
1208
 
@@ -1225,7 +1228,7 @@ dcl_uzrqcp(obj, idx)
1225
1228
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
1226
1229
  memset(o_cp, '\0', DFLT_SIZE+1);
1227
1230
 
1228
- uzrqcp_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1231
+ uzrqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1229
1232
 
1230
1233
  cp = rb_str_new2(o_cp);
1231
1234
 
@@ -1251,7 +1254,7 @@ dcl_uzrqcl(obj, idx)
1251
1254
  o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
1252
1255
  memset(o_cp, '\0', DFLT_SIZE+1);
1253
1256
 
1254
- uzrqcl_(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1257
+ uzrqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
1255
1258
 
1256
1259
  cp = rb_str_new2(o_cp);
1257
1260
 
@@ -1275,7 +1278,7 @@ dcl_uzrqvl(obj, idx)
1275
1278
  i_idx = NUM2INT(idx);
1276
1279
 
1277
1280
 
1278
- uzrqvl_(&i_idx, &o_rpara);
1281
+ uzrqvl__(&i_idx, &o_rpara);
1279
1282
 
1280
1283
  rpara = rb_float_new((double)o_rpara);
1281
1284
 
@@ -1302,7 +1305,7 @@ dcl_uzrsvl(obj, idx, rpara)
1302
1305
  i_rpara = (real)NUM2DBL(rpara);
1303
1306
 
1304
1307
 
1305
- uzrsvl_(&i_idx, &i_rpara);
1308
+ uzrsvl__(&i_idx, &i_rpara);
1306
1309
 
1307
1310
  return Qnil;
1308
1311
 
@@ -1323,7 +1326,7 @@ dcl_uzrqin(obj, cp)
1323
1326
  i_cp = StringValuePtr(cp);
1324
1327
 
1325
1328
 
1326
- uzrqin_(i_cp, &o_in, (ftnlen)strlen(i_cp));
1329
+ uzrqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
1327
1330
 
1328
1331
  in = INT2NUM(o_in);
1329
1332
 
@@ -1345,7 +1348,7 @@ dcl_uzrsav(obj, iu)
1345
1348
  i_iu = NUM2INT(iu);
1346
1349
 
1347
1350
 
1348
- uzrsav_(&i_iu);
1351
+ uzrsav__(&i_iu);
1349
1352
 
1350
1353
  return Qnil;
1351
1354
 
@@ -1364,7 +1367,7 @@ dcl_uzrrst(obj, iu)
1364
1367
  i_iu = NUM2INT(iu);
1365
1368
 
1366
1369
 
1367
- uzrrst_(&i_iu);
1370
+ uzrrst__(&i_iu);
1368
1371
 
1369
1372
  return Qnil;
1370
1373
 
@@ -1374,7 +1377,7 @@ static VALUE
1374
1377
  dcl_uzpsav(obj)
1375
1378
  VALUE obj;
1376
1379
  {
1377
- uzpsav_();
1380
+ uzpsav__();
1378
1381
 
1379
1382
  return Qnil;
1380
1383
 
@@ -1384,7 +1387,7 @@ static VALUE
1384
1387
  dcl_uzprst(obj)
1385
1388
  VALUE obj;
1386
1389
  {
1387
- uzprst_();
1390
+ uzprst__();
1388
1391
 
1389
1392
  return Qnil;
1390
1393