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_uipack.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 *);
|
@@ -96,7 +99,7 @@ dcl_uipdat(obj, z, mx, nx, ny)
|
|
96
99
|
i_z = dcl_obj2crealary(z);
|
97
100
|
|
98
101
|
|
99
|
-
|
102
|
+
uipdat__(i_z, &i_mx, &i_nx, &i_ny);
|
100
103
|
|
101
104
|
dcl_freecrealary(i_z);
|
102
105
|
|
@@ -145,7 +148,7 @@ dcl_uipda2(obj, u, v, mx, nx, ny)
|
|
145
148
|
i_v = dcl_obj2crealary(v);
|
146
149
|
|
147
150
|
|
148
|
-
|
151
|
+
uipda2__(i_u, i_v, &i_mx, &i_nx, &i_ny);
|
149
152
|
|
150
153
|
dcl_freecrealary(i_u);
|
151
154
|
dcl_freecrealary(i_v);
|
@@ -204,7 +207,7 @@ dcl_uipda3(obj, u, v, w, mx, nx, ny)
|
|
204
207
|
i_w = dcl_obj2crealary(w);
|
205
208
|
|
206
209
|
|
207
|
-
|
210
|
+
uipda3__(i_u, i_v, i_w, &i_mx, &i_nx, &i_ny);
|
208
211
|
|
209
212
|
dcl_freecrealary(i_u);
|
210
213
|
dcl_freecrealary(i_v);
|
@@ -232,7 +235,7 @@ dcl_uiscrg(obj, zmin, zmax)
|
|
232
235
|
i_zmax = (real)NUM2DBL(zmax);
|
233
236
|
|
234
237
|
|
235
|
-
|
238
|
+
uiscrg__(&i_zmin, &i_zmax);
|
236
239
|
|
237
240
|
return Qnil;
|
238
241
|
|
@@ -256,7 +259,7 @@ dcl_uismrg(obj, zmin, zmax)
|
|
256
259
|
i_zmax = (real)NUM2DBL(zmax);
|
257
260
|
|
258
261
|
|
259
|
-
|
262
|
+
uismrg__(&i_zmin, &i_zmax);
|
260
263
|
|
261
264
|
return Qnil;
|
262
265
|
|
@@ -293,7 +296,7 @@ dcl_uiscsq(obj, clrlvl, icolor, n)
|
|
293
296
|
i_icolor = dcl_obj2cintegerary(icolor);
|
294
297
|
|
295
298
|
|
296
|
-
|
299
|
+
uiscsq__(i_clrlvl, i_icolor, &i_n);
|
297
300
|
|
298
301
|
dcl_freecrealary(i_clrlvl);
|
299
302
|
dcl_freecintegerary(i_icolor);
|
@@ -315,7 +318,7 @@ dcl_uiscfl(obj, cdsn)
|
|
315
318
|
i_cdsn = StringValuePtr(cdsn);
|
316
319
|
|
317
320
|
|
318
|
-
|
321
|
+
uiscfl__(i_cdsn, (ftnlen)strlen(i_cdsn));
|
319
322
|
|
320
323
|
return Qnil;
|
321
324
|
|
@@ -352,7 +355,7 @@ dcl_uismsq(obj, shdlvl, shade, n)
|
|
352
355
|
i_shade = dcl_obj2cintegerary(shade);
|
353
356
|
|
354
357
|
|
355
|
-
|
358
|
+
uismsq__(i_shdlvl, i_shade, &i_n);
|
356
359
|
|
357
360
|
dcl_freecrealary(i_shdlvl);
|
358
361
|
dcl_freecintegerary(i_shade);
|
@@ -374,7 +377,7 @@ dcl_uismfl(obj, cdsn)
|
|
374
377
|
i_cdsn = StringValuePtr(cdsn);
|
375
378
|
|
376
379
|
|
377
|
-
|
380
|
+
uismfl__(i_cdsn, (ftnlen)strlen(i_cdsn));
|
378
381
|
|
379
382
|
return Qnil;
|
380
383
|
|
@@ -423,7 +426,7 @@ dcl_uixbar(obj, xmin, xmax, ymin, ymax, zmin, zmax, cpos)
|
|
423
426
|
i_cpos = StringValuePtr(cpos);
|
424
427
|
|
425
428
|
|
426
|
-
|
429
|
+
uixbar__(&i_xmin, &i_xmax, &i_ymin, &i_ymax, &i_zmin, &i_zmax, i_cpos, (ftnlen)strlen(i_cpos));
|
427
430
|
|
428
431
|
return Qnil;
|
429
432
|
|
@@ -472,7 +475,7 @@ dcl_uiybar(obj, xmin, xmax, ymin, ymax, zmin, zmax, cpos)
|
|
472
475
|
i_cpos = StringValuePtr(cpos);
|
473
476
|
|
474
477
|
|
475
|
-
|
478
|
+
uiybar__(&i_xmin, &i_xmax, &i_ymin, &i_ymax, &i_zmin, &i_zmax, i_cpos, (ftnlen)strlen(i_cpos));
|
476
479
|
|
477
480
|
return Qnil;
|
478
481
|
|
@@ -506,7 +509,7 @@ dcl_uiscr2(obj, umin, umax, vmin, vmax)
|
|
506
509
|
i_vmax = (real)NUM2DBL(vmax);
|
507
510
|
|
508
511
|
|
509
|
-
|
512
|
+
uiscr2__(&i_umin, &i_umax, &i_vmin, &i_vmax);
|
510
513
|
|
511
514
|
return Qnil;
|
512
515
|
|
@@ -525,7 +528,7 @@ dcl_uiqcr2(obj)
|
|
525
528
|
VALUE vmin;
|
526
529
|
VALUE vmax;
|
527
530
|
|
528
|
-
|
531
|
+
uiqcr2__(&o_umin, &o_umax, &o_vmin, &o_vmax);
|
529
532
|
|
530
533
|
umin = rb_float_new((double)o_umin);
|
531
534
|
umax = rb_float_new((double)o_umax);
|
@@ -565,7 +568,7 @@ dcl_uiscmp(obj, irgb1, irgb2, irgb3, irgb4)
|
|
565
568
|
i_irgb4 = NUM2INT(irgb4);
|
566
569
|
|
567
570
|
|
568
|
-
|
571
|
+
uiscmp__(&i_irgb1, &i_irgb2, &i_irgb3, &i_irgb4);
|
569
572
|
|
570
573
|
return Qnil;
|
571
574
|
|
@@ -604,7 +607,7 @@ dcl_uipcmp(obj, xmin, xmax, ymin, ymax, cpos)
|
|
604
607
|
i_cpos = StringValuePtr(cpos);
|
605
608
|
|
606
609
|
|
607
|
-
|
610
|
+
uipcmp__(&i_xmin, &i_xmax, &i_ymin, &i_ymax, i_cpos, (ftnlen)strlen(i_cpos));
|
608
611
|
|
609
612
|
return Qnil;
|
610
613
|
|
@@ -635,7 +638,7 @@ dcl_uifpac(obj, ir, ig, ib)
|
|
635
638
|
i_ib = NUM2INT(ib);
|
636
639
|
|
637
640
|
|
638
|
-
|
641
|
+
uifpac__(&i_ir, &i_ig, &i_ib, &o_irgb);
|
639
642
|
|
640
643
|
irgb = INT2NUM(o_irgb);
|
641
644
|
|
@@ -663,7 +666,7 @@ dcl_uiipac(obj, irgb)
|
|
663
666
|
i_irgb = NUM2INT(irgb);
|
664
667
|
|
665
668
|
|
666
|
-
|
669
|
+
uiipac__(&i_irgb, &o_ir, &o_ig, &o_ib);
|
667
670
|
|
668
671
|
ir = INT2NUM(o_ir);
|
669
672
|
ig = INT2NUM(o_ig);
|
@@ -689,7 +692,7 @@ dcl_uiiget(obj, cp)
|
|
689
692
|
i_cp = StringValuePtr(cp);
|
690
693
|
|
691
694
|
|
692
|
-
|
695
|
+
uiiget__(i_cp, &o_ipara, (ftnlen)strlen(i_cp));
|
693
696
|
|
694
697
|
ipara = INT2NUM(o_ipara);
|
695
698
|
|
@@ -716,7 +719,7 @@ dcl_uiiset(obj, cp, ipara)
|
|
716
719
|
i_ipara = NUM2INT(ipara);
|
717
720
|
|
718
721
|
|
719
|
-
|
722
|
+
uiiset__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
|
720
723
|
|
721
724
|
return Qnil;
|
722
725
|
|
@@ -740,7 +743,7 @@ dcl_uiistx(obj, cp, ipara)
|
|
740
743
|
i_ipara = NUM2INT(ipara);
|
741
744
|
|
742
745
|
|
743
|
-
|
746
|
+
uiistx__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
|
744
747
|
|
745
748
|
return Qnil;
|
746
749
|
|
@@ -753,7 +756,7 @@ dcl_uiiqnp(obj)
|
|
753
756
|
integer o_ncp;
|
754
757
|
VALUE ncp;
|
755
758
|
|
756
|
-
|
759
|
+
uiiqnp__(&o_ncp);
|
757
760
|
|
758
761
|
ncp = INT2NUM(o_ncp);
|
759
762
|
|
@@ -777,7 +780,7 @@ dcl_uiiqid(obj, cp)
|
|
777
780
|
i_cp = StringValuePtr(cp);
|
778
781
|
|
779
782
|
|
780
|
-
|
783
|
+
uiiqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
781
784
|
|
782
785
|
idx = INT2NUM(o_idx);
|
783
786
|
|
@@ -803,7 +806,7 @@ dcl_uiiqcp(obj, idx)
|
|
803
806
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
804
807
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
805
808
|
|
806
|
-
|
809
|
+
uiiqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
807
810
|
|
808
811
|
cp = rb_str_new2(o_cp);
|
809
812
|
|
@@ -829,7 +832,7 @@ dcl_uiiqcl(obj, idx)
|
|
829
832
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
830
833
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
831
834
|
|
832
|
-
|
835
|
+
uiiqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
833
836
|
|
834
837
|
cp = rb_str_new2(o_cp);
|
835
838
|
|
@@ -853,7 +856,7 @@ dcl_uiiqvl(obj, idx)
|
|
853
856
|
i_idx = NUM2INT(idx);
|
854
857
|
|
855
858
|
|
856
|
-
|
859
|
+
uiiqvl__(&i_idx, &o_ipara);
|
857
860
|
|
858
861
|
ipara = INT2NUM(o_ipara);
|
859
862
|
|
@@ -880,7 +883,7 @@ dcl_uiisvl(obj, idx, ipara)
|
|
880
883
|
i_ipara = NUM2INT(ipara);
|
881
884
|
|
882
885
|
|
883
|
-
|
886
|
+
uiisvl__(&i_idx, &i_ipara);
|
884
887
|
|
885
888
|
return Qnil;
|
886
889
|
|
@@ -901,7 +904,7 @@ dcl_uiiqin(obj, cp)
|
|
901
904
|
i_cp = StringValuePtr(cp);
|
902
905
|
|
903
906
|
|
904
|
-
|
907
|
+
uiiqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
905
908
|
|
906
909
|
in = INT2NUM(o_in);
|
907
910
|
|
@@ -925,7 +928,7 @@ dcl_uilget(obj, cp)
|
|
925
928
|
i_cp = StringValuePtr(cp);
|
926
929
|
|
927
930
|
|
928
|
-
|
931
|
+
uilget__(i_cp, &o_lpara, (ftnlen)strlen(i_cp));
|
929
932
|
|
930
933
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
931
934
|
|
@@ -949,7 +952,7 @@ dcl_uilset(obj, cp, lpara)
|
|
949
952
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
950
953
|
|
951
954
|
|
952
|
-
|
955
|
+
uilset__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
|
953
956
|
|
954
957
|
return Qnil;
|
955
958
|
|
@@ -970,7 +973,7 @@ dcl_uilstx(obj, cp, lpara)
|
|
970
973
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
971
974
|
|
972
975
|
|
973
|
-
|
976
|
+
uilstx__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
|
974
977
|
|
975
978
|
return Qnil;
|
976
979
|
|
@@ -983,7 +986,7 @@ dcl_uilqnp(obj)
|
|
983
986
|
integer o_ncp;
|
984
987
|
VALUE ncp;
|
985
988
|
|
986
|
-
|
989
|
+
uilqnp__(&o_ncp);
|
987
990
|
|
988
991
|
ncp = INT2NUM(o_ncp);
|
989
992
|
|
@@ -1007,7 +1010,7 @@ dcl_uilqid(obj, cp)
|
|
1007
1010
|
i_cp = StringValuePtr(cp);
|
1008
1011
|
|
1009
1012
|
|
1010
|
-
|
1013
|
+
uilqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
1011
1014
|
|
1012
1015
|
idx = INT2NUM(o_idx);
|
1013
1016
|
|
@@ -1033,7 +1036,7 @@ dcl_uilqcp(obj, idx)
|
|
1033
1036
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1034
1037
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1035
1038
|
|
1036
|
-
|
1039
|
+
uilqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1037
1040
|
|
1038
1041
|
cp = rb_str_new2(o_cp);
|
1039
1042
|
|
@@ -1059,7 +1062,7 @@ dcl_uilqcl(obj, idx)
|
|
1059
1062
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1060
1063
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1061
1064
|
|
1062
|
-
|
1065
|
+
uilqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1063
1066
|
|
1064
1067
|
cp = rb_str_new2(o_cp);
|
1065
1068
|
|
@@ -1083,7 +1086,7 @@ dcl_uilqvl(obj, idx)
|
|
1083
1086
|
i_idx = NUM2INT(idx);
|
1084
1087
|
|
1085
1088
|
|
1086
|
-
|
1089
|
+
uilqvl__(&i_idx, &o_lpara);
|
1087
1090
|
|
1088
1091
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
1089
1092
|
|
@@ -1107,7 +1110,7 @@ dcl_uilsvl(obj, idx, lpara)
|
|
1107
1110
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
1108
1111
|
|
1109
1112
|
|
1110
|
-
|
1113
|
+
uilsvl__(&i_idx, &i_lpara);
|
1111
1114
|
|
1112
1115
|
return Qnil;
|
1113
1116
|
|
@@ -1128,7 +1131,7 @@ dcl_uilqin(obj, cp)
|
|
1128
1131
|
i_cp = StringValuePtr(cp);
|
1129
1132
|
|
1130
1133
|
|
1131
|
-
|
1134
|
+
uilqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
1132
1135
|
|
1133
1136
|
in = INT2NUM(o_in);
|
1134
1137
|
|
@@ -1152,7 +1155,7 @@ dcl_uirget(obj, cp)
|
|
1152
1155
|
i_cp = StringValuePtr(cp);
|
1153
1156
|
|
1154
1157
|
|
1155
|
-
|
1158
|
+
uirget__(i_cp, &o_rpara, (ftnlen)strlen(i_cp));
|
1156
1159
|
|
1157
1160
|
rpara = rb_float_new((double)o_rpara);
|
1158
1161
|
|
@@ -1179,7 +1182,7 @@ dcl_uirset(obj, cp, rpara)
|
|
1179
1182
|
i_rpara = (real)NUM2DBL(rpara);
|
1180
1183
|
|
1181
1184
|
|
1182
|
-
|
1185
|
+
uirset__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
|
1183
1186
|
|
1184
1187
|
return Qnil;
|
1185
1188
|
|
@@ -1203,7 +1206,7 @@ dcl_uirstx(obj, cp, rpara)
|
|
1203
1206
|
i_rpara = (real)NUM2DBL(rpara);
|
1204
1207
|
|
1205
1208
|
|
1206
|
-
|
1209
|
+
uirstx__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
|
1207
1210
|
|
1208
1211
|
return Qnil;
|
1209
1212
|
|
@@ -1216,7 +1219,7 @@ dcl_uirqnp(obj)
|
|
1216
1219
|
integer o_ncp;
|
1217
1220
|
VALUE ncp;
|
1218
1221
|
|
1219
|
-
|
1222
|
+
uirqnp__(&o_ncp);
|
1220
1223
|
|
1221
1224
|
ncp = INT2NUM(o_ncp);
|
1222
1225
|
|
@@ -1240,7 +1243,7 @@ dcl_uirqid(obj, cp)
|
|
1240
1243
|
i_cp = StringValuePtr(cp);
|
1241
1244
|
|
1242
1245
|
|
1243
|
-
|
1246
|
+
uirqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
1244
1247
|
|
1245
1248
|
idx = INT2NUM(o_idx);
|
1246
1249
|
|
@@ -1266,7 +1269,7 @@ dcl_uirqcp(obj, idx)
|
|
1266
1269
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1267
1270
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1268
1271
|
|
1269
|
-
|
1272
|
+
uirqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1270
1273
|
|
1271
1274
|
cp = rb_str_new2(o_cp);
|
1272
1275
|
|
@@ -1292,7 +1295,7 @@ dcl_uirqcl(obj, idx)
|
|
1292
1295
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1293
1296
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1294
1297
|
|
1295
|
-
|
1298
|
+
uirqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1296
1299
|
|
1297
1300
|
cp = rb_str_new2(o_cp);
|
1298
1301
|
|
@@ -1316,7 +1319,7 @@ dcl_uirqvl(obj, idx)
|
|
1316
1319
|
i_idx = NUM2INT(idx);
|
1317
1320
|
|
1318
1321
|
|
1319
|
-
|
1322
|
+
uirqvl__(&i_idx, &o_rpara);
|
1320
1323
|
|
1321
1324
|
rpara = rb_float_new((double)o_rpara);
|
1322
1325
|
|
@@ -1343,7 +1346,7 @@ dcl_uirsvl(obj, idx, rpara)
|
|
1343
1346
|
i_rpara = (real)NUM2DBL(rpara);
|
1344
1347
|
|
1345
1348
|
|
1346
|
-
|
1349
|
+
uirsvl__(&i_idx, &i_rpara);
|
1347
1350
|
|
1348
1351
|
return Qnil;
|
1349
1352
|
|
@@ -1364,7 +1367,7 @@ dcl_uirqin(obj, cp)
|
|
1364
1367
|
i_cp = StringValuePtr(cp);
|
1365
1368
|
|
1366
1369
|
|
1367
|
-
|
1370
|
+
uirqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
1368
1371
|
|
1369
1372
|
in = INT2NUM(o_in);
|
1370
1373
|
|
@@ -1390,7 +1393,7 @@ dcl_uiqfnm(obj, cpara)
|
|
1390
1393
|
o_cfname= ALLOCA_N(char, (DFLT_SIZE+1));
|
1391
1394
|
memset(o_cfname, '\0', DFLT_SIZE+1);
|
1392
1395
|
|
1393
|
-
|
1396
|
+
uiqfnm__(i_cpara, o_cfname, (ftnlen)strlen(i_cpara), (ftnlen)DFLT_SIZE);
|
1394
1397
|
|
1395
1398
|
cfname = rb_str_new2(o_cfname);
|
1396
1399
|
|