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_ulpack.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 *);
|
@@ -85,7 +88,7 @@ dcl_ulxlog(obj, cside, nlbl, nticks)
|
|
85
88
|
i_nticks = NUM2INT(nticks);
|
86
89
|
|
87
90
|
|
88
|
-
|
91
|
+
ulxlog__(i_cside, &i_nlbl, &i_nticks, (ftnlen)strlen(i_cside));
|
89
92
|
|
90
93
|
return Qnil;
|
91
94
|
|
@@ -114,7 +117,7 @@ dcl_ulylog(obj, cside, nlbl, nticks)
|
|
114
117
|
i_nticks = NUM2INT(nticks);
|
115
118
|
|
116
119
|
|
117
|
-
|
120
|
+
ulylog__(i_cside, &i_nlbl, &i_nticks, (ftnlen)strlen(i_cside));
|
118
121
|
|
119
122
|
return Qnil;
|
120
123
|
|
@@ -138,7 +141,7 @@ dcl_ulxlbl(obj, inum)
|
|
138
141
|
|
139
142
|
o_bl= ALLOCA_N(real, (o_nbl));
|
140
143
|
|
141
|
-
|
144
|
+
ulxlbl__(o_bl, &o_nbl, &i_inum);
|
142
145
|
|
143
146
|
{int array_shape[1] = {o_nbl};
|
144
147
|
bl = dcl_crealary2obj(o_bl, (o_nbl), 1, array_shape);
|
@@ -172,7 +175,7 @@ dcl_ulsxbl(obj, bl, nbl)
|
|
172
175
|
i_bl = dcl_obj2crealary(bl);
|
173
176
|
|
174
177
|
|
175
|
-
|
178
|
+
ulsxbl__(i_bl, &i_nbl);
|
176
179
|
|
177
180
|
dcl_freecrealary(i_bl);
|
178
181
|
|
@@ -191,7 +194,7 @@ dcl_ulqxbl(obj)
|
|
191
194
|
|
192
195
|
o_bl= ALLOCA_N(real, (o_nbl));
|
193
196
|
|
194
|
-
|
197
|
+
ulqxbl__(o_bl, &o_nbl);
|
195
198
|
|
196
199
|
{int array_shape[1] = {o_nbl};
|
197
200
|
bl = dcl_crealary2obj(o_bl, (o_nbl), 1, array_shape);
|
@@ -221,7 +224,7 @@ dcl_ulylbl(obj, inum)
|
|
221
224
|
|
222
225
|
o_bl= ALLOCA_N(real, (o_nbl));
|
223
226
|
|
224
|
-
|
227
|
+
ulylbl__(o_bl, &o_nbl, &i_inum);
|
225
228
|
|
226
229
|
{int array_shape[1] = {o_nbl};
|
227
230
|
bl = dcl_crealary2obj(o_bl, (o_nbl), 1, array_shape);
|
@@ -255,7 +258,7 @@ dcl_ulsybl(obj, bl, nbl)
|
|
255
258
|
i_bl = dcl_obj2crealary(bl);
|
256
259
|
|
257
260
|
|
258
|
-
|
261
|
+
ulsybl__(i_bl, &i_nbl);
|
259
262
|
|
260
263
|
dcl_freecrealary(i_bl);
|
261
264
|
|
@@ -274,7 +277,7 @@ dcl_ulqybl(obj)
|
|
274
277
|
|
275
278
|
o_bl= ALLOCA_N(real, (o_nbl));
|
276
279
|
|
277
|
-
|
280
|
+
ulqybl__(o_bl, &o_nbl);
|
278
281
|
|
279
282
|
{int array_shape[1] = {o_nbl};
|
280
283
|
bl = dcl_crealary2obj(o_bl, (o_nbl), 1, array_shape);
|
@@ -293,7 +296,7 @@ dcl_ulpqnp(obj)
|
|
293
296
|
integer o_ncp;
|
294
297
|
VALUE ncp;
|
295
298
|
|
296
|
-
|
299
|
+
ulpqnp__(&o_ncp);
|
297
300
|
|
298
301
|
ncp = INT2NUM(o_ncp);
|
299
302
|
|
@@ -317,7 +320,7 @@ dcl_ulpqid(obj, cp)
|
|
317
320
|
i_cp = StringValuePtr(cp);
|
318
321
|
|
319
322
|
|
320
|
-
|
323
|
+
ulpqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
321
324
|
|
322
325
|
idx = INT2NUM(o_idx);
|
323
326
|
|
@@ -343,7 +346,7 @@ dcl_ulpqcp(obj, idx)
|
|
343
346
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
344
347
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
345
348
|
|
346
|
-
|
349
|
+
ulpqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
347
350
|
|
348
351
|
cp = rb_str_new2(o_cp);
|
349
352
|
|
@@ -369,7 +372,7 @@ dcl_ulpqcl(obj, idx)
|
|
369
372
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
370
373
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
371
374
|
|
372
|
-
|
375
|
+
ulpqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
373
376
|
|
374
377
|
cp = rb_str_new2(o_cp);
|
375
378
|
|
@@ -393,7 +396,7 @@ dcl_ulpqit(obj, idx)
|
|
393
396
|
i_idx = NUM2INT(idx);
|
394
397
|
|
395
398
|
|
396
|
-
|
399
|
+
ulpqit__(&i_idx, &o_itp);
|
397
400
|
|
398
401
|
itp = INT2NUM(o_itp);
|
399
402
|
|
@@ -417,7 +420,7 @@ dcl_ulpqvl(obj, idx)
|
|
417
420
|
i_idx = NUM2INT(idx);
|
418
421
|
|
419
422
|
|
420
|
-
|
423
|
+
ulpqvl__(&i_idx, &o_ipara);
|
421
424
|
|
422
425
|
ipara = INT2NUM(o_ipara);
|
423
426
|
|
@@ -444,7 +447,7 @@ dcl_ulpsvl(obj, idx, ipara)
|
|
444
447
|
i_ipara = NUM2INT(ipara);
|
445
448
|
|
446
449
|
|
447
|
-
|
450
|
+
ulpsvl__(&i_idx, &i_ipara);
|
448
451
|
|
449
452
|
return Qnil;
|
450
453
|
|
@@ -465,7 +468,7 @@ dcl_ulpqin(obj, cp)
|
|
465
468
|
i_cp = StringValuePtr(cp);
|
466
469
|
|
467
470
|
|
468
|
-
|
471
|
+
ulpqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
469
472
|
|
470
473
|
in = INT2NUM(o_in);
|
471
474
|
|
@@ -489,7 +492,7 @@ dcl_uliget(obj, cp)
|
|
489
492
|
i_cp = StringValuePtr(cp);
|
490
493
|
|
491
494
|
|
492
|
-
|
495
|
+
uliget__(i_cp, &o_ipara, (ftnlen)strlen(i_cp));
|
493
496
|
|
494
497
|
ipara = INT2NUM(o_ipara);
|
495
498
|
|
@@ -516,7 +519,7 @@ dcl_uliset(obj, cp, ipara)
|
|
516
519
|
i_ipara = NUM2INT(ipara);
|
517
520
|
|
518
521
|
|
519
|
-
|
522
|
+
uliset__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
|
520
523
|
|
521
524
|
return Qnil;
|
522
525
|
|
@@ -540,7 +543,7 @@ dcl_ulistx(obj, cp, ipara)
|
|
540
543
|
i_ipara = NUM2INT(ipara);
|
541
544
|
|
542
545
|
|
543
|
-
|
546
|
+
ulistx__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
|
544
547
|
|
545
548
|
return Qnil;
|
546
549
|
|
@@ -553,7 +556,7 @@ dcl_uliqnp(obj)
|
|
553
556
|
integer o_ncp;
|
554
557
|
VALUE ncp;
|
555
558
|
|
556
|
-
|
559
|
+
uliqnp__(&o_ncp);
|
557
560
|
|
558
561
|
ncp = INT2NUM(o_ncp);
|
559
562
|
|
@@ -577,7 +580,7 @@ dcl_uliqid(obj, cp)
|
|
577
580
|
i_cp = StringValuePtr(cp);
|
578
581
|
|
579
582
|
|
580
|
-
|
583
|
+
uliqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
581
584
|
|
582
585
|
idx = INT2NUM(o_idx);
|
583
586
|
|
@@ -603,7 +606,7 @@ dcl_uliqcp(obj, idx)
|
|
603
606
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
604
607
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
605
608
|
|
606
|
-
|
609
|
+
uliqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
607
610
|
|
608
611
|
cp = rb_str_new2(o_cp);
|
609
612
|
|
@@ -629,7 +632,7 @@ dcl_uliqcl(obj, idx)
|
|
629
632
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
630
633
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
631
634
|
|
632
|
-
|
635
|
+
uliqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
633
636
|
|
634
637
|
cp = rb_str_new2(o_cp);
|
635
638
|
|
@@ -653,7 +656,7 @@ dcl_uliqvl(obj, idx)
|
|
653
656
|
i_idx = NUM2INT(idx);
|
654
657
|
|
655
658
|
|
656
|
-
|
659
|
+
uliqvl__(&i_idx, &o_ipara);
|
657
660
|
|
658
661
|
ipara = INT2NUM(o_ipara);
|
659
662
|
|
@@ -680,7 +683,7 @@ dcl_ulisvl(obj, idx, ipara)
|
|
680
683
|
i_ipara = NUM2INT(ipara);
|
681
684
|
|
682
685
|
|
683
|
-
|
686
|
+
ulisvl__(&i_idx, &i_ipara);
|
684
687
|
|
685
688
|
return Qnil;
|
686
689
|
|
@@ -701,7 +704,7 @@ dcl_uliqin(obj, cp)
|
|
701
704
|
i_cp = StringValuePtr(cp);
|
702
705
|
|
703
706
|
|
704
|
-
|
707
|
+
uliqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
705
708
|
|
706
709
|
in = INT2NUM(o_in);
|
707
710
|
|
@@ -725,7 +728,7 @@ dcl_ullget(obj, cp)
|
|
725
728
|
i_cp = StringValuePtr(cp);
|
726
729
|
|
727
730
|
|
728
|
-
|
731
|
+
ullget__(i_cp, &o_lpara, (ftnlen)strlen(i_cp));
|
729
732
|
|
730
733
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
731
734
|
|
@@ -749,7 +752,7 @@ dcl_ullset(obj, cp, lpara)
|
|
749
752
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
750
753
|
|
751
754
|
|
752
|
-
|
755
|
+
ullset__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
|
753
756
|
|
754
757
|
return Qnil;
|
755
758
|
|
@@ -770,7 +773,7 @@ dcl_ullstx(obj, cp, lpara)
|
|
770
773
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
771
774
|
|
772
775
|
|
773
|
-
|
776
|
+
ullstx__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
|
774
777
|
|
775
778
|
return Qnil;
|
776
779
|
|
@@ -783,7 +786,7 @@ dcl_ullqnp(obj)
|
|
783
786
|
integer o_ncp;
|
784
787
|
VALUE ncp;
|
785
788
|
|
786
|
-
|
789
|
+
ullqnp__(&o_ncp);
|
787
790
|
|
788
791
|
ncp = INT2NUM(o_ncp);
|
789
792
|
|
@@ -807,7 +810,7 @@ dcl_ullqid(obj, cp)
|
|
807
810
|
i_cp = StringValuePtr(cp);
|
808
811
|
|
809
812
|
|
810
|
-
|
813
|
+
ullqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
811
814
|
|
812
815
|
idx = INT2NUM(o_idx);
|
813
816
|
|
@@ -833,7 +836,7 @@ dcl_ullqcp(obj, idx)
|
|
833
836
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
834
837
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
835
838
|
|
836
|
-
|
839
|
+
ullqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
837
840
|
|
838
841
|
cp = rb_str_new2(o_cp);
|
839
842
|
|
@@ -859,7 +862,7 @@ dcl_ullqcl(obj, idx)
|
|
859
862
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
860
863
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
861
864
|
|
862
|
-
|
865
|
+
ullqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
863
866
|
|
864
867
|
cp = rb_str_new2(o_cp);
|
865
868
|
|
@@ -883,7 +886,7 @@ dcl_ullqvl(obj, idx)
|
|
883
886
|
i_idx = NUM2INT(idx);
|
884
887
|
|
885
888
|
|
886
|
-
|
889
|
+
ullqvl__(&i_idx, &o_lpara);
|
887
890
|
|
888
891
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
889
892
|
|
@@ -907,7 +910,7 @@ dcl_ullsvl(obj, idx, lpara)
|
|
907
910
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
908
911
|
|
909
912
|
|
910
|
-
|
913
|
+
ullsvl__(&i_idx, &i_lpara);
|
911
914
|
|
912
915
|
return Qnil;
|
913
916
|
|
@@ -928,7 +931,7 @@ dcl_ullqin(obj, cp)
|
|
928
931
|
i_cp = StringValuePtr(cp);
|
929
932
|
|
930
933
|
|
931
|
-
|
934
|
+
ullqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
932
935
|
|
933
936
|
in = INT2NUM(o_in);
|
934
937
|
|
@@ -952,7 +955,7 @@ dcl_ulrget(obj, cp)
|
|
952
955
|
i_cp = StringValuePtr(cp);
|
953
956
|
|
954
957
|
|
955
|
-
|
958
|
+
ulrget__(i_cp, &o_rpara, (ftnlen)strlen(i_cp));
|
956
959
|
|
957
960
|
rpara = rb_float_new((double)o_rpara);
|
958
961
|
|
@@ -979,7 +982,7 @@ dcl_ulrset(obj, cp, rpara)
|
|
979
982
|
i_rpara = (real)NUM2DBL(rpara);
|
980
983
|
|
981
984
|
|
982
|
-
|
985
|
+
ulrset__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
|
983
986
|
|
984
987
|
return Qnil;
|
985
988
|
|
@@ -1003,7 +1006,7 @@ dcl_ulrstx(obj, cp, rpara)
|
|
1003
1006
|
i_rpara = (real)NUM2DBL(rpara);
|
1004
1007
|
|
1005
1008
|
|
1006
|
-
|
1009
|
+
ulrstx__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
|
1007
1010
|
|
1008
1011
|
return Qnil;
|
1009
1012
|
|
@@ -1016,7 +1019,7 @@ dcl_ulrqnp(obj)
|
|
1016
1019
|
integer o_ncp;
|
1017
1020
|
VALUE ncp;
|
1018
1021
|
|
1019
|
-
|
1022
|
+
ulrqnp__(&o_ncp);
|
1020
1023
|
|
1021
1024
|
ncp = INT2NUM(o_ncp);
|
1022
1025
|
|
@@ -1040,7 +1043,7 @@ dcl_ulrqid(obj, cp)
|
|
1040
1043
|
i_cp = StringValuePtr(cp);
|
1041
1044
|
|
1042
1045
|
|
1043
|
-
|
1046
|
+
ulrqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
1044
1047
|
|
1045
1048
|
idx = INT2NUM(o_idx);
|
1046
1049
|
|
@@ -1066,7 +1069,7 @@ dcl_ulrqcp(obj, idx)
|
|
1066
1069
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1067
1070
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1068
1071
|
|
1069
|
-
|
1072
|
+
ulrqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1070
1073
|
|
1071
1074
|
cp = rb_str_new2(o_cp);
|
1072
1075
|
|
@@ -1092,7 +1095,7 @@ dcl_ulrqcl(obj, idx)
|
|
1092
1095
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1093
1096
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1094
1097
|
|
1095
|
-
|
1098
|
+
ulrqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1096
1099
|
|
1097
1100
|
cp = rb_str_new2(o_cp);
|
1098
1101
|
|
@@ -1116,7 +1119,7 @@ dcl_ulrqvl(obj, idx)
|
|
1116
1119
|
i_idx = NUM2INT(idx);
|
1117
1120
|
|
1118
1121
|
|
1119
|
-
|
1122
|
+
ulrqvl__(&i_idx, &o_rpara);
|
1120
1123
|
|
1121
1124
|
rpara = rb_float_new((double)o_rpara);
|
1122
1125
|
|
@@ -1143,7 +1146,7 @@ dcl_ulrsvl(obj, idx, rpara)
|
|
1143
1146
|
i_rpara = (real)NUM2DBL(rpara);
|
1144
1147
|
|
1145
1148
|
|
1146
|
-
|
1149
|
+
ulrsvl__(&i_idx, &i_rpara);
|
1147
1150
|
|
1148
1151
|
return Qnil;
|
1149
1152
|
|
@@ -1164,7 +1167,7 @@ dcl_ulrqin(obj, cp)
|
|
1164
1167
|
i_cp = StringValuePtr(cp);
|
1165
1168
|
|
1166
1169
|
|
1167
|
-
|
1170
|
+
ulrqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
1168
1171
|
|
1169
1172
|
in = INT2NUM(o_in);
|
1170
1173
|
|
@@ -1186,7 +1189,7 @@ dcl_ulxsfm(obj, cxfmt)
|
|
1186
1189
|
i_cxfmt = StringValuePtr(cxfmt);
|
1187
1190
|
|
1188
1191
|
|
1189
|
-
|
1192
|
+
ulxsfm__(i_cxfmt, (ftnlen)strlen(i_cxfmt));
|
1190
1193
|
|
1191
1194
|
return Qnil;
|
1192
1195
|
|
@@ -1202,7 +1205,7 @@ dcl_ulxqfm(obj)
|
|
1202
1205
|
o_cxfmt= ALLOCA_N(char, (DFLT_SIZE+1));
|
1203
1206
|
memset(o_cxfmt, '\0', DFLT_SIZE+1);
|
1204
1207
|
|
1205
|
-
|
1208
|
+
ulxqfm__(o_cxfmt, (ftnlen)DFLT_SIZE);
|
1206
1209
|
|
1207
1210
|
cxfmt = rb_str_new2(o_cxfmt);
|
1208
1211
|
|
@@ -1224,7 +1227,7 @@ dcl_ulysfm(obj, cyfmt)
|
|
1224
1227
|
i_cyfmt = StringValuePtr(cyfmt);
|
1225
1228
|
|
1226
1229
|
|
1227
|
-
|
1230
|
+
ulysfm__(i_cyfmt, (ftnlen)strlen(i_cyfmt));
|
1228
1231
|
|
1229
1232
|
return Qnil;
|
1230
1233
|
|
@@ -1240,7 +1243,7 @@ dcl_ulyqfm(obj)
|
|
1240
1243
|
o_cyfmt= ALLOCA_N(char, (DFLT_SIZE+1));
|
1241
1244
|
memset(o_cyfmt, '\0', DFLT_SIZE+1);
|
1242
1245
|
|
1243
|
-
|
1246
|
+
ulyqfm__(o_cyfmt, (ftnlen)DFLT_SIZE);
|
1244
1247
|
|
1245
1248
|
cyfmt = rb_str_new2(o_cyfmt);
|
1246
1249
|
|