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.
- checksums.yaml +5 -5
- data/ChangeLog +1149 -365
- data/LICENSE.txt +1 -1
- data/Rakefile +7 -11
- data/demo/gokuraku/hop/hop.rb +1 -2
- data/demo/gokuraku/jump/jump1.rb +1 -2
- data/demo/gokuraku/jump/jump2.rb +2 -3
- data/demo/gokuraku/layout/lay1.rb +1 -2
- data/demo/gokuraku/layout/lay2.rb +1 -2
- data/demo/gokuraku/step/step0.rb +1 -2
- data/demo/gokuraku/step/step1.rb +1 -2
- data/demo/gokuraku/step/step2.rb +1 -2
- data/demo/gokuraku/u1d/u1d1.rb +1 -2
- data/demo/gokuraku/u1d/u1d2.rb +1 -2
- data/demo/gokuraku/u2d/u2d1.rb +1 -2
- data/demo/gokuraku/u2d/u2d2.rb +1 -2
- data/demo/gokuraku/u2d/u2d3.rb +1 -2
- data/demo/gokuraku/u2d/u2d4.rb +1 -2
- data/demo/grph1/scpack/scpkt2.rb +1 -2
- data/demo/grph1/scpack/scpkt3.rb +1 -2
- data/demo/grph1/scpack/scpkt6.rb +1 -2
- data/demo/grph1/scpack/scpkt7.rb +1 -2
- data/demo/grph1/scpack/scpkt8.rb +1 -2
- data/demo/grph1/sgpack/sgfont.rb +2 -3
- data/demo/grph1/sgpack/sgfonz.rb +2 -3
- data/demo/grph1/sgpack/sgksx1.rb +1 -2
- data/demo/grph1/sgpack/sgksx2.rb +1 -2
- data/demo/grph1/sgpack/sgksx3.rb +1 -2
- data/demo/grph1/sgpack/sglidx.rb +1 -2
- data/demo/grph1/sgpack/sgltyp.rb +1 -2
- data/demo/grph1/sgpack/sgpk01.rb +1 -2
- data/demo/grph1/sgpack/sgpk02.rb +1 -2
- data/demo/grph1/sgpack/sgpk03.rb +1 -2
- data/demo/grph1/sgpack/sgpk04.rb +1 -2
- data/demo/grph1/sgpack/sgpk05.rb +1 -2
- data/demo/grph1/sgpack/sgpk06.rb +1 -2
- data/demo/grph1/sgpack/sgpk07.rb +9 -8
- data/demo/grph1/sgpack/sgpk08.rb +1 -2
- data/demo/grph1/sgpack/sgpk09.rb +1 -2
- data/demo/grph1/sgpack/sgpk10.rb +1 -2
- data/demo/grph1/sgpack/sgtclr.rb +1 -2
- data/demo/grph1/sgpack/sgtone.rb +1 -2
- data/demo/grph1/sgpack/sgtonz.rb +1 -2
- data/demo/grph1/slpack/slpk01.rb +1 -2
- data/demo/grph1/slpack/slpk02.rb +1 -2
- data/demo/grph1/slpack/slpk03.rb +1 -2
- data/demo/grph1/slpack/slpk04.rb +2 -3
- data/demo/grph2/grpack/grpk01.rb +1 -2
- data/demo/grph2/ucpack/ucpk01.rb +1 -2
- data/demo/grph2/ucpack/ucpk02.rb +1 -2
- data/demo/grph2/udegpk/u2df01.rb +1 -2
- data/demo/grph2/udegpk/u2df02.rb +1 -2
- data/demo/grph2/udegpk/u2df03.rb +3 -4
- data/demo/grph2/udegpk/u2df04.rb +1 -2
- data/demo/grph2/udegpk/u2df05.rb +1 -2
- data/demo/grph2/udegpk/u2df06.rb +1 -2
- data/demo/grph2/udegpk/u2df07.rb +1 -2
- data/demo/grph2/udegpk/u2df08.rb +1 -2
- data/demo/grph2/udegpk/u2df09b.rb +0 -1
- data/demo/grph2/udegpk/u2df09c.rb +0 -1
- data/demo/grph2/udegpk/u2df09e.rb +0 -1
- data/demo/grph2/udegpk/u2df09f.rb +0 -1
- data/demo/grph2/uipack/uipk01.rb +1 -2
- data/demo/grph2/uipack/uipk02.rb +26 -18
- data/demo/grph2/uipack/uipk03.rb +50 -0
- data/demo/grph2/ulpack/ulpk01.rb +1 -2
- data/demo/grph2/ulpack/ulpk01n.rb +1 -2
- data/demo/grph2/ulpack/ulpk02.rb +1 -2
- data/demo/grph2/ulpack/ulpk02n.rb +1 -2
- data/demo/grph2/umpack/test01.rb +1 -2
- data/demo/grph2/umpack/test02.rb +1 -2
- data/demo/grph2/umpack/test03.rb +1 -2
- data/demo/grph2/umpack/test04.rb +2 -3
- data/demo/grph2/umpack/test05.rb +1 -2
- data/demo/grph2/umpack/test05r.rb +86 -0
- data/demo/grph2/umpack/test06.rb +1 -2
- data/demo/grph2/umpack/test07.rb +1 -2
- data/demo/grph2/umpack/test08.rb +1 -2
- data/demo/grph2/umpack/test10.rb +0 -1
- data/demo/grph2/umpack/umpk01.rb +1 -2
- data/demo/grph2/umpack/umpk02.rb +1 -2
- data/demo/grph2/umpack/umpk03.rb +1 -2
- data/demo/grph2/umpack/umpk04.rb +1 -2
- data/demo/grph2/umpack/umpk05.rb +1 -2
- data/demo/grph2/uspack/uspk01.rb +1 -2
- data/demo/grph2/uspack/uspk02.rb +1 -2
- data/demo/grph2/uspack/uspk03.rb +1 -2
- data/demo/grph2/uspack/uspk04.rb +1 -2
- data/demo/grph2/uspack/uspk05.rb +1 -2
- data/demo/grph2/uspack/uspk06.rb +2 -3
- data/demo/grph2/uspack/uspk07.rb +1 -2
- data/demo/grph2/uspack/uspk08.rb +2 -3
- data/demo/grph2/uspack/uspk09.rb +1 -2
- data/demo/grph2/uspack/uspk10.rb +1 -2
- data/demo/grph2/uspack/uspk11.rb +1 -2
- data/demo/grph2/uspack/uspk12.rb +1 -2
- data/demo/grph2/uupack/uupk01.rb +1 -2
- data/demo/grph2/uupack/uupk02.rb +1 -2
- data/demo/grph2/uupack/uupk03.rb +1 -2
- data/demo/grph2/uupack/uupk04.rb +1 -2
- data/demo/grph2/uupack/uupk05.rb +1 -2
- data/demo/grph2/uupack/uupk06.rb +1 -2
- data/demo/grph2/uupack/uupk07.rb +1 -2
- data/demo/grph2/uxyzpk/uxyz01.rb +1 -2
- data/demo/grph2/uxyzpk/uxyz02.rb +1 -2
- data/demo/grph2/uxyzpk/uxyz03.rb +1 -2
- data/demo/grph2/uxyzpk/uxyz04.rb +1 -2
- data/demo/grph2/uxyzpk/uxyz05.rb +1 -2
- data/demo/grph2/uxyzpk/uxyz06.rb +1 -2
- data/demo/grph2/uxyzpk/uxyz07.rb +1 -2
- data/demo/grph2/uxyzpk/uxyz08.rb +1 -2
- data/demo/grph2/uxyzpk/uxyz09.rb +1 -2
- data/demo/grph2/uxyzpk/uxyz10.rb +1 -2
- data/demo/grph2/ximage/ximg01.rb +2 -3
- data/demo/math1/clsplib/cslb01.rb +1 -2
- data/demo/math2/fftlib/fftl01.rb +1 -2
- data/demo/math2/fftlib/fftl02.rb +1 -2
- data/demo/math2/intrlib/intr01.rb +1 -2
- data/demo/math2/rnmlib/rnml01.rb +1 -2
- data/demo/math2/vstlib/vstl01.rb +1 -2
- data/demo/math2/vstlib/vstl02.rb +1 -2
- data/demo/misc2/tmpack/tmpk01.rb +46 -0
- data/demo/misc2/tmpack/tmpk02.rb +58 -0
- data/demo/misc2/tmpack/tmpk03.rb +56 -0
- data/demo/rakuraku/color/color1.rb +1 -2
- data/demo/rakuraku/color/color2.rb +5 -5
- data/demo/rakuraku/color/color3.rb +1 -2
- data/demo/rakuraku/kihon/kihon1.rb +1 -2
- data/demo/rakuraku/kihon/kihon2.rb +1 -2
- data/demo/rakuraku/kihon/kihon3.rb +1 -2
- data/demo/rakuraku/kihon/kihon4.rb +1 -2
- data/demo/rakuraku/kihon/kihon5.rb +1 -2
- data/demo/rakuraku/kihon/kihon6.rb +1 -2
- data/demo/rakuraku/kihon/kihon7.rb +10 -5
- data/demo/rakuraku/kihon/kihon8.rb +1 -2
- data/demo/rakuraku/kihon/kihon9.rb +1 -2
- data/demo/rakuraku/kihon/kihona.rb +1 -2
- data/demo/rakuraku/kihon/kihonb.rb +12 -11
- data/demo/rakuraku/kihon/kihonc.rb +1 -2
- data/demo/rakuraku/layout/lay1.rb +1 -2
- data/demo/rakuraku/layout/lay2.rb +1 -2
- data/demo/rakuraku/layout/lay3.rb +1 -2
- data/demo/rakuraku/map3d/map3d1.rb +1 -2
- data/demo/rakuraku/map3d/map3d2.rb +1 -2
- data/demo/rakuraku/map3d/map3d3.rb +1 -2
- data/demo/rakuraku/map3d/map3d4.rb +1 -2
- data/demo/rakuraku/map3d/map3d5.rb +1 -2
- data/demo/rakuraku/map3d/map3d6.rb +0 -1
- data/demo/rakuraku/map3d/map3d7.rb +0 -1
- data/demo/rakuraku/miss/miss1.rb +1 -2
- data/demo/rakuraku/miss/miss2.rb +1 -2
- data/demo/rakuraku/quick/quick1.rb +1 -2
- data/demo/rakuraku/quick/quick2.rb +1 -2
- data/demo/rakuraku/quick/quick3.rb +1 -2
- data/demo/rakuraku/quick/quick4.rb +1 -2
- data/demo/rakuraku/quick/quick5.rb +1 -2
- data/demo/rakuraku/u2d/u2d1.rb +1 -2
- data/demo/rakuraku/u2d/u2d2.rb +1 -2
- data/demo/rakuraku/u2d/u2d3.rb +1 -2
- data/demo/rakuraku/u2d/u2d4.rb +1 -2
- data/demo/rakuraku/u2d/u2d5.rb +1 -2
- data/demo/rakuraku/u2d/u2d6.rb +1 -2
- data/demo/rakuraku/u2d/u2d7.rb +1 -2
- data/demo/rakuraku/uspack/uspac1.rb +2 -3
- data/demo/rakuraku/uspack/uspac2.rb +1 -2
- data/demo/rakuraku/uspack/uspac3.rb +2 -3
- data/demo/rakuraku/uspack/uspac4.rb +1 -2
- data/demo/rakuraku/uxyz/uxyz1.rb +1 -2
- data/demo/rakuraku/uxyz/uxyz2.rb +1 -2
- data/demo/rakuraku/uxyz/uxyz3.rb +1 -2
- data/demo/rakuraku/uxyz/uxyz4.rb +1 -2
- data/demo/rakuraku/uxyz/uxyz5.rb +1 -2
- data/demo/rakuraku/uxyz/uxyz6.rb +1 -2
- data/demo/rakuraku/uxyz/uxyz7.rb +1 -2
- data/demo/rakuraku/uxyz/uxyz8.rb +1 -2
- data/demo/rubydcloriginal/uemrkz1.rb +0 -1
- data/ext/numru/dcl_cary2obj.c +29 -24
- data/ext/numru/dcl_narrayed_funcs.c +21 -21
- data/ext/numru/dcl_obj2cary.c +9 -5
- data/ext/numru/dcl_rubydcloriginal.c +14 -5
- data/ext/numru/extconf.rb +73 -61
- data/ext/numru/grph1_csgi.c +38 -8
- data/ext/numru/grph1_scpack.c +49 -46
- data/ext/numru/grph1_sgpack.c +167 -164
- data/ext/numru/grph1_slpack.c +23 -20
- data/ext/numru/grph1_stpack.c +44 -41
- data/ext/numru/grph1_swpack.c +155 -92
- data/ext/numru/grph2_grpack.c +22 -19
- data/ext/numru/grph2_ucpack.c +55 -52
- data/ext/numru/grph2_udpack.c +61 -58
- data/ext/numru/grph2_uepack.c +60 -57
- data/ext/numru/grph2_ugpack.c +49 -46
- data/ext/numru/grph2_uhpack.c +25 -22
- data/ext/numru/grph2_uipack.c +57 -54
- data/ext/numru/grph2_ulpack.c +59 -56
- data/ext/numru/grph2_umpack.c +75 -72
- data/ext/numru/grph2_uspack.c +97 -94
- data/ext/numru/grph2_uupack.c +78 -75
- data/ext/numru/grph2_uvpack.c +25 -22
- data/ext/numru/grph2_uwpack.c +30 -27
- data/ext/numru/grph2_uxpack.c +23 -20
- data/ext/numru/grph2_uypack.c +23 -20
- data/ext/numru/grph2_uzpack.c +69 -66
- data/ext/numru/init.c.default +6 -2
- data/ext/numru/math1_blklib.c +13 -10
- data/ext/numru/math1_chrlib.c +16 -13
- data/ext/numru/math1_clsplib.c +13 -10
- data/ext/numru/math1_fnclib.c +16 -13
- data/ext/numru/math1_gnmlib.c +21 -18
- data/ext/numru/math1_gt2dlib.c +18 -15
- data/ext/numru/math1_ifalib.c +18 -15
- data/ext/numru/math1_indxlib.c +24 -21
- data/ext/numru/math1_intlib.c +13 -10
- data/ext/numru/math1_lrllib.c +33 -30
- data/ext/numru/math1_maplib.c +14 -11
- data/ext/numru/math1_oslib.c +11 -8
- data/ext/numru/math1_rfalib.c +39 -36
- data/ext/numru/math1_rfblib.c +12 -9
- data/ext/numru/math1_sublib.c +13 -10
- data/ext/numru/math1_syslib.c +82 -79
- data/ext/numru/math1_vialib.c +31 -28
- data/ext/numru/math1_viblib.c +24 -21
- data/ext/numru/math1_vralib.c +31 -28
- data/ext/numru/math1_vrblib.c +24 -21
- data/ext/numru/math1_xfclib.c +12 -9
- data/ext/numru/math2_fftlib.c +28 -25
- data/ext/numru/math2_intrlib.c +11 -8
- data/ext/numru/math2_rnmlib.c +12 -9
- data/ext/numru/math2_shtlib.c +34 -31
- data/ext/numru/math2_vstlib.c +15 -12
- data/ext/numru/misc1_chnlib.c +12 -9
- data/ext/numru/misc1_datelib.c +36 -33
- data/ext/numru/misc1_fmtlib.c +10 -7
- data/ext/numru/misc1_misclib.c +11 -8
- data/ext/numru/misc1_randlib.c +13 -10
- data/ext/numru/misc1_timelib.c +20 -17
- data/ext/numru/misc2_tmpack.c +1200 -0
- data/lib/numru/dcl/dcl.rb +5676 -0
- data/lib/numru/dcl/version.rb +5 -0
- data/lib/numru/dcl.rb +6 -5580
- data/ruby-dcl.gemspec +13 -9
- metadata +25 -99
- data/.gitignore +0 -13
- data/.rspec +0 -2
- data/.travis.yml +0 -3
- data/GenWrapper/Makefile +0 -15
- data/GenWrapper/cproto2init.rb +0 -41
- data/GenWrapper/dcl_narrayed_funcs.rb +0 -181
- data/GenWrapper/dcl_rb_footing +0 -29
- data/GenWrapper/dcl_rb_heading +0 -123
- data/GenWrapper/def.rb +0 -20
- data/GenWrapper/elim_ary_size.rb +0 -398
- data/GenWrapper/etc/p_header +0 -64
- data/GenWrapper/pparse.rb +0 -137
- data/GenWrapper/proto/Makefile +0 -36
- data/GenWrapper/proto/grph1_00 +0 -17
- data/GenWrapper/proto/grph1_csgi.fp +0 -27
- data/GenWrapper/proto/grph1_scpack.fp +0 -442
- data/GenWrapper/proto/grph1_sgpack.fp +0 -1772
- data/GenWrapper/proto/grph1_slpack.fp +0 -316
- data/GenWrapper/proto/grph1_stpack.fp +0 -455
- data/GenWrapper/proto/grph1_swpack.fp +0 -826
- data/GenWrapper/proto/grph2_00 +0 -16
- data/GenWrapper/proto/grph2_grpack.fp +0 -139
- data/GenWrapper/proto/grph2_ucpack.fp +0 -522
- data/GenWrapper/proto/grph2_udpack.fp +0 -692
- data/GenWrapper/proto/grph2_uepack.fp +0 -601
- data/GenWrapper/proto/grph2_ugpack.fp +0 -436
- data/GenWrapper/proto/grph2_uhpack.fp +0 -246
- data/GenWrapper/proto/grph2_uipack.fp +0 -508
- data/GenWrapper/proto/grph2_ulpack.fp +0 -516
- data/GenWrapper/proto/grph2_umpack.fp +0 -676
- data/GenWrapper/proto/grph2_uspack.fp +0 -989
- data/GenWrapper/proto/grph2_uupack.fp +0 -663
- data/GenWrapper/proto/grph2_uvpack.fp +0 -246
- data/GenWrapper/proto/grph2_uwpack.fp +0 -203
- data/GenWrapper/proto/grph2_uxpack.fp +0 -295
- data/GenWrapper/proto/grph2_uypack.fp +0 -295
- data/GenWrapper/proto/grph2_uzpack.fp +0 -574
- data/GenWrapper/proto/math1_00 +0 -12
- data/GenWrapper/proto/math1_blklib.fp +0 -58
- data/GenWrapper/proto/math1_chrlib.fp +0 -83
- data/GenWrapper/proto/math1_clsplib.fp +0 -74
- data/GenWrapper/proto/math1_fnclib.fp +0 -79
- data/GenWrapper/proto/math1_gnmlib.fp +0 -118
- data/GenWrapper/proto/math1_gt2dlib.fp +0 -144
- data/GenWrapper/proto/math1_ifalib.fp +0 -123
- data/GenWrapper/proto/math1_indxlib.fp +0 -222
- data/GenWrapper/proto/math1_intlib.fp +0 -46
- data/GenWrapper/proto/math1_lrllib.fp +0 -276
- data/GenWrapper/proto/math1_maplib.fp +0 -24
- data/GenWrapper/proto/math1_oslib.fp +0 -28
- data/GenWrapper/proto/math1_rfalib.fp +0 -420
- data/GenWrapper/proto/math1_rfblib.fp +0 -51
- data/GenWrapper/proto/math1_sublib.fp +0 -60
- data/GenWrapper/proto/math1_syslib.fp +0 -767
- data/GenWrapper/proto/math1_vialib.fp +0 -339
- data/GenWrapper/proto/math1_viblib.fp +0 -264
- data/GenWrapper/proto/math1_vralib.fp +0 -339
- data/GenWrapper/proto/math1_vrblib.fp +0 -264
- data/GenWrapper/proto/math1_xfclib.fp +0 -68
- data/GenWrapper/proto/math2_00 +0 -12
- data/GenWrapper/proto/math2_fftlib.fp +0 -803
- data/GenWrapper/proto/math2_intrlib.fp +0 -32
- data/GenWrapper/proto/math2_odelib.fp_notused +0 -568
- data/GenWrapper/proto/math2_rnmlib.fp +0 -54
- data/GenWrapper/proto/math2_shtlib.fp +0 -1292
- data/GenWrapper/proto/math2_vstlib.fp +0 -84
- data/GenWrapper/proto/misc1_00 +0 -17
- data/GenWrapper/proto/misc1_chnlib.fp +0 -47
- data/GenWrapper/proto/misc1_datelib.fp +0 -352
- data/GenWrapper/proto/misc1_fmtlib.fp +0 -19
- data/GenWrapper/proto/misc1_misclib.fp +0 -26
- data/GenWrapper/proto/misc1_randlib.fp +0 -50
- data/GenWrapper/proto/misc1_timelib.fp +0 -151
- data/GenWrapper/proto2c.rb +0 -13
- data/GenWrapper/prototype.rb +0 -209
- data/GenWrapper/util.rb +0 -9
- data/GenWrapper/variable.rb +0 -671
- data/README +0 -29
- data/ToDo +0 -2
- data/bin/console +0 -14
- data/bin/setup +0 -7
- data/demo/grph2/ximage/MEMO +0 -23
- data/obsolete/README +0 -2
- data/obsolete/dcl_ext.html +0 -112
- data/obsolete/dcl_ext.rb +0 -313
data/ext/numru/math1_syslib.c
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
/*
|
2
|
-
* $Id
|
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 *,
|
26
|
-
extern VALUE dcl_crealary2obj(real *,
|
27
|
-
extern VALUE dcl_ccomplexary2obj(complex *, int, char *);
|
28
|
-
extern VALUE dcl_clogicalary2obj(logical *,
|
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 *);
|
@@ -82,7 +85,7 @@ dcl_lchreq(obj, ch1, ch2)
|
|
82
85
|
i_ch2 = StringValuePtr(ch2);
|
83
86
|
|
84
87
|
|
85
|
-
o_rtn_val =
|
88
|
+
o_rtn_val = lchreq__(i_ch1, i_ch2, (ftnlen)strlen(i_ch1), (ftnlen)strlen(i_ch2));
|
86
89
|
|
87
90
|
rtn_val = (o_rtn_val == FALSE_) ? Qfalse : Qtrue;
|
88
91
|
|
@@ -114,7 +117,7 @@ dcl_msgdmp(obj, clev, csub, cmsg)
|
|
114
117
|
i_cmsg = StringValuePtr(cmsg);
|
115
118
|
|
116
119
|
|
117
|
-
|
120
|
+
msgdmp__(i_clev, i_csub, i_cmsg, (ftnlen)strlen(i_clev), (ftnlen)strlen(i_csub), (ftnlen)strlen(i_cmsg));
|
118
121
|
|
119
122
|
return Qnil;
|
120
123
|
|
@@ -143,7 +146,7 @@ dcl_mszdmp(obj, cmsg, iunit, lnsize)
|
|
143
146
|
i_lnsize = NUM2INT(lnsize);
|
144
147
|
|
145
148
|
|
146
|
-
|
149
|
+
mszdmp__(i_cmsg, &i_iunit, &i_lnsize, (ftnlen)strlen(i_cmsg));
|
147
150
|
|
148
151
|
return Qnil;
|
149
152
|
|
@@ -166,7 +169,7 @@ dcl_glcget(obj, cp)
|
|
166
169
|
o_cpara= ALLOCA_N(char, (DFLT_SIZE+1));
|
167
170
|
memset(o_cpara, '\0', DFLT_SIZE+1);
|
168
171
|
|
169
|
-
|
172
|
+
glcget__(i_cp, o_cpara, (ftnlen)strlen(i_cp), (ftnlen)DFLT_SIZE);
|
170
173
|
|
171
174
|
cpara = rb_str_new2(o_cpara);
|
172
175
|
|
@@ -193,7 +196,7 @@ dcl_glcset(obj, cp, cpara)
|
|
193
196
|
i_cpara = StringValuePtr(cpara);
|
194
197
|
|
195
198
|
|
196
|
-
|
199
|
+
glcset__(i_cp, i_cpara, (ftnlen)strlen(i_cp), (ftnlen)strlen(i_cpara));
|
197
200
|
|
198
201
|
return Qnil;
|
199
202
|
|
@@ -217,7 +220,7 @@ dcl_glcstx(obj, cp, cpara)
|
|
217
220
|
i_cpara = StringValuePtr(cpara);
|
218
221
|
|
219
222
|
|
220
|
-
|
223
|
+
glcstx__(i_cp, i_cpara, (ftnlen)strlen(i_cp), (ftnlen)strlen(i_cpara));
|
221
224
|
|
222
225
|
return Qnil;
|
223
226
|
|
@@ -240,7 +243,7 @@ dcl_glqfnm(obj, cpara)
|
|
240
243
|
o_cfname= ALLOCA_N(char, (DFLT_SIZE+1));
|
241
244
|
memset(o_cfname, '\0', DFLT_SIZE+1);
|
242
245
|
|
243
|
-
|
246
|
+
glqfnm__(i_cpara, o_cfname, (ftnlen)strlen(i_cpara), (ftnlen)DFLT_SIZE);
|
244
247
|
|
245
248
|
cfname = rb_str_new2(o_cfname);
|
246
249
|
|
@@ -256,7 +259,7 @@ dcl_iufopn(obj)
|
|
256
259
|
integer o_rtn_val;
|
257
260
|
VALUE rtn_val;
|
258
261
|
|
259
|
-
o_rtn_val =
|
262
|
+
o_rtn_val = iufopn__();
|
260
263
|
|
261
264
|
rtn_val = INT2NUM(o_rtn_val);
|
262
265
|
|
@@ -303,7 +306,7 @@ dcl_cfsrch(obj, cplist, np, cflist, nf)
|
|
303
306
|
o_cfname= ALLOCA_N(char, (DFLT_SIZE+1));
|
304
307
|
memset(o_cfname, '\0', DFLT_SIZE+1);
|
305
308
|
|
306
|
-
|
309
|
+
cfsrch__(i_cplist, &i_np, i_cflist, &i_nf, o_cfname, (ftnlen)80, (ftnlen)80, (ftnlen)DFLT_SIZE);
|
307
310
|
|
308
311
|
cfname = rb_str_new2(o_cfname);
|
309
312
|
|
@@ -321,7 +324,7 @@ dcl_glpqnp(obj)
|
|
321
324
|
integer o_ncp;
|
322
325
|
VALUE ncp;
|
323
326
|
|
324
|
-
|
327
|
+
glpqnp__(&o_ncp);
|
325
328
|
|
326
329
|
ncp = INT2NUM(o_ncp);
|
327
330
|
|
@@ -345,7 +348,7 @@ dcl_glpqid(obj, cp)
|
|
345
348
|
i_cp = StringValuePtr(cp);
|
346
349
|
|
347
350
|
|
348
|
-
|
351
|
+
glpqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
349
352
|
|
350
353
|
idx = INT2NUM(o_idx);
|
351
354
|
|
@@ -371,7 +374,7 @@ dcl_glpqcp(obj, idx)
|
|
371
374
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
372
375
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
373
376
|
|
374
|
-
|
377
|
+
glpqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
375
378
|
|
376
379
|
cp = rb_str_new2(o_cp);
|
377
380
|
|
@@ -397,7 +400,7 @@ dcl_glpqcl(obj, idx)
|
|
397
400
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
398
401
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
399
402
|
|
400
|
-
|
403
|
+
glpqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
401
404
|
|
402
405
|
cp = rb_str_new2(o_cp);
|
403
406
|
|
@@ -421,7 +424,7 @@ dcl_glpqit(obj, idx)
|
|
421
424
|
i_idx = NUM2INT(idx);
|
422
425
|
|
423
426
|
|
424
|
-
|
427
|
+
glpqit__(&i_idx, &o_itp);
|
425
428
|
|
426
429
|
itp = INT2NUM(o_itp);
|
427
430
|
|
@@ -445,7 +448,7 @@ dcl_glpqvl(obj, idx)
|
|
445
448
|
i_idx = NUM2INT(idx);
|
446
449
|
|
447
450
|
|
448
|
-
|
451
|
+
glpqvl__(&i_idx, &o_ipara);
|
449
452
|
|
450
453
|
ipara = INT2NUM(o_ipara);
|
451
454
|
|
@@ -472,7 +475,7 @@ dcl_glpsvl(obj, idx, ipara)
|
|
472
475
|
i_ipara = NUM2INT(ipara);
|
473
476
|
|
474
477
|
|
475
|
-
|
478
|
+
glpsvl__(&i_idx, &i_ipara);
|
476
479
|
|
477
480
|
return Qnil;
|
478
481
|
|
@@ -493,7 +496,7 @@ dcl_glpqin(obj, cp)
|
|
493
496
|
i_cp = StringValuePtr(cp);
|
494
497
|
|
495
498
|
|
496
|
-
|
499
|
+
glpqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
497
500
|
|
498
501
|
in = INT2NUM(o_in);
|
499
502
|
|
@@ -517,7 +520,7 @@ dcl_gliget(obj, cp)
|
|
517
520
|
i_cp = StringValuePtr(cp);
|
518
521
|
|
519
522
|
|
520
|
-
|
523
|
+
gliget__(i_cp, &o_ipara, (ftnlen)strlen(i_cp));
|
521
524
|
|
522
525
|
ipara = INT2NUM(o_ipara);
|
523
526
|
|
@@ -544,7 +547,7 @@ dcl_gliset(obj, cp, ipara)
|
|
544
547
|
i_ipara = NUM2INT(ipara);
|
545
548
|
|
546
549
|
|
547
|
-
|
550
|
+
gliset__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
|
548
551
|
|
549
552
|
return Qnil;
|
550
553
|
|
@@ -568,7 +571,7 @@ dcl_glistx(obj, cp, ipara)
|
|
568
571
|
i_ipara = NUM2INT(ipara);
|
569
572
|
|
570
573
|
|
571
|
-
|
574
|
+
glistx__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
|
572
575
|
|
573
576
|
return Qnil;
|
574
577
|
|
@@ -589,7 +592,7 @@ dcl_gllget(obj, cp)
|
|
589
592
|
i_cp = StringValuePtr(cp);
|
590
593
|
|
591
594
|
|
592
|
-
|
595
|
+
gllget__(i_cp, &o_lpara, (ftnlen)strlen(i_cp));
|
593
596
|
|
594
597
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
595
598
|
|
@@ -613,7 +616,7 @@ dcl_gllset(obj, cp, lpara)
|
|
613
616
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
614
617
|
|
615
618
|
|
616
|
-
|
619
|
+
gllset__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
|
617
620
|
|
618
621
|
return Qnil;
|
619
622
|
|
@@ -634,7 +637,7 @@ dcl_gllstx(obj, cp, lpara)
|
|
634
637
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
635
638
|
|
636
639
|
|
637
|
-
|
640
|
+
gllstx__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
|
638
641
|
|
639
642
|
return Qnil;
|
640
643
|
|
@@ -644,7 +647,7 @@ static VALUE
|
|
644
647
|
dcl_rpnenv(obj)
|
645
648
|
VALUE obj;
|
646
649
|
{
|
647
|
-
|
650
|
+
rpnenv__();
|
648
651
|
|
649
652
|
return Qnil;
|
650
653
|
|
@@ -670,7 +673,7 @@ dcl_rtienv(obj, cpfix, cp)
|
|
670
673
|
i_cp = StringValuePtr(cp);
|
671
674
|
|
672
675
|
|
673
|
-
|
676
|
+
rtienv__(i_cpfix, i_cp, &o_ipara, (ftnlen)strlen(i_cpfix), (ftnlen)strlen(i_cp));
|
674
677
|
|
675
678
|
ipara = INT2NUM(o_ipara);
|
676
679
|
|
@@ -699,7 +702,7 @@ dcl_rtlenv(obj, cpfix, cp)
|
|
699
702
|
i_cp = StringValuePtr(cp);
|
700
703
|
|
701
704
|
|
702
|
-
|
705
|
+
rtlenv__(i_cpfix, i_cp, &o_lpara, (ftnlen)strlen(i_cpfix), (ftnlen)strlen(i_cp));
|
703
706
|
|
704
707
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
705
708
|
|
@@ -728,7 +731,7 @@ dcl_rtrenv(obj, cpfix, cp)
|
|
728
731
|
i_cp = StringValuePtr(cp);
|
729
732
|
|
730
733
|
|
731
|
-
|
734
|
+
rtrenv__(i_cpfix, i_cp, &o_rpara, (ftnlen)strlen(i_cpfix), (ftnlen)strlen(i_cp));
|
732
735
|
|
733
736
|
rpara = rb_float_new((double)o_rpara);
|
734
737
|
|
@@ -759,7 +762,7 @@ dcl_rtcenv(obj, cpfix, cp)
|
|
759
762
|
o_cpara= ALLOCA_N(char, (DFLT_SIZE+1));
|
760
763
|
memset(o_cpara, '\0', DFLT_SIZE+1);
|
761
764
|
|
762
|
-
|
765
|
+
rtcenv__(i_cpfix, i_cp, o_cpara, (ftnlen)strlen(i_cpfix), (ftnlen)strlen(i_cp), (ftnlen)DFLT_SIZE);
|
763
766
|
|
764
767
|
cpara = rb_str_new2(o_cpara);
|
765
768
|
|
@@ -783,7 +786,7 @@ dcl_rlienv(obj, cp)
|
|
783
786
|
i_cp = StringValuePtr(cp);
|
784
787
|
|
785
788
|
|
786
|
-
|
789
|
+
rlienv__(i_cp, &o_ipara, (ftnlen)strlen(i_cp));
|
787
790
|
|
788
791
|
ipara = INT2NUM(o_ipara);
|
789
792
|
|
@@ -807,7 +810,7 @@ dcl_rllenv(obj, cp)
|
|
807
810
|
i_cp = StringValuePtr(cp);
|
808
811
|
|
809
812
|
|
810
|
-
|
813
|
+
rllenv__(i_cp, &o_lpara, (ftnlen)strlen(i_cp));
|
811
814
|
|
812
815
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
813
816
|
|
@@ -831,7 +834,7 @@ dcl_rlrenv(obj, cp)
|
|
831
834
|
i_cp = StringValuePtr(cp);
|
832
835
|
|
833
836
|
|
834
|
-
|
837
|
+
rlrenv__(i_cp, &o_rpara, (ftnlen)strlen(i_cp));
|
835
838
|
|
836
839
|
rpara = rb_float_new((double)o_rpara);
|
837
840
|
|
@@ -857,7 +860,7 @@ dcl_rlcenv(obj, cp)
|
|
857
860
|
o_cpara= ALLOCA_N(char, (DFLT_SIZE+1));
|
858
861
|
memset(o_cpara, '\0', DFLT_SIZE+1);
|
859
862
|
|
860
|
-
|
863
|
+
rlcenv__(i_cp, o_cpara, (ftnlen)strlen(i_cp), (ftnlen)DFLT_SIZE);
|
861
864
|
|
862
865
|
cpara = rb_str_new2(o_cpara);
|
863
866
|
|
@@ -881,7 +884,7 @@ dcl_glrget(obj, cp)
|
|
881
884
|
i_cp = StringValuePtr(cp);
|
882
885
|
|
883
886
|
|
884
|
-
|
887
|
+
glrget__(i_cp, &o_rpara, (ftnlen)strlen(i_cp));
|
885
888
|
|
886
889
|
rpara = rb_float_new((double)o_rpara);
|
887
890
|
|
@@ -908,7 +911,7 @@ dcl_glrset(obj, cp, rpara)
|
|
908
911
|
i_rpara = (real)NUM2DBL(rpara);
|
909
912
|
|
910
913
|
|
911
|
-
|
914
|
+
glrset__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
|
912
915
|
|
913
916
|
return Qnil;
|
914
917
|
|
@@ -932,7 +935,7 @@ dcl_glrstx(obj, cp, rpara)
|
|
932
935
|
i_rpara = (real)NUM2DBL(rpara);
|
933
936
|
|
934
937
|
|
935
|
-
|
938
|
+
glrstx__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
|
936
939
|
|
937
940
|
return Qnil;
|
938
941
|
|
@@ -945,7 +948,7 @@ dcl_gllqnp(obj)
|
|
945
948
|
integer o_ncp;
|
946
949
|
VALUE ncp;
|
947
950
|
|
948
|
-
|
951
|
+
gllqnp__(&o_ncp);
|
949
952
|
|
950
953
|
ncp = INT2NUM(o_ncp);
|
951
954
|
|
@@ -969,7 +972,7 @@ dcl_gllqid(obj, cp)
|
|
969
972
|
i_cp = StringValuePtr(cp);
|
970
973
|
|
971
974
|
|
972
|
-
|
975
|
+
gllqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
973
976
|
|
974
977
|
idx = INT2NUM(o_idx);
|
975
978
|
|
@@ -995,7 +998,7 @@ dcl_gllqcp(obj, idx)
|
|
995
998
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
996
999
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
997
1000
|
|
998
|
-
|
1001
|
+
gllqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
999
1002
|
|
1000
1003
|
cp = rb_str_new2(o_cp);
|
1001
1004
|
|
@@ -1021,7 +1024,7 @@ dcl_gllqcl(obj, idx)
|
|
1021
1024
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1022
1025
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1023
1026
|
|
1024
|
-
|
1027
|
+
gllqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1025
1028
|
|
1026
1029
|
cp = rb_str_new2(o_cp);
|
1027
1030
|
|
@@ -1045,7 +1048,7 @@ dcl_gllqvl(obj, idx)
|
|
1045
1048
|
i_idx = NUM2INT(idx);
|
1046
1049
|
|
1047
1050
|
|
1048
|
-
|
1051
|
+
gllqvl__(&i_idx, &o_lpara);
|
1049
1052
|
|
1050
1053
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
1051
1054
|
|
@@ -1069,7 +1072,7 @@ dcl_gllsvl(obj, idx, lpara)
|
|
1069
1072
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
1070
1073
|
|
1071
1074
|
|
1072
|
-
|
1075
|
+
gllsvl__(&i_idx, &i_lpara);
|
1073
1076
|
|
1074
1077
|
return Qnil;
|
1075
1078
|
|
@@ -1090,7 +1093,7 @@ dcl_gllqin(obj, cp)
|
|
1090
1093
|
i_cp = StringValuePtr(cp);
|
1091
1094
|
|
1092
1095
|
|
1093
|
-
|
1096
|
+
gllqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
1094
1097
|
|
1095
1098
|
in = INT2NUM(o_in);
|
1096
1099
|
|
@@ -1103,7 +1106,7 @@ static VALUE
|
|
1103
1106
|
dcl_rpnget(obj)
|
1104
1107
|
VALUE obj;
|
1105
1108
|
{
|
1106
|
-
|
1109
|
+
rpnget__();
|
1107
1110
|
|
1108
1111
|
return Qnil;
|
1109
1112
|
|
@@ -1138,7 +1141,7 @@ dcl_rtiget(obj, cpfix, cps, max)
|
|
1138
1141
|
|
1139
1142
|
o_ipara= ALLOCA_N(integer, (i_max));
|
1140
1143
|
|
1141
|
-
|
1144
|
+
rtiget__(i_cpfix, i_cps, o_ipara, &i_max, (ftnlen)strlen(i_cpfix), (ftnlen)8);
|
1142
1145
|
|
1143
1146
|
{int array_shape[1] = {i_max};
|
1144
1147
|
ipara = dcl_cintegerary2obj(o_ipara, (i_max), 1, array_shape);
|
@@ -1179,7 +1182,7 @@ dcl_rtlget(obj, cpfix, cps, max)
|
|
1179
1182
|
|
1180
1183
|
o_lpara= ALLOCA_N(logical, (i_max));
|
1181
1184
|
|
1182
|
-
|
1185
|
+
rtlget__(i_cpfix, i_cps, o_lpara, &i_max, (ftnlen)strlen(i_cpfix), (ftnlen)8);
|
1183
1186
|
|
1184
1187
|
{int array_shape[1] = {i_max};
|
1185
1188
|
lpara = dcl_clogicalary2obj(o_lpara, (i_max), 1, array_shape);
|
@@ -1220,7 +1223,7 @@ dcl_rtrget(obj, cpfix, cps, max)
|
|
1220
1223
|
|
1221
1224
|
o_rpara= ALLOCA_N(real, (i_max));
|
1222
1225
|
|
1223
|
-
|
1226
|
+
rtrget__(i_cpfix, i_cps, o_rpara, &i_max, (ftnlen)strlen(i_cpfix), (ftnlen)8);
|
1224
1227
|
|
1225
1228
|
{int array_shape[1] = {i_max};
|
1226
1229
|
rpara = dcl_crealary2obj(o_rpara, (i_max), 1, array_shape);
|
@@ -1262,7 +1265,7 @@ dcl_rtcget(obj, cpfix, cps, max)
|
|
1262
1265
|
o_cpara= ALLOCA_N(char, (i_max*80));
|
1263
1266
|
memset(o_cpara, '\0', (i_max*80));
|
1264
1267
|
|
1265
|
-
|
1268
|
+
rtcget__(i_cpfix, i_cps, o_cpara, &i_max, (ftnlen)strlen(i_cpfix), (ftnlen)8, (ftnlen)80);
|
1266
1269
|
|
1267
1270
|
cpara = dcl_ccharary2obj(o_cpara, (i_max*80), 80);
|
1268
1271
|
|
@@ -1296,7 +1299,7 @@ dcl_rliget(obj, cpl, max)
|
|
1296
1299
|
|
1297
1300
|
o_ipara= ALLOCA_N(integer, (i_max));
|
1298
1301
|
|
1299
|
-
|
1302
|
+
rliget__(i_cpl, o_ipara, &i_max, (ftnlen)40);
|
1300
1303
|
|
1301
1304
|
{int array_shape[1] = {i_max};
|
1302
1305
|
ipara = dcl_cintegerary2obj(o_ipara, (i_max), 1, array_shape);
|
@@ -1332,7 +1335,7 @@ dcl_rllget(obj, cpl, max)
|
|
1332
1335
|
|
1333
1336
|
o_lpara= ALLOCA_N(logical, (i_max));
|
1334
1337
|
|
1335
|
-
|
1338
|
+
rllget__(i_cpl, o_lpara, &i_max, (ftnlen)40);
|
1336
1339
|
|
1337
1340
|
{int array_shape[1] = {i_max};
|
1338
1341
|
lpara = dcl_clogicalary2obj(o_lpara, (i_max), 1, array_shape);
|
@@ -1368,7 +1371,7 @@ dcl_rlrget(obj, cpl, max)
|
|
1368
1371
|
|
1369
1372
|
o_rpara= ALLOCA_N(real, (i_max));
|
1370
1373
|
|
1371
|
-
|
1374
|
+
rlrget__(i_cpl, o_rpara, &i_max, (ftnlen)40);
|
1372
1375
|
|
1373
1376
|
{int array_shape[1] = {i_max};
|
1374
1377
|
rpara = dcl_crealary2obj(o_rpara, (i_max), 1, array_shape);
|
@@ -1405,7 +1408,7 @@ dcl_rlcget(obj, cpl, max)
|
|
1405
1408
|
o_cpara= ALLOCA_N(char, (i_max*80));
|
1406
1409
|
memset(o_cpara, '\0', (i_max*80));
|
1407
1410
|
|
1408
|
-
|
1411
|
+
rlcget__(i_cpl, o_cpara, &i_max, (ftnlen)40, (ftnlen)80);
|
1409
1412
|
|
1410
1413
|
cpara = dcl_ccharary2obj(o_cpara, (i_max*80), 80);
|
1411
1414
|
|
@@ -1419,7 +1422,7 @@ static VALUE
|
|
1419
1422
|
dcl_rpnopt(obj)
|
1420
1423
|
VALUE obj;
|
1421
1424
|
{
|
1422
|
-
|
1425
|
+
rpnopt__();
|
1423
1426
|
|
1424
1427
|
return Qnil;
|
1425
1428
|
|
@@ -1445,7 +1448,7 @@ dcl_rtiopt(obj, cpfix, cp)
|
|
1445
1448
|
i_cp = StringValuePtr(cp);
|
1446
1449
|
|
1447
1450
|
|
1448
|
-
|
1451
|
+
rtiopt__(i_cpfix, i_cp, &o_ipara, (ftnlen)strlen(i_cpfix), (ftnlen)strlen(i_cp));
|
1449
1452
|
|
1450
1453
|
ipara = INT2NUM(o_ipara);
|
1451
1454
|
|
@@ -1474,7 +1477,7 @@ dcl_rtlopt(obj, cpfix, cp)
|
|
1474
1477
|
i_cp = StringValuePtr(cp);
|
1475
1478
|
|
1476
1479
|
|
1477
|
-
|
1480
|
+
rtlopt__(i_cpfix, i_cp, &o_lpara, (ftnlen)strlen(i_cpfix), (ftnlen)strlen(i_cp));
|
1478
1481
|
|
1479
1482
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
1480
1483
|
|
@@ -1503,7 +1506,7 @@ dcl_rtropt(obj, cpfix, cp)
|
|
1503
1506
|
i_cp = StringValuePtr(cp);
|
1504
1507
|
|
1505
1508
|
|
1506
|
-
|
1509
|
+
rtropt__(i_cpfix, i_cp, &o_rpara, (ftnlen)strlen(i_cpfix), (ftnlen)strlen(i_cp));
|
1507
1510
|
|
1508
1511
|
rpara = rb_float_new((double)o_rpara);
|
1509
1512
|
|
@@ -1534,7 +1537,7 @@ dcl_rtcopt(obj, cpfix, cp)
|
|
1534
1537
|
o_cpara= ALLOCA_N(char, (DFLT_SIZE+1));
|
1535
1538
|
memset(o_cpara, '\0', DFLT_SIZE+1);
|
1536
1539
|
|
1537
|
-
|
1540
|
+
rtcopt__(i_cpfix, i_cp, o_cpara, (ftnlen)strlen(i_cpfix), (ftnlen)strlen(i_cp), (ftnlen)DFLT_SIZE);
|
1538
1541
|
|
1539
1542
|
cpara = rb_str_new2(o_cpara);
|
1540
1543
|
|
@@ -1558,7 +1561,7 @@ dcl_rliopt(obj, cp)
|
|
1558
1561
|
i_cp = StringValuePtr(cp);
|
1559
1562
|
|
1560
1563
|
|
1561
|
-
|
1564
|
+
rliopt__(i_cp, &o_ipara, (ftnlen)strlen(i_cp));
|
1562
1565
|
|
1563
1566
|
ipara = INT2NUM(o_ipara);
|
1564
1567
|
|
@@ -1582,7 +1585,7 @@ dcl_rllopt(obj, cp)
|
|
1582
1585
|
i_cp = StringValuePtr(cp);
|
1583
1586
|
|
1584
1587
|
|
1585
|
-
|
1588
|
+
rllopt__(i_cp, &o_lpara, (ftnlen)strlen(i_cp));
|
1586
1589
|
|
1587
1590
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
1588
1591
|
|
@@ -1606,7 +1609,7 @@ dcl_rlropt(obj, cp)
|
|
1606
1609
|
i_cp = StringValuePtr(cp);
|
1607
1610
|
|
1608
1611
|
|
1609
|
-
|
1612
|
+
rlropt__(i_cp, &o_rpara, (ftnlen)strlen(i_cp));
|
1610
1613
|
|
1611
1614
|
rpara = rb_float_new((double)o_rpara);
|
1612
1615
|
|
@@ -1632,7 +1635,7 @@ dcl_rlcopt(obj, cp)
|
|
1632
1635
|
o_cpara= ALLOCA_N(char, (DFLT_SIZE+1));
|
1633
1636
|
memset(o_cpara, '\0', DFLT_SIZE+1);
|
1634
1637
|
|
1635
|
-
|
1638
|
+
rlcopt__(i_cp, o_cpara, (ftnlen)strlen(i_cp), (ftnlen)DFLT_SIZE);
|
1636
1639
|
|
1637
1640
|
cpara = rb_str_new2(o_cpara);
|
1638
1641
|
|
@@ -1645,7 +1648,7 @@ static VALUE
|
|
1645
1648
|
dcl_rpnxfl(obj)
|
1646
1649
|
VALUE obj;
|
1647
1650
|
{
|
1648
|
-
|
1651
|
+
rpnxfl__();
|
1649
1652
|
|
1650
1653
|
return Qnil;
|
1651
1654
|
|
@@ -1671,7 +1674,7 @@ dcl_rtixfl(obj, cpfix, cp)
|
|
1671
1674
|
i_cp = StringValuePtr(cp);
|
1672
1675
|
|
1673
1676
|
|
1674
|
-
|
1677
|
+
rtixfl__(i_cpfix, i_cp, &o_ipara, (ftnlen)strlen(i_cpfix), (ftnlen)strlen(i_cp));
|
1675
1678
|
|
1676
1679
|
ipara = INT2NUM(o_ipara);
|
1677
1680
|
|
@@ -1700,7 +1703,7 @@ dcl_rtlxfl(obj, cpfix, cp)
|
|
1700
1703
|
i_cp = StringValuePtr(cp);
|
1701
1704
|
|
1702
1705
|
|
1703
|
-
|
1706
|
+
rtlxfl__(i_cpfix, i_cp, &o_lpara, (ftnlen)strlen(i_cpfix), (ftnlen)strlen(i_cp));
|
1704
1707
|
|
1705
1708
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
1706
1709
|
|
@@ -1729,7 +1732,7 @@ dcl_rtrxfl(obj, cpfix, cp)
|
|
1729
1732
|
i_cp = StringValuePtr(cp);
|
1730
1733
|
|
1731
1734
|
|
1732
|
-
|
1735
|
+
rtrxfl__(i_cpfix, i_cp, &o_rpara, (ftnlen)strlen(i_cpfix), (ftnlen)strlen(i_cp));
|
1733
1736
|
|
1734
1737
|
rpara = rb_float_new((double)o_rpara);
|
1735
1738
|
|
@@ -1760,7 +1763,7 @@ dcl_rtcxfl(obj, cpfix, cp)
|
|
1760
1763
|
o_cval= ALLOCA_N(char, (DFLT_SIZE+1));
|
1761
1764
|
memset(o_cval, '\0', DFLT_SIZE+1);
|
1762
1765
|
|
1763
|
-
|
1766
|
+
rtcxfl__(i_cpfix, i_cp, o_cval, (ftnlen)strlen(i_cpfix), (ftnlen)strlen(i_cp), (ftnlen)DFLT_SIZE);
|
1764
1767
|
|
1765
1768
|
cval = rb_str_new2(o_cval);
|
1766
1769
|
|
@@ -1784,7 +1787,7 @@ dcl_rlixfl(obj, cp)
|
|
1784
1787
|
i_cp = StringValuePtr(cp);
|
1785
1788
|
|
1786
1789
|
|
1787
|
-
|
1790
|
+
rlixfl__(i_cp, &o_ipara, (ftnlen)strlen(i_cp));
|
1788
1791
|
|
1789
1792
|
ipara = INT2NUM(o_ipara);
|
1790
1793
|
|
@@ -1808,7 +1811,7 @@ dcl_rllxfl(obj, cp)
|
|
1808
1811
|
i_cp = StringValuePtr(cp);
|
1809
1812
|
|
1810
1813
|
|
1811
|
-
|
1814
|
+
rllxfl__(i_cp, &o_lpara, (ftnlen)strlen(i_cp));
|
1812
1815
|
|
1813
1816
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
1814
1817
|
|
@@ -1832,7 +1835,7 @@ dcl_rlrxfl(obj, cp)
|
|
1832
1835
|
i_cp = StringValuePtr(cp);
|
1833
1836
|
|
1834
1837
|
|
1835
|
-
|
1838
|
+
rlrxfl__(i_cp, &o_rpara, (ftnlen)strlen(i_cp));
|
1836
1839
|
|
1837
1840
|
rpara = rb_float_new((double)o_rpara);
|
1838
1841
|
|
@@ -1858,7 +1861,7 @@ dcl_rlcxfl(obj, cp)
|
|
1858
1861
|
o_cval= ALLOCA_N(char, (DFLT_SIZE+1));
|
1859
1862
|
memset(o_cval, '\0', DFLT_SIZE+1);
|
1860
1863
|
|
1861
|
-
|
1864
|
+
rlcxfl__(i_cp, o_cval, (ftnlen)strlen(i_cp), (ftnlen)DFLT_SIZE);
|
1862
1865
|
|
1863
1866
|
cval = rb_str_new2(o_cval);
|
1864
1867
|
|
@@ -1880,7 +1883,7 @@ dcl_prcopn(obj, cproc)
|
|
1880
1883
|
i_cproc = StringValuePtr(cproc);
|
1881
1884
|
|
1882
1885
|
|
1883
|
-
|
1886
|
+
prcopn__(i_cproc, (ftnlen)strlen(i_cproc));
|
1884
1887
|
|
1885
1888
|
return Qnil;
|
1886
1889
|
|
@@ -1899,7 +1902,7 @@ dcl_prccls(obj, cproc)
|
|
1899
1902
|
i_cproc = StringValuePtr(cproc);
|
1900
1903
|
|
1901
1904
|
|
1902
|
-
|
1905
|
+
prccls__(i_cproc, (ftnlen)strlen(i_cproc));
|
1903
1906
|
|
1904
1907
|
return Qnil;
|
1905
1908
|
|
@@ -1912,7 +1915,7 @@ dcl_prclvl(obj)
|
|
1912
1915
|
integer o_nlev;
|
1913
1916
|
VALUE nlev;
|
1914
1917
|
|
1915
|
-
|
1918
|
+
prclvl__(&o_nlev);
|
1916
1919
|
|
1917
1920
|
nlev = INT2NUM(o_nlev);
|
1918
1921
|
|
@@ -1938,7 +1941,7 @@ dcl_prcnam(obj, nlev)
|
|
1938
1941
|
o_cproc= ALLOCA_N(char, (DFLT_SIZE+1));
|
1939
1942
|
memset(o_cproc, '\0', DFLT_SIZE+1);
|
1940
1943
|
|
1941
|
-
|
1944
|
+
prcnam__(&i_nlev, o_cproc, (ftnlen)DFLT_SIZE);
|
1942
1945
|
|
1943
1946
|
cproc = rb_str_new2(o_cproc);
|
1944
1947
|
|