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_uepack.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 *);
|
@@ -94,7 +97,7 @@ dcl_uetone(obj, z, mx, nx, ny)
|
|
94
97
|
i_z = dcl_obj2crealary(z);
|
95
98
|
|
96
99
|
|
97
|
-
|
100
|
+
uetone__(i_z, &i_mx, &i_nx, &i_ny);
|
98
101
|
|
99
102
|
dcl_freecrealary(i_z);
|
100
103
|
|
@@ -134,7 +137,7 @@ dcl_uetonf(obj, z, mx, nx, ny)
|
|
134
137
|
i_z = dcl_obj2crealary(z);
|
135
138
|
|
136
139
|
|
137
|
-
|
140
|
+
uetonf__(i_z, &i_mx, &i_nx, &i_ny);
|
138
141
|
|
139
142
|
dcl_freecrealary(i_z);
|
140
143
|
|
@@ -176,7 +179,7 @@ dcl_uetonb(obj, z, mx, nx, ny)
|
|
176
179
|
i_z = dcl_obj2crealary(z);
|
177
180
|
|
178
181
|
|
179
|
-
|
182
|
+
uetonb__(i_z, &i_mx, &i_nx, &i_ny);
|
180
183
|
|
181
184
|
dcl_freecrealary(i_z);
|
182
185
|
|
@@ -218,7 +221,7 @@ dcl_uetonc(obj, z, mx, nx, ny)
|
|
218
221
|
i_z = dcl_obj2crealary(z);
|
219
222
|
|
220
223
|
|
221
|
-
|
224
|
+
uetonc__(i_z, &i_mx, &i_nx, &i_ny);
|
222
225
|
|
223
226
|
dcl_freecrealary(i_z);
|
224
227
|
|
@@ -265,7 +268,7 @@ dcl_uezchk(obj, z, mx, nx, ny, cname)
|
|
265
268
|
i_z = dcl_obj2crealary(z);
|
266
269
|
|
267
270
|
|
268
|
-
|
271
|
+
uezchk__(i_z, &i_mx, &i_nx, &i_ny, i_cname, &o_istat, (ftnlen)strlen(i_cname));
|
269
272
|
|
270
273
|
istat = INT2NUM(o_istat);
|
271
274
|
|
@@ -298,7 +301,7 @@ dcl_uegtla(obj, xmin, xmax, dx)
|
|
298
301
|
i_dx = (real)NUM2DBL(dx);
|
299
302
|
|
300
303
|
|
301
|
-
|
304
|
+
uegtla__(&i_xmin, &i_xmax, &i_dx);
|
302
305
|
|
303
306
|
return Qnil;
|
304
307
|
|
@@ -341,7 +344,7 @@ dcl_uegtlb(obj, z, mx, nx, ny, dx)
|
|
341
344
|
i_z = dcl_obj2crealary(z);
|
342
345
|
|
343
346
|
|
344
|
-
|
347
|
+
uegtlb__(i_z, &i_mx, &i_nx, &i_ny, &i_dx);
|
345
348
|
|
346
349
|
dcl_freecrealary(i_z);
|
347
350
|
|
@@ -353,7 +356,7 @@ static VALUE
|
|
353
356
|
dcl_ueitlv(obj)
|
354
357
|
VALUE obj;
|
355
358
|
{
|
356
|
-
|
359
|
+
ueitlv__();
|
357
360
|
|
358
361
|
return Qnil;
|
359
362
|
|
@@ -382,7 +385,7 @@ dcl_uestlv(obj, tlev1, tlev2, ipat)
|
|
382
385
|
i_ipat = NUM2INT(ipat);
|
383
386
|
|
384
387
|
|
385
|
-
|
388
|
+
uestlv__(&i_tlev1, &i_tlev2, &i_ipat);
|
386
389
|
|
387
390
|
return Qnil;
|
388
391
|
|
@@ -407,7 +410,7 @@ dcl_ueqtlv(obj, iton)
|
|
407
410
|
i_iton = NUM2INT(iton);
|
408
411
|
|
409
412
|
|
410
|
-
|
413
|
+
ueqtlv__(&o_tlev1, &o_tlev2, &o_ipat, &i_iton);
|
411
414
|
|
412
415
|
tlev1 = rb_float_new((double)o_tlev1);
|
413
416
|
tlev2 = rb_float_new((double)o_tlev2);
|
@@ -425,7 +428,7 @@ dcl_ueqntl(obj)
|
|
425
428
|
integer o_nton;
|
426
429
|
VALUE nton;
|
427
430
|
|
428
|
-
|
431
|
+
ueqntl__(&o_nton);
|
429
432
|
|
430
433
|
nton = INT2NUM(o_nton);
|
431
434
|
|
@@ -465,7 +468,7 @@ dcl_uestln(obj, tlevn, ipatn, nton)
|
|
465
468
|
i_ipatn = dcl_obj2cintegerary(ipatn);
|
466
469
|
|
467
470
|
|
468
|
-
|
471
|
+
uestln__(i_tlevn, i_ipatn, &i_nton);
|
469
472
|
|
470
473
|
dcl_freecrealary(i_tlevn);
|
471
474
|
dcl_freecintegerary(i_ipatn);
|
@@ -489,7 +492,7 @@ dcl_iueton(obj, zlev)
|
|
489
492
|
i_zlev = (real)NUM2DBL(zlev);
|
490
493
|
|
491
494
|
|
492
|
-
o_rtn_val =
|
495
|
+
o_rtn_val = iueton__(&i_zlev);
|
493
496
|
|
494
497
|
rtn_val = INT2NUM(o_rtn_val);
|
495
498
|
|
@@ -505,7 +508,7 @@ dcl_uepqnp(obj)
|
|
505
508
|
integer o_ncp;
|
506
509
|
VALUE ncp;
|
507
510
|
|
508
|
-
|
511
|
+
uepqnp__(&o_ncp);
|
509
512
|
|
510
513
|
ncp = INT2NUM(o_ncp);
|
511
514
|
|
@@ -529,7 +532,7 @@ dcl_uepqid(obj, cp)
|
|
529
532
|
i_cp = StringValuePtr(cp);
|
530
533
|
|
531
534
|
|
532
|
-
|
535
|
+
uepqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
533
536
|
|
534
537
|
idx = INT2NUM(o_idx);
|
535
538
|
|
@@ -555,7 +558,7 @@ dcl_uepqcp(obj, idx)
|
|
555
558
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
556
559
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
557
560
|
|
558
|
-
|
561
|
+
uepqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
559
562
|
|
560
563
|
cp = rb_str_new2(o_cp);
|
561
564
|
|
@@ -581,7 +584,7 @@ dcl_uepqcl(obj, idx)
|
|
581
584
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
582
585
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
583
586
|
|
584
|
-
|
587
|
+
uepqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
585
588
|
|
586
589
|
cp = rb_str_new2(o_cp);
|
587
590
|
|
@@ -605,7 +608,7 @@ dcl_uepqit(obj, idx)
|
|
605
608
|
i_idx = NUM2INT(idx);
|
606
609
|
|
607
610
|
|
608
|
-
|
611
|
+
uepqit__(&i_idx, &o_itp);
|
609
612
|
|
610
613
|
itp = INT2NUM(o_itp);
|
611
614
|
|
@@ -629,7 +632,7 @@ dcl_uepqvl(obj, idx)
|
|
629
632
|
i_idx = NUM2INT(idx);
|
630
633
|
|
631
634
|
|
632
|
-
|
635
|
+
uepqvl__(&i_idx, &o_ipara);
|
633
636
|
|
634
637
|
ipara = INT2NUM(o_ipara);
|
635
638
|
|
@@ -656,7 +659,7 @@ dcl_uepsvl(obj, idx, ipara)
|
|
656
659
|
i_ipara = NUM2INT(ipara);
|
657
660
|
|
658
661
|
|
659
|
-
|
662
|
+
uepsvl__(&i_idx, &i_ipara);
|
660
663
|
|
661
664
|
return Qnil;
|
662
665
|
|
@@ -677,7 +680,7 @@ dcl_uepqin(obj, cp)
|
|
677
680
|
i_cp = StringValuePtr(cp);
|
678
681
|
|
679
682
|
|
680
|
-
|
683
|
+
uepqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
681
684
|
|
682
685
|
in = INT2NUM(o_in);
|
683
686
|
|
@@ -701,7 +704,7 @@ dcl_ueiget(obj, cp)
|
|
701
704
|
i_cp = StringValuePtr(cp);
|
702
705
|
|
703
706
|
|
704
|
-
|
707
|
+
ueiget__(i_cp, &o_ipara, (ftnlen)strlen(i_cp));
|
705
708
|
|
706
709
|
ipara = INT2NUM(o_ipara);
|
707
710
|
|
@@ -728,7 +731,7 @@ dcl_ueiset(obj, cp, ipara)
|
|
728
731
|
i_ipara = NUM2INT(ipara);
|
729
732
|
|
730
733
|
|
731
|
-
|
734
|
+
ueiset__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
|
732
735
|
|
733
736
|
return Qnil;
|
734
737
|
|
@@ -752,7 +755,7 @@ dcl_ueistx(obj, cp, ipara)
|
|
752
755
|
i_ipara = NUM2INT(ipara);
|
753
756
|
|
754
757
|
|
755
|
-
|
758
|
+
ueistx__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
|
756
759
|
|
757
760
|
return Qnil;
|
758
761
|
|
@@ -765,7 +768,7 @@ dcl_ueiqnp(obj)
|
|
765
768
|
integer o_ncp;
|
766
769
|
VALUE ncp;
|
767
770
|
|
768
|
-
|
771
|
+
ueiqnp__(&o_ncp);
|
769
772
|
|
770
773
|
ncp = INT2NUM(o_ncp);
|
771
774
|
|
@@ -789,7 +792,7 @@ dcl_ueiqid(obj, cp)
|
|
789
792
|
i_cp = StringValuePtr(cp);
|
790
793
|
|
791
794
|
|
792
|
-
|
795
|
+
ueiqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
793
796
|
|
794
797
|
idx = INT2NUM(o_idx);
|
795
798
|
|
@@ -815,7 +818,7 @@ dcl_ueiqcp(obj, idx)
|
|
815
818
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
816
819
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
817
820
|
|
818
|
-
|
821
|
+
ueiqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
819
822
|
|
820
823
|
cp = rb_str_new2(o_cp);
|
821
824
|
|
@@ -841,7 +844,7 @@ dcl_ueiqcl(obj, idx)
|
|
841
844
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
842
845
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
843
846
|
|
844
|
-
|
847
|
+
ueiqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
845
848
|
|
846
849
|
cp = rb_str_new2(o_cp);
|
847
850
|
|
@@ -865,7 +868,7 @@ dcl_ueiqvl(obj, idx)
|
|
865
868
|
i_idx = NUM2INT(idx);
|
866
869
|
|
867
870
|
|
868
|
-
|
871
|
+
ueiqvl__(&i_idx, &o_ipara);
|
869
872
|
|
870
873
|
ipara = INT2NUM(o_ipara);
|
871
874
|
|
@@ -892,7 +895,7 @@ dcl_ueisvl(obj, idx, ipara)
|
|
892
895
|
i_ipara = NUM2INT(ipara);
|
893
896
|
|
894
897
|
|
895
|
-
|
898
|
+
ueisvl__(&i_idx, &i_ipara);
|
896
899
|
|
897
900
|
return Qnil;
|
898
901
|
|
@@ -913,7 +916,7 @@ dcl_ueiqin(obj, cp)
|
|
913
916
|
i_cp = StringValuePtr(cp);
|
914
917
|
|
915
918
|
|
916
|
-
|
919
|
+
ueiqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
917
920
|
|
918
921
|
in = INT2NUM(o_in);
|
919
922
|
|
@@ -937,7 +940,7 @@ dcl_uelget(obj, cp)
|
|
937
940
|
i_cp = StringValuePtr(cp);
|
938
941
|
|
939
942
|
|
940
|
-
|
943
|
+
uelget__(i_cp, &o_lpara, (ftnlen)strlen(i_cp));
|
941
944
|
|
942
945
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
943
946
|
|
@@ -961,7 +964,7 @@ dcl_uelset(obj, cp, lpara)
|
|
961
964
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
962
965
|
|
963
966
|
|
964
|
-
|
967
|
+
uelset__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
|
965
968
|
|
966
969
|
return Qnil;
|
967
970
|
|
@@ -982,7 +985,7 @@ dcl_uelstx(obj, cp, lpara)
|
|
982
985
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
983
986
|
|
984
987
|
|
985
|
-
|
988
|
+
uelstx__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
|
986
989
|
|
987
990
|
return Qnil;
|
988
991
|
|
@@ -995,7 +998,7 @@ dcl_uelqnp(obj)
|
|
995
998
|
integer o_ncp;
|
996
999
|
VALUE ncp;
|
997
1000
|
|
998
|
-
|
1001
|
+
uelqnp__(&o_ncp);
|
999
1002
|
|
1000
1003
|
ncp = INT2NUM(o_ncp);
|
1001
1004
|
|
@@ -1019,7 +1022,7 @@ dcl_uelqid(obj, cp)
|
|
1019
1022
|
i_cp = StringValuePtr(cp);
|
1020
1023
|
|
1021
1024
|
|
1022
|
-
|
1025
|
+
uelqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
1023
1026
|
|
1024
1027
|
idx = INT2NUM(o_idx);
|
1025
1028
|
|
@@ -1045,7 +1048,7 @@ dcl_uelqcp(obj, idx)
|
|
1045
1048
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1046
1049
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1047
1050
|
|
1048
|
-
|
1051
|
+
uelqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1049
1052
|
|
1050
1053
|
cp = rb_str_new2(o_cp);
|
1051
1054
|
|
@@ -1071,7 +1074,7 @@ dcl_uelqcl(obj, idx)
|
|
1071
1074
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1072
1075
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1073
1076
|
|
1074
|
-
|
1077
|
+
uelqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1075
1078
|
|
1076
1079
|
cp = rb_str_new2(o_cp);
|
1077
1080
|
|
@@ -1095,7 +1098,7 @@ dcl_uelqvl(obj, idx)
|
|
1095
1098
|
i_idx = NUM2INT(idx);
|
1096
1099
|
|
1097
1100
|
|
1098
|
-
|
1101
|
+
uelqvl__(&i_idx, &o_lpara);
|
1099
1102
|
|
1100
1103
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
1101
1104
|
|
@@ -1119,7 +1122,7 @@ dcl_uelsvl(obj, idx, lpara)
|
|
1119
1122
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
1120
1123
|
|
1121
1124
|
|
1122
|
-
|
1125
|
+
uelsvl__(&i_idx, &i_lpara);
|
1123
1126
|
|
1124
1127
|
return Qnil;
|
1125
1128
|
|
@@ -1140,7 +1143,7 @@ dcl_uelqin(obj, cp)
|
|
1140
1143
|
i_cp = StringValuePtr(cp);
|
1141
1144
|
|
1142
1145
|
|
1143
|
-
|
1146
|
+
uelqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
1144
1147
|
|
1145
1148
|
in = INT2NUM(o_in);
|
1146
1149
|
|
@@ -1164,7 +1167,7 @@ dcl_uerget(obj, cp)
|
|
1164
1167
|
i_cp = StringValuePtr(cp);
|
1165
1168
|
|
1166
1169
|
|
1167
|
-
|
1170
|
+
uerget__(i_cp, &o_rpara, (ftnlen)strlen(i_cp));
|
1168
1171
|
|
1169
1172
|
rpara = rb_float_new((double)o_rpara);
|
1170
1173
|
|
@@ -1191,7 +1194,7 @@ dcl_uerset(obj, cp, rpara)
|
|
1191
1194
|
i_rpara = (real)NUM2DBL(rpara);
|
1192
1195
|
|
1193
1196
|
|
1194
|
-
|
1197
|
+
uerset__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
|
1195
1198
|
|
1196
1199
|
return Qnil;
|
1197
1200
|
|
@@ -1215,7 +1218,7 @@ dcl_uerstx(obj, cp, rpara)
|
|
1215
1218
|
i_rpara = (real)NUM2DBL(rpara);
|
1216
1219
|
|
1217
1220
|
|
1218
|
-
|
1221
|
+
uerstx__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
|
1219
1222
|
|
1220
1223
|
return Qnil;
|
1221
1224
|
|
@@ -1228,7 +1231,7 @@ dcl_uerqnp(obj)
|
|
1228
1231
|
integer o_ncp;
|
1229
1232
|
VALUE ncp;
|
1230
1233
|
|
1231
|
-
|
1234
|
+
uerqnp__(&o_ncp);
|
1232
1235
|
|
1233
1236
|
ncp = INT2NUM(o_ncp);
|
1234
1237
|
|
@@ -1252,7 +1255,7 @@ dcl_uerqid(obj, cp)
|
|
1252
1255
|
i_cp = StringValuePtr(cp);
|
1253
1256
|
|
1254
1257
|
|
1255
|
-
|
1258
|
+
uerqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
1256
1259
|
|
1257
1260
|
idx = INT2NUM(o_idx);
|
1258
1261
|
|
@@ -1278,7 +1281,7 @@ dcl_uerqcp(obj, idx)
|
|
1278
1281
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1279
1282
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1280
1283
|
|
1281
|
-
|
1284
|
+
uerqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1282
1285
|
|
1283
1286
|
cp = rb_str_new2(o_cp);
|
1284
1287
|
|
@@ -1304,7 +1307,7 @@ dcl_uerqcl(obj, idx)
|
|
1304
1307
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1305
1308
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1306
1309
|
|
1307
|
-
|
1310
|
+
uerqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1308
1311
|
|
1309
1312
|
cp = rb_str_new2(o_cp);
|
1310
1313
|
|
@@ -1328,7 +1331,7 @@ dcl_uerqvl(obj, idx)
|
|
1328
1331
|
i_idx = NUM2INT(idx);
|
1329
1332
|
|
1330
1333
|
|
1331
|
-
|
1334
|
+
uerqvl__(&i_idx, &o_rpara);
|
1332
1335
|
|
1333
1336
|
rpara = rb_float_new((double)o_rpara);
|
1334
1337
|
|
@@ -1355,7 +1358,7 @@ dcl_uersvl(obj, idx, rpara)
|
|
1355
1358
|
i_rpara = (real)NUM2DBL(rpara);
|
1356
1359
|
|
1357
1360
|
|
1358
|
-
|
1361
|
+
uersvl__(&i_idx, &i_rpara);
|
1359
1362
|
|
1360
1363
|
return Qnil;
|
1361
1364
|
|
@@ -1376,7 +1379,7 @@ dcl_uerqin(obj, cp)
|
|
1376
1379
|
i_cp = StringValuePtr(cp);
|
1377
1380
|
|
1378
1381
|
|
1379
|
-
|
1382
|
+
uerqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
1380
1383
|
|
1381
1384
|
in = INT2NUM(o_in);
|
1382
1385
|
|