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/grph2_uspack.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 *);
|
@@ -93,7 +96,7 @@ dcl_usgrph(obj, n, x, y)
|
|
93
96
|
i_y = dcl_obj2crealary(y);
|
94
97
|
|
95
98
|
|
96
|
-
|
99
|
+
usgrph__(&i_n, i_x, i_y);
|
97
100
|
|
98
101
|
dcl_freecrealary(i_x);
|
99
102
|
dcl_freecrealary(i_y);
|
@@ -130,7 +133,7 @@ dcl_ussttl(obj, cxttl, cxunit, cyttl, cyunit)
|
|
130
133
|
i_cyunit = StringValuePtr(cyunit);
|
131
134
|
|
132
135
|
|
133
|
-
|
136
|
+
ussttl__(i_cxttl, i_cxunit, i_cyttl, i_cyunit, (ftnlen)strlen(i_cxttl), (ftnlen)strlen(i_cxunit), (ftnlen)strlen(i_cyttl), (ftnlen)strlen(i_cyunit));
|
134
137
|
|
135
138
|
return Qnil;
|
136
139
|
|
@@ -167,7 +170,7 @@ dcl_usspnt(obj, n, x, y)
|
|
167
170
|
i_y = dcl_obj2crealary(y);
|
168
171
|
|
169
172
|
|
170
|
-
|
173
|
+
usspnt__(&i_n, i_x, i_y);
|
171
174
|
|
172
175
|
dcl_freecrealary(i_x);
|
173
176
|
dcl_freecrealary(i_y);
|
@@ -180,7 +183,7 @@ static VALUE
|
|
180
183
|
dcl_uspfit(obj)
|
181
184
|
VALUE obj;
|
182
185
|
{
|
183
|
-
|
186
|
+
uspfit__();
|
184
187
|
|
185
188
|
return Qnil;
|
186
189
|
|
@@ -190,7 +193,7 @@ static VALUE
|
|
190
193
|
dcl_usdaxs(obj)
|
191
194
|
VALUE obj;
|
192
195
|
{
|
193
|
-
|
196
|
+
usdaxs__();
|
194
197
|
|
195
198
|
return Qnil;
|
196
199
|
|
@@ -200,7 +203,7 @@ static VALUE
|
|
200
203
|
dcl_usinit(obj)
|
201
204
|
VALUE obj;
|
202
205
|
{
|
203
|
-
|
206
|
+
usinit__();
|
204
207
|
|
205
208
|
return Qnil;
|
206
209
|
|
@@ -213,7 +216,7 @@ dcl_uspqnp(obj)
|
|
213
216
|
integer o_ncp;
|
214
217
|
VALUE ncp;
|
215
218
|
|
216
|
-
|
219
|
+
uspqnp__(&o_ncp);
|
217
220
|
|
218
221
|
ncp = INT2NUM(o_ncp);
|
219
222
|
|
@@ -237,7 +240,7 @@ dcl_uspqid(obj, cp)
|
|
237
240
|
i_cp = StringValuePtr(cp);
|
238
241
|
|
239
242
|
|
240
|
-
|
243
|
+
uspqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
241
244
|
|
242
245
|
idx = INT2NUM(o_idx);
|
243
246
|
|
@@ -263,7 +266,7 @@ dcl_uspqcp(obj, idx)
|
|
263
266
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
264
267
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
265
268
|
|
266
|
-
|
269
|
+
uspqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
267
270
|
|
268
271
|
cp = rb_str_new2(o_cp);
|
269
272
|
|
@@ -289,7 +292,7 @@ dcl_uspqcl(obj, idx)
|
|
289
292
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
290
293
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
291
294
|
|
292
|
-
|
295
|
+
uspqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
293
296
|
|
294
297
|
cp = rb_str_new2(o_cp);
|
295
298
|
|
@@ -313,7 +316,7 @@ dcl_uspqit(obj, idx)
|
|
313
316
|
i_idx = NUM2INT(idx);
|
314
317
|
|
315
318
|
|
316
|
-
|
319
|
+
uspqit__(&i_idx, &o_itp);
|
317
320
|
|
318
321
|
itp = INT2NUM(o_itp);
|
319
322
|
|
@@ -337,7 +340,7 @@ dcl_uspqvl(obj, idx)
|
|
337
340
|
i_idx = NUM2INT(idx);
|
338
341
|
|
339
342
|
|
340
|
-
|
343
|
+
uspqvl__(&i_idx, &o_ipara);
|
341
344
|
|
342
345
|
ipara = INT2NUM(o_ipara);
|
343
346
|
|
@@ -364,7 +367,7 @@ dcl_uspsvl(obj, idx, ipara)
|
|
364
367
|
i_ipara = NUM2INT(ipara);
|
365
368
|
|
366
369
|
|
367
|
-
|
370
|
+
uspsvl__(&i_idx, &i_ipara);
|
368
371
|
|
369
372
|
return Qnil;
|
370
373
|
|
@@ -385,7 +388,7 @@ dcl_uspqin(obj, cp)
|
|
385
388
|
i_cp = StringValuePtr(cp);
|
386
389
|
|
387
390
|
|
388
|
-
|
391
|
+
uspqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
389
392
|
|
390
393
|
in = INT2NUM(o_in);
|
391
394
|
|
@@ -411,7 +414,7 @@ dcl_uscget(obj, cp)
|
|
411
414
|
o_cpara= ALLOCA_N(char, (DFLT_SIZE+1));
|
412
415
|
memset(o_cpara, '\0', DFLT_SIZE+1);
|
413
416
|
|
414
|
-
|
417
|
+
uscget__(i_cp, o_cpara, (ftnlen)strlen(i_cp), (ftnlen)DFLT_SIZE);
|
415
418
|
|
416
419
|
cpara = rb_str_new2(o_cpara);
|
417
420
|
|
@@ -438,7 +441,7 @@ dcl_uscset(obj, cp, cpara)
|
|
438
441
|
i_cpara = StringValuePtr(cpara);
|
439
442
|
|
440
443
|
|
441
|
-
|
444
|
+
uscset__(i_cp, i_cpara, (ftnlen)strlen(i_cp), (ftnlen)strlen(i_cpara));
|
442
445
|
|
443
446
|
return Qnil;
|
444
447
|
|
@@ -462,7 +465,7 @@ dcl_uscstx(obj, cp, cpara)
|
|
462
465
|
i_cpara = StringValuePtr(cpara);
|
463
466
|
|
464
467
|
|
465
|
-
|
468
|
+
uscstx__(i_cp, i_cpara, (ftnlen)strlen(i_cp), (ftnlen)strlen(i_cpara));
|
466
469
|
|
467
470
|
return Qnil;
|
468
471
|
|
@@ -475,7 +478,7 @@ dcl_uscqnp(obj)
|
|
475
478
|
integer o_ncp;
|
476
479
|
VALUE ncp;
|
477
480
|
|
478
|
-
|
481
|
+
uscqnp__(&o_ncp);
|
479
482
|
|
480
483
|
ncp = INT2NUM(o_ncp);
|
481
484
|
|
@@ -499,7 +502,7 @@ dcl_uscqid(obj, cp)
|
|
499
502
|
i_cp = StringValuePtr(cp);
|
500
503
|
|
501
504
|
|
502
|
-
|
505
|
+
uscqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
503
506
|
|
504
507
|
idx = INT2NUM(o_idx);
|
505
508
|
|
@@ -525,7 +528,7 @@ dcl_uscqcp(obj, idx)
|
|
525
528
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
526
529
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
527
530
|
|
528
|
-
|
531
|
+
uscqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
529
532
|
|
530
533
|
cp = rb_str_new2(o_cp);
|
531
534
|
|
@@ -551,7 +554,7 @@ dcl_uscqcl(obj, idx)
|
|
551
554
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
552
555
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
553
556
|
|
554
|
-
|
557
|
+
uscqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
555
558
|
|
556
559
|
cp = rb_str_new2(o_cp);
|
557
560
|
|
@@ -577,7 +580,7 @@ dcl_uscqvl(obj, idx)
|
|
577
580
|
o_cval= ALLOCA_N(char, (DFLT_SIZE+1));
|
578
581
|
memset(o_cval, '\0', DFLT_SIZE+1);
|
579
582
|
|
580
|
-
|
583
|
+
uscqvl__(&i_idx, o_cval, (ftnlen)DFLT_SIZE);
|
581
584
|
|
582
585
|
cval = rb_str_new2(o_cval);
|
583
586
|
|
@@ -604,7 +607,7 @@ dcl_uscsvl(obj, idx, cval)
|
|
604
607
|
i_cval = StringValuePtr(cval);
|
605
608
|
|
606
609
|
|
607
|
-
|
610
|
+
uscsvl__(&i_idx, i_cval, (ftnlen)strlen(i_cval));
|
608
611
|
|
609
612
|
return Qnil;
|
610
613
|
|
@@ -625,7 +628,7 @@ dcl_uscqin(obj, cp)
|
|
625
628
|
i_cp = StringValuePtr(cp);
|
626
629
|
|
627
630
|
|
628
|
-
|
631
|
+
uscqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
629
632
|
|
630
633
|
in = INT2NUM(o_in);
|
631
634
|
|
@@ -662,7 +665,7 @@ dcl_usurdl(obj, umin, umax, vmin, vmax)
|
|
662
665
|
i_vmax = (real)NUM2DBL(vmax);
|
663
666
|
|
664
667
|
|
665
|
-
|
668
|
+
usurdl__(&io_umin, &io_umax, &i_vmin, &i_vmax);
|
666
669
|
|
667
670
|
umin = rb_float_new((double)io_umin);
|
668
671
|
umax = rb_float_new((double)io_umax);
|
@@ -685,7 +688,7 @@ dcl_usxaxs(obj, cside)
|
|
685
688
|
i_cside = StringValuePtr(cside);
|
686
689
|
|
687
690
|
|
688
|
-
|
691
|
+
usxaxs__(i_cside, (ftnlen)strlen(i_cside));
|
689
692
|
|
690
693
|
return Qnil;
|
691
694
|
|
@@ -704,7 +707,7 @@ dcl_usyaxs(obj, cside)
|
|
704
707
|
i_cside = StringValuePtr(cside);
|
705
708
|
|
706
709
|
|
707
|
-
|
710
|
+
usyaxs__(i_cside, (ftnlen)strlen(i_cside));
|
708
711
|
|
709
712
|
return Qnil;
|
710
713
|
|
@@ -748,7 +751,7 @@ dcl_ususcu(obj, caxis, umin, umax, vmin, vmax, mode)
|
|
748
751
|
i_mode = NUM2INT(mode);
|
749
752
|
|
750
753
|
|
751
|
-
|
754
|
+
ususcu__(i_caxis, &i_umin, &i_umax, &i_vmin, &i_vmax, &i_mode, (ftnlen)strlen(i_caxis));
|
752
755
|
|
753
756
|
return Qnil;
|
754
757
|
|
@@ -787,7 +790,7 @@ dcl_ususcl(obj, caxis, umin, umax, vmin, vmax)
|
|
787
790
|
i_vmax = (real)NUM2DBL(vmax);
|
788
791
|
|
789
792
|
|
790
|
-
|
793
|
+
ususcl__(i_caxis, &i_umin, &i_umax, &i_vmin, &i_vmax, (ftnlen)strlen(i_caxis));
|
791
794
|
|
792
795
|
return Qnil;
|
793
796
|
|
@@ -806,7 +809,7 @@ dcl_usxaxu(obj, cxs)
|
|
806
809
|
i_cxs = StringValuePtr(cxs);
|
807
810
|
|
808
811
|
|
809
|
-
|
812
|
+
usxaxu__(i_cxs, (ftnlen)strlen(i_cxs));
|
810
813
|
|
811
814
|
return Qnil;
|
812
815
|
|
@@ -825,7 +828,7 @@ dcl_usxaxl(obj, cxs)
|
|
825
828
|
i_cxs = StringValuePtr(cxs);
|
826
829
|
|
827
830
|
|
828
|
-
|
831
|
+
usxaxl__(i_cxs, (ftnlen)strlen(i_cxs));
|
829
832
|
|
830
833
|
return Qnil;
|
831
834
|
|
@@ -844,7 +847,7 @@ dcl_usyaxu(obj, cys)
|
|
844
847
|
i_cys = StringValuePtr(cys);
|
845
848
|
|
846
849
|
|
847
|
-
|
850
|
+
usyaxu__(i_cys, (ftnlen)strlen(i_cys));
|
848
851
|
|
849
852
|
return Qnil;
|
850
853
|
|
@@ -863,7 +866,7 @@ dcl_usyaxl(obj, cys)
|
|
863
866
|
i_cys = StringValuePtr(cys);
|
864
867
|
|
865
868
|
|
866
|
-
|
869
|
+
usyaxl__(i_cys, (ftnlen)strlen(i_cys));
|
867
870
|
|
868
871
|
return Qnil;
|
869
872
|
|
@@ -897,7 +900,7 @@ dcl_usxsub(obj, cxa, cya, clabel, rlbl)
|
|
897
900
|
i_rlbl = (real)NUM2DBL(rlbl);
|
898
901
|
|
899
902
|
|
900
|
-
|
903
|
+
usxsub__(i_cxa, i_cya, i_clabel, &i_rlbl, (ftnlen)strlen(i_cxa), (ftnlen)strlen(i_cya), (ftnlen)strlen(i_clabel));
|
901
904
|
|
902
905
|
return Qnil;
|
903
906
|
|
@@ -931,7 +934,7 @@ dcl_usysub(obj, cya, cxa, clabel, rlbl)
|
|
931
934
|
i_rlbl = (real)NUM2DBL(rlbl);
|
932
935
|
|
933
936
|
|
934
|
-
|
937
|
+
usysub__(i_cya, i_cxa, i_clabel, &i_rlbl, (ftnlen)strlen(i_cya), (ftnlen)strlen(i_cxa), (ftnlen)strlen(i_clabel));
|
935
938
|
|
936
939
|
return Qnil;
|
937
940
|
|
@@ -964,7 +967,7 @@ dcl_csblbl(obj, ufac, uoff, cunit)
|
|
964
967
|
o_rtn_val= ALLOCA_N(char, (DFLT_SIZE+1));
|
965
968
|
memset(o_rtn_val, '\0', DFLT_SIZE+1);
|
966
969
|
|
967
|
-
|
970
|
+
csblbl__(o_rtn_val, (ftnlen)DFLT_SIZE, &i_ufac, &i_uoff, i_cunit, (ftnlen)strlen(i_cunit));
|
968
971
|
|
969
972
|
rtn_val = rb_str_new2(o_rtn_val);
|
970
973
|
|
@@ -990,7 +993,7 @@ dcl_uschvl(obj, x)
|
|
990
993
|
o_chx= ALLOCA_N(char, (DFLT_SIZE+1));
|
991
994
|
memset(o_chx, '\0', DFLT_SIZE+1);
|
992
995
|
|
993
|
-
|
996
|
+
uschvl__(&i_x, o_chx, (ftnlen)DFLT_SIZE);
|
994
997
|
|
995
998
|
chx = rb_str_new2(o_chx);
|
996
999
|
|
@@ -1012,7 +1015,7 @@ dcl_usxoff(obj, cxs)
|
|
1012
1015
|
i_cxs = StringValuePtr(cxs);
|
1013
1016
|
|
1014
1017
|
|
1015
|
-
|
1018
|
+
usxoff__(i_cxs, (ftnlen)strlen(i_cxs));
|
1016
1019
|
|
1017
1020
|
return Qnil;
|
1018
1021
|
|
@@ -1031,7 +1034,7 @@ dcl_usyoff(obj, cys)
|
|
1031
1034
|
i_cys = StringValuePtr(cys);
|
1032
1035
|
|
1033
1036
|
|
1034
|
-
|
1037
|
+
usyoff__(i_cys, (ftnlen)strlen(i_cys));
|
1035
1038
|
|
1036
1039
|
return Qnil;
|
1037
1040
|
|
@@ -1079,7 +1082,7 @@ dcl_uszdgt(obj, umin, umax, dul, maxdgt, uoff, ufact)
|
|
1079
1082
|
io_ufact = (real)NUM2DBL(ufact);
|
1080
1083
|
|
1081
1084
|
|
1082
|
-
|
1085
|
+
uszdgt__(&i_umin, &i_umax, &i_dul, &i_maxdgt, &io_uoff, &io_ufact, &o_ndgt, &o_ldgt);
|
1083
1086
|
|
1084
1087
|
uoff = rb_float_new((double)io_uoff);
|
1085
1088
|
ufact = rb_float_new((double)io_ufact);
|
@@ -1122,7 +1125,7 @@ dcl_uswapz(obj, x1, x2, n)
|
|
1122
1125
|
io_x2 = dcl_obj2crealary(x2);
|
1123
1126
|
|
1124
1127
|
|
1125
|
-
|
1128
|
+
uswapz__(io_x1, io_x2, &i_n);
|
1126
1129
|
|
1127
1130
|
{int array_shape[1] = {i_n};
|
1128
1131
|
x1 = dcl_crealary2obj(io_x1, (i_n), 1, array_shape);
|
@@ -1168,7 +1171,7 @@ dcl_usurdt(obj, umin, umax, vmin, vmax)
|
|
1168
1171
|
i_vmax = (real)NUM2DBL(vmax);
|
1169
1172
|
|
1170
1173
|
|
1171
|
-
|
1174
|
+
usurdt__(&io_umin, &io_umax, &i_vmin, &i_vmax, &o_dut);
|
1172
1175
|
|
1173
1176
|
umin = rb_float_new((double)io_umin);
|
1174
1177
|
umax = rb_float_new((double)io_umax);
|
@@ -1207,7 +1210,7 @@ dcl_usaxcl(obj, cside, jd0, ctype, nd)
|
|
1207
1210
|
i_nd = NUM2INT(nd);
|
1208
1211
|
|
1209
1212
|
|
1210
|
-
|
1213
|
+
usaxcl__(i_cside, &i_jd0, i_ctype, &i_nd, (ftnlen)strlen(i_cside), (ftnlen)strlen(i_ctype));
|
1211
1214
|
|
1212
1215
|
return Qnil;
|
1213
1216
|
|
@@ -1236,7 +1239,7 @@ dcl_usaxdv(obj, cside, dtick, dlbl)
|
|
1236
1239
|
i_dlbl = (real)NUM2DBL(dlbl);
|
1237
1240
|
|
1238
1241
|
|
1239
|
-
|
1242
|
+
usaxdv__(i_cside, &i_dtick, &i_dlbl, (ftnlen)strlen(i_cside));
|
1240
1243
|
|
1241
1244
|
return Qnil;
|
1242
1245
|
|
@@ -1296,7 +1299,7 @@ dcl_usaxlb(obj, cside, dtick, n1, dlabel, ch, nc, n2)
|
|
1296
1299
|
i_ch = dcl_obj2ccharary(ch, (i_n2*DFLT_SIZE), DFLT_SIZE);
|
1297
1300
|
|
1298
1301
|
|
1299
|
-
|
1302
|
+
usaxlb__(i_cside, i_dtick, &i_n1, i_dlabel, i_ch, &i_nc, &i_n2, (ftnlen)strlen(i_cside), (ftnlen)DFLT_SIZE);
|
1300
1303
|
|
1301
1304
|
dcl_freecrealary(i_dtick);
|
1302
1305
|
dcl_freecrealary(i_dlabel);
|
@@ -1329,7 +1332,7 @@ dcl_usaxlg(obj, cside, nlbl, nticks)
|
|
1329
1332
|
i_nticks = NUM2INT(nticks);
|
1330
1333
|
|
1331
1334
|
|
1332
|
-
|
1335
|
+
usaxlg__(i_cside, &i_nlbl, &i_nticks, (ftnlen)strlen(i_cside));
|
1333
1336
|
|
1334
1337
|
return Qnil;
|
1335
1338
|
|
@@ -1376,7 +1379,7 @@ dcl_usaxnm(obj, cside, dtick, n1, dlabel, n2)
|
|
1376
1379
|
i_dlabel = dcl_obj2crealary(dlabel);
|
1377
1380
|
|
1378
1381
|
|
1379
|
-
|
1382
|
+
usaxnm__(i_cside, i_dtick, &i_n1, i_dlabel, &i_n2, (ftnlen)strlen(i_cside));
|
1380
1383
|
|
1381
1384
|
dcl_freecrealary(i_dtick);
|
1382
1385
|
dcl_freecrealary(i_dlabel);
|
@@ -1398,7 +1401,7 @@ dcl_usaxsc(obj, cside)
|
|
1398
1401
|
i_cside = StringValuePtr(cside);
|
1399
1402
|
|
1400
1403
|
|
1401
|
-
|
1404
|
+
usaxsc__(i_cside, (ftnlen)strlen(i_cside));
|
1402
1405
|
|
1403
1406
|
return Qnil;
|
1404
1407
|
|
@@ -1419,7 +1422,7 @@ dcl_usiget(obj, cp)
|
|
1419
1422
|
i_cp = StringValuePtr(cp);
|
1420
1423
|
|
1421
1424
|
|
1422
|
-
|
1425
|
+
usiget__(i_cp, &o_ipara, (ftnlen)strlen(i_cp));
|
1423
1426
|
|
1424
1427
|
ipara = INT2NUM(o_ipara);
|
1425
1428
|
|
@@ -1446,7 +1449,7 @@ dcl_usiset(obj, cp, ipara)
|
|
1446
1449
|
i_ipara = NUM2INT(ipara);
|
1447
1450
|
|
1448
1451
|
|
1449
|
-
|
1452
|
+
usiset__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
|
1450
1453
|
|
1451
1454
|
return Qnil;
|
1452
1455
|
|
@@ -1470,7 +1473,7 @@ dcl_usistx(obj, cp, ipara)
|
|
1470
1473
|
i_ipara = NUM2INT(ipara);
|
1471
1474
|
|
1472
1475
|
|
1473
|
-
|
1476
|
+
usistx__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
|
1474
1477
|
|
1475
1478
|
return Qnil;
|
1476
1479
|
|
@@ -1483,7 +1486,7 @@ dcl_usiqnp(obj)
|
|
1483
1486
|
integer o_ncp;
|
1484
1487
|
VALUE ncp;
|
1485
1488
|
|
1486
|
-
|
1489
|
+
usiqnp__(&o_ncp);
|
1487
1490
|
|
1488
1491
|
ncp = INT2NUM(o_ncp);
|
1489
1492
|
|
@@ -1507,7 +1510,7 @@ dcl_usiqid(obj, cp)
|
|
1507
1510
|
i_cp = StringValuePtr(cp);
|
1508
1511
|
|
1509
1512
|
|
1510
|
-
|
1513
|
+
usiqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
1511
1514
|
|
1512
1515
|
idx = INT2NUM(o_idx);
|
1513
1516
|
|
@@ -1533,7 +1536,7 @@ dcl_usiqcp(obj, idx)
|
|
1533
1536
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1534
1537
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1535
1538
|
|
1536
|
-
|
1539
|
+
usiqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1537
1540
|
|
1538
1541
|
cp = rb_str_new2(o_cp);
|
1539
1542
|
|
@@ -1559,7 +1562,7 @@ dcl_usiqcl(obj, idx)
|
|
1559
1562
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1560
1563
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1561
1564
|
|
1562
|
-
|
1565
|
+
usiqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1563
1566
|
|
1564
1567
|
cp = rb_str_new2(o_cp);
|
1565
1568
|
|
@@ -1583,7 +1586,7 @@ dcl_usiqvl(obj, idx)
|
|
1583
1586
|
i_idx = NUM2INT(idx);
|
1584
1587
|
|
1585
1588
|
|
1586
|
-
|
1589
|
+
usiqvl__(&i_idx, &o_ipara);
|
1587
1590
|
|
1588
1591
|
ipara = INT2NUM(o_ipara);
|
1589
1592
|
|
@@ -1610,7 +1613,7 @@ dcl_usisvl(obj, idx, ipara)
|
|
1610
1613
|
i_ipara = NUM2INT(ipara);
|
1611
1614
|
|
1612
1615
|
|
1613
|
-
|
1616
|
+
usisvl__(&i_idx, &i_ipara);
|
1614
1617
|
|
1615
1618
|
return Qnil;
|
1616
1619
|
|
@@ -1631,7 +1634,7 @@ dcl_usiqin(obj, cp)
|
|
1631
1634
|
i_cp = StringValuePtr(cp);
|
1632
1635
|
|
1633
1636
|
|
1634
|
-
|
1637
|
+
usiqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
1635
1638
|
|
1636
1639
|
in = INT2NUM(o_in);
|
1637
1640
|
|
@@ -1655,7 +1658,7 @@ dcl_uslget(obj, cp)
|
|
1655
1658
|
i_cp = StringValuePtr(cp);
|
1656
1659
|
|
1657
1660
|
|
1658
|
-
|
1661
|
+
uslget__(i_cp, &o_lpara, (ftnlen)strlen(i_cp));
|
1659
1662
|
|
1660
1663
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
1661
1664
|
|
@@ -1679,7 +1682,7 @@ dcl_uslset(obj, cp, lpara)
|
|
1679
1682
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
1680
1683
|
|
1681
1684
|
|
1682
|
-
|
1685
|
+
uslset__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
|
1683
1686
|
|
1684
1687
|
return Qnil;
|
1685
1688
|
|
@@ -1700,7 +1703,7 @@ dcl_uslstx(obj, cp, lpara)
|
|
1700
1703
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
1701
1704
|
|
1702
1705
|
|
1703
|
-
|
1706
|
+
uslstx__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
|
1704
1707
|
|
1705
1708
|
return Qnil;
|
1706
1709
|
|
@@ -1713,7 +1716,7 @@ dcl_uslqnp(obj)
|
|
1713
1716
|
integer o_ncp;
|
1714
1717
|
VALUE ncp;
|
1715
1718
|
|
1716
|
-
|
1719
|
+
uslqnp__(&o_ncp);
|
1717
1720
|
|
1718
1721
|
ncp = INT2NUM(o_ncp);
|
1719
1722
|
|
@@ -1737,7 +1740,7 @@ dcl_uslqid(obj, cp)
|
|
1737
1740
|
i_cp = StringValuePtr(cp);
|
1738
1741
|
|
1739
1742
|
|
1740
|
-
|
1743
|
+
uslqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
1741
1744
|
|
1742
1745
|
idx = INT2NUM(o_idx);
|
1743
1746
|
|
@@ -1763,7 +1766,7 @@ dcl_uslqcp(obj, idx)
|
|
1763
1766
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1764
1767
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1765
1768
|
|
1766
|
-
|
1769
|
+
uslqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1767
1770
|
|
1768
1771
|
cp = rb_str_new2(o_cp);
|
1769
1772
|
|
@@ -1789,7 +1792,7 @@ dcl_uslqcl(obj, idx)
|
|
1789
1792
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1790
1793
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1791
1794
|
|
1792
|
-
|
1795
|
+
uslqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1793
1796
|
|
1794
1797
|
cp = rb_str_new2(o_cp);
|
1795
1798
|
|
@@ -1813,7 +1816,7 @@ dcl_uslqvl(obj, idx)
|
|
1813
1816
|
i_idx = NUM2INT(idx);
|
1814
1817
|
|
1815
1818
|
|
1816
|
-
|
1819
|
+
uslqvl__(&i_idx, &o_lpara);
|
1817
1820
|
|
1818
1821
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
1819
1822
|
|
@@ -1837,7 +1840,7 @@ dcl_uslsvl(obj, idx, lpara)
|
|
1837
1840
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
1838
1841
|
|
1839
1842
|
|
1840
|
-
|
1843
|
+
uslsvl__(&i_idx, &i_lpara);
|
1841
1844
|
|
1842
1845
|
return Qnil;
|
1843
1846
|
|
@@ -1858,7 +1861,7 @@ dcl_uslqin(obj, cp)
|
|
1858
1861
|
i_cp = StringValuePtr(cp);
|
1859
1862
|
|
1860
1863
|
|
1861
|
-
|
1864
|
+
uslqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
1862
1865
|
|
1863
1866
|
in = INT2NUM(o_in);
|
1864
1867
|
|
@@ -1885,7 +1888,7 @@ dcl_uspaxs(obj, cside, islct)
|
|
1885
1888
|
i_islct = NUM2INT(islct);
|
1886
1889
|
|
1887
1890
|
|
1888
|
-
|
1891
|
+
uspaxs__(i_cside, &i_islct, (ftnlen)strlen(i_cside));
|
1889
1892
|
|
1890
1893
|
return Qnil;
|
1891
1894
|
|
@@ -1936,7 +1939,7 @@ dcl_usplbl(obj, cside, islct, pos, ch, nc, n)
|
|
1936
1939
|
i_ch = dcl_obj2ccharary(ch, (i_n*DFLT_SIZE), DFLT_SIZE);
|
1937
1940
|
|
1938
1941
|
|
1939
|
-
|
1942
|
+
usplbl__(i_cside, &i_islct, i_pos, i_ch, &i_nc, &i_n, (ftnlen)strlen(i_cside), (ftnlen)DFLT_SIZE);
|
1940
1943
|
|
1941
1944
|
dcl_freecrealary(i_pos);
|
1942
1945
|
dcl_freeccharary(i_ch);
|
@@ -1977,7 +1980,7 @@ dcl_uspnum(obj, cside, islct, pos, n)
|
|
1977
1980
|
i_pos = dcl_obj2crealary(pos);
|
1978
1981
|
|
1979
1982
|
|
1980
|
-
|
1983
|
+
uspnum__(i_cside, &i_islct, i_pos, &i_n, (ftnlen)strlen(i_cside));
|
1981
1984
|
|
1982
1985
|
dcl_freecrealary(i_pos);
|
1983
1986
|
|
@@ -2017,7 +2020,7 @@ dcl_usptmk(obj, cside, islct, pos, n)
|
|
2017
2020
|
i_pos = dcl_obj2crealary(pos);
|
2018
2021
|
|
2019
2022
|
|
2020
|
-
|
2023
|
+
usptmk__(i_cside, &i_islct, i_pos, &i_n, (ftnlen)strlen(i_cside));
|
2021
2024
|
|
2022
2025
|
dcl_freecrealary(i_pos);
|
2023
2026
|
|
@@ -2053,7 +2056,7 @@ dcl_uspttl(obj, cside, islct, cttl, pos)
|
|
2053
2056
|
i_pos = (real)NUM2DBL(pos);
|
2054
2057
|
|
2055
2058
|
|
2056
|
-
|
2059
|
+
uspttl__(i_cside, &i_islct, i_cttl, &i_pos, (ftnlen)strlen(i_cside), (ftnlen)strlen(i_cttl));
|
2057
2060
|
|
2058
2061
|
return Qnil;
|
2059
2062
|
|
@@ -2074,7 +2077,7 @@ dcl_usrget(obj, cp)
|
|
2074
2077
|
i_cp = StringValuePtr(cp);
|
2075
2078
|
|
2076
2079
|
|
2077
|
-
|
2080
|
+
usrget__(i_cp, &o_rpara, (ftnlen)strlen(i_cp));
|
2078
2081
|
|
2079
2082
|
rpara = rb_float_new((double)o_rpara);
|
2080
2083
|
|
@@ -2101,7 +2104,7 @@ dcl_usrset(obj, cp, rpara)
|
|
2101
2104
|
i_rpara = (real)NUM2DBL(rpara);
|
2102
2105
|
|
2103
2106
|
|
2104
|
-
|
2107
|
+
usrset__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
|
2105
2108
|
|
2106
2109
|
return Qnil;
|
2107
2110
|
|
@@ -2125,7 +2128,7 @@ dcl_usrstx(obj, cp, rpara)
|
|
2125
2128
|
i_rpara = (real)NUM2DBL(rpara);
|
2126
2129
|
|
2127
2130
|
|
2128
|
-
|
2131
|
+
usrstx__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
|
2129
2132
|
|
2130
2133
|
return Qnil;
|
2131
2134
|
|
@@ -2138,7 +2141,7 @@ dcl_usrqnp(obj)
|
|
2138
2141
|
integer o_ncp;
|
2139
2142
|
VALUE ncp;
|
2140
2143
|
|
2141
|
-
|
2144
|
+
usrqnp__(&o_ncp);
|
2142
2145
|
|
2143
2146
|
ncp = INT2NUM(o_ncp);
|
2144
2147
|
|
@@ -2162,7 +2165,7 @@ dcl_usrqid(obj, cp)
|
|
2162
2165
|
i_cp = StringValuePtr(cp);
|
2163
2166
|
|
2164
2167
|
|
2165
|
-
|
2168
|
+
usrqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
2166
2169
|
|
2167
2170
|
idx = INT2NUM(o_idx);
|
2168
2171
|
|
@@ -2188,7 +2191,7 @@ dcl_usrqcp(obj, idx)
|
|
2188
2191
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
2189
2192
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
2190
2193
|
|
2191
|
-
|
2194
|
+
usrqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
2192
2195
|
|
2193
2196
|
cp = rb_str_new2(o_cp);
|
2194
2197
|
|
@@ -2214,7 +2217,7 @@ dcl_usrqcl(obj, idx)
|
|
2214
2217
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
2215
2218
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
2216
2219
|
|
2217
|
-
|
2220
|
+
usrqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
2218
2221
|
|
2219
2222
|
cp = rb_str_new2(o_cp);
|
2220
2223
|
|
@@ -2238,7 +2241,7 @@ dcl_usrqvl(obj, idx)
|
|
2238
2241
|
i_idx = NUM2INT(idx);
|
2239
2242
|
|
2240
2243
|
|
2241
|
-
|
2244
|
+
usrqvl__(&i_idx, &o_rpara);
|
2242
2245
|
|
2243
2246
|
rpara = rb_float_new((double)o_rpara);
|
2244
2247
|
|
@@ -2265,7 +2268,7 @@ dcl_usrsvl(obj, idx, rpara)
|
|
2265
2268
|
i_rpara = (real)NUM2DBL(rpara);
|
2266
2269
|
|
2267
2270
|
|
2268
|
-
|
2271
|
+
usrsvl__(&i_idx, &i_rpara);
|
2269
2272
|
|
2270
2273
|
return Qnil;
|
2271
2274
|
|
@@ -2286,7 +2289,7 @@ dcl_usrqin(obj, cp)
|
|
2286
2289
|
i_cp = StringValuePtr(cp);
|
2287
2290
|
|
2288
2291
|
|
2289
|
-
|
2292
|
+
usrqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
2290
2293
|
|
2291
2294
|
in = INT2NUM(o_in);
|
2292
2295
|
|
@@ -2308,7 +2311,7 @@ dcl_ussaxs(obj, cside)
|
|
2308
2311
|
i_cside = StringValuePtr(cside);
|
2309
2312
|
|
2310
2313
|
|
2311
|
-
|
2314
|
+
ussaxs__(i_cside, (ftnlen)strlen(i_cside));
|
2312
2315
|
|
2313
2316
|
return Qnil;
|
2314
2317
|
|
@@ -2331,7 +2334,7 @@ dcl_usxinz(obj, csa)
|
|
2331
2334
|
i_csa = StringValuePtr(csa);
|
2332
2335
|
|
2333
2336
|
|
2334
|
-
|
2337
|
+
usxinz__(i_csa, &o_faca, &o_offa, (ftnlen)strlen(i_csa));
|
2335
2338
|
|
2336
2339
|
faca = rb_float_new((double)o_faca);
|
2337
2340
|
offa = rb_float_new((double)o_offa);
|
@@ -2345,7 +2348,7 @@ static VALUE
|
|
2345
2348
|
dcl_usxtlz(obj)
|
2346
2349
|
VALUE obj;
|
2347
2350
|
{
|
2348
|
-
|
2351
|
+
usxtlz__();
|
2349
2352
|
|
2350
2353
|
return Qnil;
|
2351
2354
|
|
@@ -2368,7 +2371,7 @@ dcl_usyinz(obj, csa)
|
|
2368
2371
|
i_csa = StringValuePtr(csa);
|
2369
2372
|
|
2370
2373
|
|
2371
|
-
|
2374
|
+
usyinz__(i_csa, &o_faca, &o_offa, (ftnlen)strlen(i_csa));
|
2372
2375
|
|
2373
2376
|
faca = rb_float_new((double)o_faca);
|
2374
2377
|
offa = rb_float_new((double)o_offa);
|
@@ -2382,7 +2385,7 @@ static VALUE
|
|
2382
2385
|
dcl_usytlz(obj)
|
2383
2386
|
VALUE obj;
|
2384
2387
|
{
|
2385
|
-
|
2388
|
+
usytlz__();
|
2386
2389
|
|
2387
2390
|
return Qnil;
|
2388
2391
|
|