ruby-dcl 1.7.1 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/grph1_sgpack.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 *);
|
@@ -75,7 +78,7 @@ dcl_sgopn(obj, iws)
|
|
75
78
|
i_iws = NUM2INT(iws);
|
76
79
|
|
77
80
|
|
78
|
-
|
81
|
+
sgopn__(&i_iws);
|
79
82
|
|
80
83
|
return Qnil;
|
81
84
|
|
@@ -85,7 +88,7 @@ static VALUE
|
|
85
88
|
dcl_sgfrm(obj)
|
86
89
|
VALUE obj;
|
87
90
|
{
|
88
|
-
|
91
|
+
sgfrm__();
|
89
92
|
|
90
93
|
return Qnil;
|
91
94
|
|
@@ -95,7 +98,7 @@ static VALUE
|
|
95
98
|
dcl_sgcls(obj)
|
96
99
|
VALUE obj;
|
97
100
|
{
|
98
|
-
|
101
|
+
sgcls__();
|
99
102
|
|
100
103
|
return Qnil;
|
101
104
|
|
@@ -108,7 +111,7 @@ dcl_sgpqnp(obj)
|
|
108
111
|
integer o_ncp;
|
109
112
|
VALUE ncp;
|
110
113
|
|
111
|
-
|
114
|
+
sgpqnp__(&o_ncp);
|
112
115
|
|
113
116
|
ncp = INT2NUM(o_ncp);
|
114
117
|
|
@@ -132,7 +135,7 @@ dcl_sgpqid(obj, cp)
|
|
132
135
|
i_cp = StringValuePtr(cp);
|
133
136
|
|
134
137
|
|
135
|
-
|
138
|
+
sgpqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
136
139
|
|
137
140
|
idx = INT2NUM(o_idx);
|
138
141
|
|
@@ -158,7 +161,7 @@ dcl_sgpqcp(obj, idx)
|
|
158
161
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
159
162
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
160
163
|
|
161
|
-
|
164
|
+
sgpqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
162
165
|
|
163
166
|
cp = rb_str_new2(o_cp);
|
164
167
|
|
@@ -184,7 +187,7 @@ dcl_sgpqcl(obj, idx)
|
|
184
187
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
185
188
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
186
189
|
|
187
|
-
|
190
|
+
sgpqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
188
191
|
|
189
192
|
cp = rb_str_new2(o_cp);
|
190
193
|
|
@@ -208,7 +211,7 @@ dcl_sgpqit(obj, idx)
|
|
208
211
|
i_idx = NUM2INT(idx);
|
209
212
|
|
210
213
|
|
211
|
-
|
214
|
+
sgpqit__(&i_idx, &o_itp);
|
212
215
|
|
213
216
|
itp = INT2NUM(o_itp);
|
214
217
|
|
@@ -232,7 +235,7 @@ dcl_sgpqvl(obj, idx)
|
|
232
235
|
i_idx = NUM2INT(idx);
|
233
236
|
|
234
237
|
|
235
|
-
|
238
|
+
sgpqvl__(&i_idx, &o_ipara);
|
236
239
|
|
237
240
|
ipara = INT2NUM(o_ipara);
|
238
241
|
|
@@ -259,7 +262,7 @@ dcl_sgpsvl(obj, idx, ipara)
|
|
259
262
|
i_ipara = NUM2INT(ipara);
|
260
263
|
|
261
264
|
|
262
|
-
|
265
|
+
sgpsvl__(&i_idx, &i_ipara);
|
263
266
|
|
264
267
|
return Qnil;
|
265
268
|
|
@@ -280,7 +283,7 @@ dcl_sgpqin(obj, cp)
|
|
280
283
|
i_cp = StringValuePtr(cp);
|
281
284
|
|
282
285
|
|
283
|
-
|
286
|
+
sgpqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
284
287
|
|
285
288
|
in = INT2NUM(o_in);
|
286
289
|
|
@@ -293,7 +296,7 @@ static VALUE
|
|
293
296
|
dcl_sgpwsn(obj)
|
294
297
|
VALUE obj;
|
295
298
|
{
|
296
|
-
|
299
|
+
sgpwsn__();
|
297
300
|
|
298
301
|
return Qnil;
|
299
302
|
|
@@ -327,7 +330,7 @@ dcl_sgsvpt(obj, vxmin, vxmax, vymin, vymax)
|
|
327
330
|
i_vymax = (real)NUM2DBL(vymax);
|
328
331
|
|
329
332
|
|
330
|
-
|
333
|
+
sgsvpt__(&i_vxmin, &i_vxmax, &i_vymin, &i_vymax);
|
331
334
|
|
332
335
|
return Qnil;
|
333
336
|
|
@@ -346,7 +349,7 @@ dcl_sgqvpt(obj)
|
|
346
349
|
VALUE vymin;
|
347
350
|
VALUE vymax;
|
348
351
|
|
349
|
-
|
352
|
+
sgqvpt__(&o_vxmin, &o_vxmax, &o_vymin, &o_vymax);
|
350
353
|
|
351
354
|
vxmin = rb_float_new((double)o_vxmin);
|
352
355
|
vxmax = rb_float_new((double)o_vxmax);
|
@@ -386,7 +389,7 @@ dcl_sgswnd(obj, uxmin, uxmax, uymin, uymax)
|
|
386
389
|
i_uymax = (real)NUM2DBL(uymax);
|
387
390
|
|
388
391
|
|
389
|
-
|
392
|
+
sgswnd__(&i_uxmin, &i_uxmax, &i_uymin, &i_uymax);
|
390
393
|
|
391
394
|
return Qnil;
|
392
395
|
|
@@ -405,7 +408,7 @@ dcl_sgqwnd(obj)
|
|
405
408
|
VALUE uymin;
|
406
409
|
VALUE uymax;
|
407
410
|
|
408
|
-
|
411
|
+
sgqwnd__(&o_uxmin, &o_uxmax, &o_uymin, &o_uymax);
|
409
412
|
|
410
413
|
uxmin = rb_float_new((double)o_uxmin);
|
411
414
|
uxmax = rb_float_new((double)o_uxmax);
|
@@ -440,7 +443,7 @@ dcl_sgssim(obj, simfac, vxoff, vyoff)
|
|
440
443
|
i_vyoff = (real)NUM2DBL(vyoff);
|
441
444
|
|
442
445
|
|
443
|
-
|
446
|
+
sgssim__(&i_simfac, &i_vxoff, &i_vyoff);
|
444
447
|
|
445
448
|
return Qnil;
|
446
449
|
|
@@ -457,7 +460,7 @@ dcl_sgqsim(obj)
|
|
457
460
|
VALUE vxoff;
|
458
461
|
VALUE vyoff;
|
459
462
|
|
460
|
-
|
463
|
+
sgqsim__(&o_simfac, &o_vxoff, &o_vyoff);
|
461
464
|
|
462
465
|
simfac = rb_float_new((double)o_simfac);
|
463
466
|
vxoff = rb_float_new((double)o_vxoff);
|
@@ -491,7 +494,7 @@ dcl_sgsmpl(obj, plx, ply, plrot)
|
|
491
494
|
i_plrot = (real)NUM2DBL(plrot);
|
492
495
|
|
493
496
|
|
494
|
-
|
497
|
+
sgsmpl__(&i_plx, &i_ply, &i_plrot);
|
495
498
|
|
496
499
|
return Qnil;
|
497
500
|
|
@@ -508,7 +511,7 @@ dcl_sgqmpl(obj)
|
|
508
511
|
VALUE ply;
|
509
512
|
VALUE plrot;
|
510
513
|
|
511
|
-
|
514
|
+
sgqmpl__(&o_plx, &o_ply, &o_plrot);
|
512
515
|
|
513
516
|
plx = rb_float_new((double)o_plx);
|
514
517
|
ply = rb_float_new((double)o_ply);
|
@@ -547,7 +550,7 @@ dcl_sgstxy(obj, txmin, txmax, tymin, tymax)
|
|
547
550
|
i_tymax = (real)NUM2DBL(tymax);
|
548
551
|
|
549
552
|
|
550
|
-
|
553
|
+
sgstxy__(&i_txmin, &i_txmax, &i_tymin, &i_tymax);
|
551
554
|
|
552
555
|
return Qnil;
|
553
556
|
|
@@ -566,7 +569,7 @@ dcl_sgqtxy(obj)
|
|
566
569
|
VALUE tymin;
|
567
570
|
VALUE tymax;
|
568
571
|
|
569
|
-
|
572
|
+
sgqtxy__(&o_txmin, &o_txmax, &o_tymin, &o_tymax);
|
570
573
|
|
571
574
|
txmin = rb_float_new((double)o_txmin);
|
572
575
|
txmax = rb_float_new((double)o_txmax);
|
@@ -591,7 +594,7 @@ dcl_sgstrn(obj, itr)
|
|
591
594
|
i_itr = NUM2INT(itr);
|
592
595
|
|
593
596
|
|
594
|
-
|
597
|
+
sgstrn__(&i_itr);
|
595
598
|
|
596
599
|
return Qnil;
|
597
600
|
|
@@ -604,7 +607,7 @@ dcl_sgqtrn(obj)
|
|
604
607
|
integer o_itr;
|
605
608
|
VALUE itr;
|
606
609
|
|
607
|
-
|
610
|
+
sgqtrn__(&o_itr);
|
608
611
|
|
609
612
|
itr = INT2NUM(o_itr);
|
610
613
|
|
@@ -617,7 +620,7 @@ static VALUE
|
|
617
620
|
dcl_sgstrf(obj)
|
618
621
|
VALUE obj;
|
619
622
|
{
|
620
|
-
|
623
|
+
sgstrf__();
|
621
624
|
|
622
625
|
return Qnil;
|
623
626
|
|
@@ -638,7 +641,7 @@ dcl_sgtrqf(obj, ntx)
|
|
638
641
|
i_ntx = NUM2INT(ntx);
|
639
642
|
|
640
643
|
|
641
|
-
|
644
|
+
sgtrqf__(&i_ntx, &o_ltr);
|
642
645
|
|
643
646
|
ltr = (o_ltr == FALSE_) ? Qfalse : Qtrue;
|
644
647
|
|
@@ -664,7 +667,7 @@ dcl_sgtrsl(obj, cts)
|
|
664
667
|
o_ctl= ALLOCA_N(char, (DFLT_SIZE+1));
|
665
668
|
memset(o_ctl, '\0', DFLT_SIZE+1);
|
666
669
|
|
667
|
-
|
670
|
+
sgtrsl__(i_cts, o_ctl, (ftnlen)strlen(i_cts), (ftnlen)DFLT_SIZE);
|
668
671
|
|
669
672
|
ctl = rb_str_new2(o_ctl);
|
670
673
|
|
@@ -688,7 +691,7 @@ dcl_sgtrsn(obj, cts)
|
|
688
691
|
i_cts = StringValuePtr(cts);
|
689
692
|
|
690
693
|
|
691
|
-
|
694
|
+
sgtrsn__(i_cts, &o_ntx, (ftnlen)strlen(i_cts));
|
692
695
|
|
693
696
|
ntx = INT2NUM(o_ntx);
|
694
697
|
|
@@ -714,7 +717,7 @@ dcl_sgtrls(obj, ctl)
|
|
714
717
|
o_cts= ALLOCA_N(char, (DFLT_SIZE+1));
|
715
718
|
memset(o_cts, '\0', DFLT_SIZE+1);
|
716
719
|
|
717
|
-
|
720
|
+
sgtrls__(i_ctl, o_cts, (ftnlen)strlen(i_ctl), (ftnlen)DFLT_SIZE);
|
718
721
|
|
719
722
|
cts = rb_str_new2(o_cts);
|
720
723
|
|
@@ -738,7 +741,7 @@ dcl_sgtrln(obj, ctl)
|
|
738
741
|
i_ctl = StringValuePtr(ctl);
|
739
742
|
|
740
743
|
|
741
|
-
|
744
|
+
sgtrln__(i_ctl, &o_ntx, (ftnlen)strlen(i_ctl));
|
742
745
|
|
743
746
|
ntx = INT2NUM(o_ntx);
|
744
747
|
|
@@ -764,7 +767,7 @@ dcl_sgtrns(obj, ntx)
|
|
764
767
|
o_cts= ALLOCA_N(char, (DFLT_SIZE+1));
|
765
768
|
memset(o_cts, '\0', DFLT_SIZE+1);
|
766
769
|
|
767
|
-
|
770
|
+
sgtrns__(&i_ntx, o_cts, (ftnlen)DFLT_SIZE);
|
768
771
|
|
769
772
|
cts = rb_str_new2(o_cts);
|
770
773
|
|
@@ -790,7 +793,7 @@ dcl_sgtrnl(obj, ntx)
|
|
790
793
|
o_ctl= ALLOCA_N(char, (DFLT_SIZE+1));
|
791
794
|
memset(o_ctl, '\0', DFLT_SIZE+1);
|
792
795
|
|
793
|
-
|
796
|
+
sgtrnl__(&i_ntx, o_ctl, (ftnlen)DFLT_SIZE);
|
794
797
|
|
795
798
|
ctl = rb_str_new2(o_ctl);
|
796
799
|
|
@@ -814,7 +817,7 @@ dcl_isgtrc(obj, ctr)
|
|
814
817
|
i_ctr = StringValuePtr(ctr);
|
815
818
|
|
816
819
|
|
817
|
-
o_rtn_val =
|
820
|
+
o_rtn_val = isgtrc__(i_ctr, (ftnlen)strlen(i_ctr));
|
818
821
|
|
819
822
|
rtn_val = INT2NUM(o_rtn_val);
|
820
823
|
|
@@ -854,7 +857,7 @@ dcl_sgplu(obj, n, upx, upy)
|
|
854
857
|
i_upy = dcl_obj2crealary(upy);
|
855
858
|
|
856
859
|
|
857
|
-
|
860
|
+
sgplu__(&i_n, i_upx, i_upy);
|
858
861
|
|
859
862
|
dcl_freecrealary(i_upx);
|
860
863
|
dcl_freecrealary(i_upy);
|
@@ -894,7 +897,7 @@ dcl_sgplv(obj, n, vpx, vpy)
|
|
894
897
|
i_vpy = dcl_obj2crealary(vpy);
|
895
898
|
|
896
899
|
|
897
|
-
|
900
|
+
sgplv__(&i_n, i_vpx, i_vpy);
|
898
901
|
|
899
902
|
dcl_freecrealary(i_vpx);
|
900
903
|
dcl_freecrealary(i_vpy);
|
@@ -934,7 +937,7 @@ dcl_sgplr(obj, n, rpx, rpy)
|
|
934
937
|
i_rpy = dcl_obj2crealary(rpy);
|
935
938
|
|
936
939
|
|
937
|
-
|
940
|
+
sgplr__(&i_n, i_rpx, i_rpy);
|
938
941
|
|
939
942
|
dcl_freecrealary(i_rpx);
|
940
943
|
dcl_freecrealary(i_rpy);
|
@@ -956,7 +959,7 @@ dcl_sgsplt(obj, itype)
|
|
956
959
|
i_itype = NUM2INT(itype);
|
957
960
|
|
958
961
|
|
959
|
-
|
962
|
+
sgsplt__(&i_itype);
|
960
963
|
|
961
964
|
return Qnil;
|
962
965
|
|
@@ -969,7 +972,7 @@ dcl_sgqplt(obj)
|
|
969
972
|
integer o_itype;
|
970
973
|
VALUE itype;
|
971
974
|
|
972
|
-
|
975
|
+
sgqplt__(&o_itype);
|
973
976
|
|
974
977
|
itype = INT2NUM(o_itype);
|
975
978
|
|
@@ -991,7 +994,7 @@ dcl_sgspli(obj, index)
|
|
991
994
|
i_index = NUM2INT(index);
|
992
995
|
|
993
996
|
|
994
|
-
|
997
|
+
sgspli__(&i_index);
|
995
998
|
|
996
999
|
return Qnil;
|
997
1000
|
|
@@ -1004,7 +1007,7 @@ dcl_sgqpli(obj)
|
|
1004
1007
|
integer o_index;
|
1005
1008
|
VALUE index;
|
1006
1009
|
|
1007
|
-
|
1010
|
+
sgqpli__(&o_index);
|
1008
1011
|
|
1009
1012
|
index = INT2NUM(o_index);
|
1010
1013
|
|
@@ -1054,7 +1057,7 @@ dcl_sgplzu(obj, n, upx, upy, itype, index)
|
|
1054
1057
|
i_upy = dcl_obj2crealary(upy);
|
1055
1058
|
|
1056
1059
|
|
1057
|
-
|
1060
|
+
sgplzu__(&i_n, i_upx, i_upy, &i_itype, &i_index);
|
1058
1061
|
|
1059
1062
|
dcl_freecrealary(i_upx);
|
1060
1063
|
dcl_freecrealary(i_upy);
|
@@ -1104,7 +1107,7 @@ dcl_sgplzv(obj, n, vpx, vpy, itype, index)
|
|
1104
1107
|
i_vpy = dcl_obj2crealary(vpy);
|
1105
1108
|
|
1106
1109
|
|
1107
|
-
|
1110
|
+
sgplzv__(&i_n, i_vpx, i_vpy, &i_itype, &i_index);
|
1108
1111
|
|
1109
1112
|
dcl_freecrealary(i_vpx);
|
1110
1113
|
dcl_freecrealary(i_vpy);
|
@@ -1154,7 +1157,7 @@ dcl_sgplzr(obj, n, rpx, rpy, itype, index)
|
|
1154
1157
|
i_rpy = dcl_obj2crealary(rpy);
|
1155
1158
|
|
1156
1159
|
|
1157
|
-
|
1160
|
+
sgplzr__(&i_n, i_rpx, i_rpy, &i_itype, &i_index);
|
1158
1161
|
|
1159
1162
|
dcl_freecrealary(i_rpx);
|
1160
1163
|
dcl_freecrealary(i_rpy);
|
@@ -1194,7 +1197,7 @@ dcl_sgpmu(obj, n, upx, upy)
|
|
1194
1197
|
i_upy = dcl_obj2crealary(upy);
|
1195
1198
|
|
1196
1199
|
|
1197
|
-
|
1200
|
+
sgpmu__(&i_n, i_upx, i_upy);
|
1198
1201
|
|
1199
1202
|
dcl_freecrealary(i_upx);
|
1200
1203
|
dcl_freecrealary(i_upy);
|
@@ -1234,7 +1237,7 @@ dcl_sgpmv(obj, n, vpx, vpy)
|
|
1234
1237
|
i_vpy = dcl_obj2crealary(vpy);
|
1235
1238
|
|
1236
1239
|
|
1237
|
-
|
1240
|
+
sgpmv__(&i_n, i_vpx, i_vpy);
|
1238
1241
|
|
1239
1242
|
dcl_freecrealary(i_vpx);
|
1240
1243
|
dcl_freecrealary(i_vpy);
|
@@ -1274,7 +1277,7 @@ dcl_sgpmr(obj, n, rpx, rpy)
|
|
1274
1277
|
i_rpy = dcl_obj2crealary(rpy);
|
1275
1278
|
|
1276
1279
|
|
1277
|
-
|
1280
|
+
sgpmr__(&i_n, i_rpx, i_rpy);
|
1278
1281
|
|
1279
1282
|
dcl_freecrealary(i_rpx);
|
1280
1283
|
dcl_freecrealary(i_rpy);
|
@@ -1296,7 +1299,7 @@ dcl_sgspmt(obj, itype)
|
|
1296
1299
|
i_itype = NUM2INT(itype);
|
1297
1300
|
|
1298
1301
|
|
1299
|
-
|
1302
|
+
sgspmt__(&i_itype);
|
1300
1303
|
|
1301
1304
|
return Qnil;
|
1302
1305
|
|
@@ -1309,7 +1312,7 @@ dcl_sgqpmt(obj)
|
|
1309
1312
|
integer o_itype;
|
1310
1313
|
VALUE itype;
|
1311
1314
|
|
1312
|
-
|
1315
|
+
sgqpmt__(&o_itype);
|
1313
1316
|
|
1314
1317
|
itype = INT2NUM(o_itype);
|
1315
1318
|
|
@@ -1331,7 +1334,7 @@ dcl_sgspmi(obj, index)
|
|
1331
1334
|
i_index = NUM2INT(index);
|
1332
1335
|
|
1333
1336
|
|
1334
|
-
|
1337
|
+
sgspmi__(&i_index);
|
1335
1338
|
|
1336
1339
|
return Qnil;
|
1337
1340
|
|
@@ -1344,7 +1347,7 @@ dcl_sgqpmi(obj)
|
|
1344
1347
|
integer o_index;
|
1345
1348
|
VALUE index;
|
1346
1349
|
|
1347
|
-
|
1350
|
+
sgqpmi__(&o_index);
|
1348
1351
|
|
1349
1352
|
index = INT2NUM(o_index);
|
1350
1353
|
|
@@ -1366,7 +1369,7 @@ dcl_sgspms(obj, rsize)
|
|
1366
1369
|
i_rsize = (real)NUM2DBL(rsize);
|
1367
1370
|
|
1368
1371
|
|
1369
|
-
|
1372
|
+
sgspms__(&i_rsize);
|
1370
1373
|
|
1371
1374
|
return Qnil;
|
1372
1375
|
|
@@ -1379,7 +1382,7 @@ dcl_sgqpms(obj)
|
|
1379
1382
|
real o_rsize;
|
1380
1383
|
VALUE rsize;
|
1381
1384
|
|
1382
|
-
|
1385
|
+
sgqpms__(&o_rsize);
|
1383
1386
|
|
1384
1387
|
rsize = rb_float_new((double)o_rsize);
|
1385
1388
|
|
@@ -1411,7 +1414,7 @@ dcl_sgtxu(obj, ux, uy, chars)
|
|
1411
1414
|
i_chars = StringValuePtr(chars);
|
1412
1415
|
|
1413
1416
|
|
1414
|
-
|
1417
|
+
sgtxu__(&i_ux, &i_uy, i_chars, (ftnlen)strlen(i_chars));
|
1415
1418
|
|
1416
1419
|
return Qnil;
|
1417
1420
|
|
@@ -1440,7 +1443,7 @@ dcl_sgtxv(obj, vx, vy, chars)
|
|
1440
1443
|
i_chars = StringValuePtr(chars);
|
1441
1444
|
|
1442
1445
|
|
1443
|
-
|
1446
|
+
sgtxv__(&i_vx, &i_vy, i_chars, (ftnlen)strlen(i_chars));
|
1444
1447
|
|
1445
1448
|
return Qnil;
|
1446
1449
|
|
@@ -1469,7 +1472,7 @@ dcl_sgtxr(obj, rx, ry, chars)
|
|
1469
1472
|
i_chars = StringValuePtr(chars);
|
1470
1473
|
|
1471
1474
|
|
1472
|
-
|
1475
|
+
sgtxr__(&i_rx, &i_ry, i_chars, (ftnlen)strlen(i_chars));
|
1473
1476
|
|
1474
1477
|
return Qnil;
|
1475
1478
|
|
@@ -1488,7 +1491,7 @@ dcl_sgstxs(obj, rsize)
|
|
1488
1491
|
i_rsize = (real)NUM2DBL(rsize);
|
1489
1492
|
|
1490
1493
|
|
1491
|
-
|
1494
|
+
sgstxs__(&i_rsize);
|
1492
1495
|
|
1493
1496
|
return Qnil;
|
1494
1497
|
|
@@ -1501,7 +1504,7 @@ dcl_sgqtxs(obj)
|
|
1501
1504
|
real o_rsize;
|
1502
1505
|
VALUE rsize;
|
1503
1506
|
|
1504
|
-
|
1507
|
+
sgqtxs__(&o_rsize);
|
1505
1508
|
|
1506
1509
|
rsize = rb_float_new((double)o_rsize);
|
1507
1510
|
|
@@ -1523,7 +1526,7 @@ dcl_sgstxr(obj, irota)
|
|
1523
1526
|
i_irota = NUM2INT(irota);
|
1524
1527
|
|
1525
1528
|
|
1526
|
-
|
1529
|
+
sgstxr__(&i_irota);
|
1527
1530
|
|
1528
1531
|
return Qnil;
|
1529
1532
|
|
@@ -1536,7 +1539,7 @@ dcl_sgqtxr(obj)
|
|
1536
1539
|
integer o_irota;
|
1537
1540
|
VALUE irota;
|
1538
1541
|
|
1539
|
-
|
1542
|
+
sgqtxr__(&o_irota);
|
1540
1543
|
|
1541
1544
|
irota = INT2NUM(o_irota);
|
1542
1545
|
|
@@ -1558,7 +1561,7 @@ dcl_sgstxc(obj, icent)
|
|
1558
1561
|
i_icent = NUM2INT(icent);
|
1559
1562
|
|
1560
1563
|
|
1561
|
-
|
1564
|
+
sgstxc__(&i_icent);
|
1562
1565
|
|
1563
1566
|
return Qnil;
|
1564
1567
|
|
@@ -1571,7 +1574,7 @@ dcl_sgqtxc(obj)
|
|
1571
1574
|
integer o_icent;
|
1572
1575
|
VALUE icent;
|
1573
1576
|
|
1574
|
-
|
1577
|
+
sgqtxc__(&o_icent);
|
1575
1578
|
|
1576
1579
|
icent = INT2NUM(o_icent);
|
1577
1580
|
|
@@ -1593,7 +1596,7 @@ dcl_sgstxi(obj, index)
|
|
1593
1596
|
i_index = NUM2INT(index);
|
1594
1597
|
|
1595
1598
|
|
1596
|
-
|
1599
|
+
sgstxi__(&i_index);
|
1597
1600
|
|
1598
1601
|
return Qnil;
|
1599
1602
|
|
@@ -1606,7 +1609,7 @@ dcl_sgqtxi(obj)
|
|
1606
1609
|
integer o_index;
|
1607
1610
|
VALUE index;
|
1608
1611
|
|
1609
|
-
|
1612
|
+
sgqtxi__(&o_index);
|
1610
1613
|
|
1611
1614
|
index = INT2NUM(o_index);
|
1612
1615
|
|
@@ -1661,7 +1664,7 @@ dcl_sgpmzu(obj, n, upx, upy, itype, index, rsize)
|
|
1661
1664
|
i_upy = dcl_obj2crealary(upy);
|
1662
1665
|
|
1663
1666
|
|
1664
|
-
|
1667
|
+
sgpmzu__(&i_n, i_upx, i_upy, &i_itype, &i_index, &i_rsize);
|
1665
1668
|
|
1666
1669
|
dcl_freecrealary(i_upx);
|
1667
1670
|
dcl_freecrealary(i_upy);
|
@@ -1716,7 +1719,7 @@ dcl_sgpmzv(obj, n, vpx, vpy, itype, index, rsize)
|
|
1716
1719
|
i_vpy = dcl_obj2crealary(vpy);
|
1717
1720
|
|
1718
1721
|
|
1719
|
-
|
1722
|
+
sgpmzv__(&i_n, i_vpx, i_vpy, &i_itype, &i_index, &i_rsize);
|
1720
1723
|
|
1721
1724
|
dcl_freecrealary(i_vpx);
|
1722
1725
|
dcl_freecrealary(i_vpy);
|
@@ -1771,7 +1774,7 @@ dcl_sgpmzr(obj, n, rpx, rpy, itype, index, rsize)
|
|
1771
1774
|
i_rpy = dcl_obj2crealary(rpy);
|
1772
1775
|
|
1773
1776
|
|
1774
|
-
|
1777
|
+
sgpmzr__(&i_n, i_rpx, i_rpy, &i_itype, &i_index, &i_rsize);
|
1775
1778
|
|
1776
1779
|
dcl_freecrealary(i_rpx);
|
1777
1780
|
dcl_freecrealary(i_rpy);
|
@@ -1823,7 +1826,7 @@ dcl_sgtxzu(obj, ux, uy, chars, rsize, irota, icent, index)
|
|
1823
1826
|
i_index = NUM2INT(index);
|
1824
1827
|
|
1825
1828
|
|
1826
|
-
|
1829
|
+
sgtxzu__(&i_ux, &i_uy, i_chars, &i_rsize, &i_irota, &i_icent, &i_index, (ftnlen)strlen(i_chars));
|
1827
1830
|
|
1828
1831
|
return Qnil;
|
1829
1832
|
|
@@ -1872,7 +1875,7 @@ dcl_sgtxzv(obj, vx, vy, chars, rsize, irota, icent, index)
|
|
1872
1875
|
i_index = NUM2INT(index);
|
1873
1876
|
|
1874
1877
|
|
1875
|
-
|
1878
|
+
sgtxzv__(&i_vx, &i_vy, i_chars, &i_rsize, &i_irota, &i_icent, &i_index, (ftnlen)strlen(i_chars));
|
1876
1879
|
|
1877
1880
|
return Qnil;
|
1878
1881
|
|
@@ -1921,7 +1924,7 @@ dcl_sgtxzr(obj, rx, ry, chars, rsize, irota, icent, index)
|
|
1921
1924
|
i_index = NUM2INT(index);
|
1922
1925
|
|
1923
1926
|
|
1924
|
-
|
1927
|
+
sgtxzr__(&i_rx, &i_ry, i_chars, &i_rsize, &i_irota, &i_icent, &i_index, (ftnlen)strlen(i_chars));
|
1925
1928
|
|
1926
1929
|
return Qnil;
|
1927
1930
|
|
@@ -1958,7 +1961,7 @@ dcl_sgtnu(obj, n, upx, upy)
|
|
1958
1961
|
i_upy = dcl_obj2crealary(upy);
|
1959
1962
|
|
1960
1963
|
|
1961
|
-
|
1964
|
+
sgtnu__(&i_n, i_upx, i_upy);
|
1962
1965
|
|
1963
1966
|
dcl_freecrealary(i_upx);
|
1964
1967
|
dcl_freecrealary(i_upy);
|
@@ -1998,7 +2001,7 @@ dcl_sgtnv(obj, n, vpx, vpy)
|
|
1998
2001
|
i_vpy = dcl_obj2crealary(vpy);
|
1999
2002
|
|
2000
2003
|
|
2001
|
-
|
2004
|
+
sgtnv__(&i_n, i_vpx, i_vpy);
|
2002
2005
|
|
2003
2006
|
dcl_freecrealary(i_vpx);
|
2004
2007
|
dcl_freecrealary(i_vpy);
|
@@ -2038,7 +2041,7 @@ dcl_sgtnr(obj, n, rpx, rpy)
|
|
2038
2041
|
i_rpy = dcl_obj2crealary(rpy);
|
2039
2042
|
|
2040
2043
|
|
2041
|
-
|
2044
|
+
sgtnr__(&i_n, i_rpx, i_rpy);
|
2042
2045
|
|
2043
2046
|
dcl_freecrealary(i_rpx);
|
2044
2047
|
dcl_freecrealary(i_rpy);
|
@@ -2060,7 +2063,7 @@ dcl_sgstnp(obj, itpat)
|
|
2060
2063
|
i_itpat = NUM2INT(itpat);
|
2061
2064
|
|
2062
2065
|
|
2063
|
-
|
2066
|
+
sgstnp__(&i_itpat);
|
2064
2067
|
|
2065
2068
|
return Qnil;
|
2066
2069
|
|
@@ -2073,7 +2076,7 @@ dcl_sgqtnp(obj)
|
|
2073
2076
|
integer o_itpat;
|
2074
2077
|
VALUE itpat;
|
2075
2078
|
|
2076
|
-
|
2079
|
+
sgqtnp__(&o_itpat);
|
2077
2080
|
|
2078
2081
|
itpat = INT2NUM(o_itpat);
|
2079
2082
|
|
@@ -2118,7 +2121,7 @@ dcl_sgtnzu(obj, n, upx, upy, itpat)
|
|
2118
2121
|
i_upy = dcl_obj2crealary(upy);
|
2119
2122
|
|
2120
2123
|
|
2121
|
-
|
2124
|
+
sgtnzu__(&i_n, i_upx, i_upy, &i_itpat);
|
2122
2125
|
|
2123
2126
|
dcl_freecrealary(i_upx);
|
2124
2127
|
dcl_freecrealary(i_upy);
|
@@ -2163,7 +2166,7 @@ dcl_sgtnzv(obj, n, vpx, vpy, itpat)
|
|
2163
2166
|
i_vpy = dcl_obj2crealary(vpy);
|
2164
2167
|
|
2165
2168
|
|
2166
|
-
|
2169
|
+
sgtnzv__(&i_n, i_vpx, i_vpy, &i_itpat);
|
2167
2170
|
|
2168
2171
|
dcl_freecrealary(i_vpx);
|
2169
2172
|
dcl_freecrealary(i_vpy);
|
@@ -2208,7 +2211,7 @@ dcl_sgtnzr(obj, n, rpx, rpy, itpat)
|
|
2208
2211
|
i_rpy = dcl_obj2crealary(rpy);
|
2209
2212
|
|
2210
2213
|
|
2211
|
-
|
2214
|
+
sgtnzr__(&i_n, i_rpx, i_rpy, &i_itpat);
|
2212
2215
|
|
2213
2216
|
dcl_freecrealary(i_rpx);
|
2214
2217
|
dcl_freecrealary(i_rpy);
|
@@ -2245,7 +2248,7 @@ dcl_sglnu(obj, ux1, uy1, ux2, uy2)
|
|
2245
2248
|
i_uy2 = (real)NUM2DBL(uy2);
|
2246
2249
|
|
2247
2250
|
|
2248
|
-
|
2251
|
+
sglnu__(&i_ux1, &i_uy1, &i_ux2, &i_uy2);
|
2249
2252
|
|
2250
2253
|
return Qnil;
|
2251
2254
|
|
@@ -2279,7 +2282,7 @@ dcl_sglnv(obj, vx1, vy1, vx2, vy2)
|
|
2279
2282
|
i_vy2 = (real)NUM2DBL(vy2);
|
2280
2283
|
|
2281
2284
|
|
2282
|
-
|
2285
|
+
sglnv__(&i_vx1, &i_vy1, &i_vx2, &i_vy2);
|
2283
2286
|
|
2284
2287
|
return Qnil;
|
2285
2288
|
|
@@ -2313,7 +2316,7 @@ dcl_sglnr(obj, rx1, ry1, rx2, ry2)
|
|
2313
2316
|
i_ry2 = (real)NUM2DBL(ry2);
|
2314
2317
|
|
2315
2318
|
|
2316
|
-
|
2319
|
+
sglnr__(&i_rx1, &i_ry1, &i_rx2, &i_ry2);
|
2317
2320
|
|
2318
2321
|
return Qnil;
|
2319
2322
|
|
@@ -2332,7 +2335,7 @@ dcl_sgslni(obj, index)
|
|
2332
2335
|
i_index = NUM2INT(index);
|
2333
2336
|
|
2334
2337
|
|
2335
|
-
|
2338
|
+
sgslni__(&i_index);
|
2336
2339
|
|
2337
2340
|
return Qnil;
|
2338
2341
|
|
@@ -2345,7 +2348,7 @@ dcl_sgqlni(obj)
|
|
2345
2348
|
integer o_index;
|
2346
2349
|
VALUE index;
|
2347
2350
|
|
2348
|
-
|
2351
|
+
sgqlni__(&o_index);
|
2349
2352
|
|
2350
2353
|
index = INT2NUM(o_index);
|
2351
2354
|
|
@@ -2387,7 +2390,7 @@ dcl_sglnzu(obj, ux1, uy1, ux2, uy2, index)
|
|
2387
2390
|
i_index = NUM2INT(index);
|
2388
2391
|
|
2389
2392
|
|
2390
|
-
|
2393
|
+
sglnzu__(&i_ux1, &i_uy1, &i_ux2, &i_uy2, &i_index);
|
2391
2394
|
|
2392
2395
|
return Qnil;
|
2393
2396
|
|
@@ -2426,7 +2429,7 @@ dcl_sglnzv(obj, vx1, vy1, vx2, vy2, index)
|
|
2426
2429
|
i_index = NUM2INT(index);
|
2427
2430
|
|
2428
2431
|
|
2429
|
-
|
2432
|
+
sglnzv__(&i_vx1, &i_vy1, &i_vx2, &i_vy2, &i_index);
|
2430
2433
|
|
2431
2434
|
return Qnil;
|
2432
2435
|
|
@@ -2465,7 +2468,7 @@ dcl_sglnzr(obj, rx1, ry1, rx2, ry2, index)
|
|
2465
2468
|
i_index = NUM2INT(index);
|
2466
2469
|
|
2467
2470
|
|
2468
|
-
|
2471
|
+
sglnzr__(&i_rx1, &i_ry1, &i_rx2, &i_ry2, &i_index);
|
2469
2472
|
|
2470
2473
|
return Qnil;
|
2471
2474
|
|
@@ -2499,7 +2502,7 @@ dcl_sglau(obj, ux1, uy1, ux2, uy2)
|
|
2499
2502
|
i_uy2 = (real)NUM2DBL(uy2);
|
2500
2503
|
|
2501
2504
|
|
2502
|
-
|
2505
|
+
sglau__(&i_ux1, &i_uy1, &i_ux2, &i_uy2);
|
2503
2506
|
|
2504
2507
|
return Qnil;
|
2505
2508
|
|
@@ -2533,7 +2536,7 @@ dcl_sglav(obj, vx1, vy1, vx2, vy2)
|
|
2533
2536
|
i_vy2 = (real)NUM2DBL(vy2);
|
2534
2537
|
|
2535
2538
|
|
2536
|
-
|
2539
|
+
sglav__(&i_vx1, &i_vy1, &i_vx2, &i_vy2);
|
2537
2540
|
|
2538
2541
|
return Qnil;
|
2539
2542
|
|
@@ -2567,7 +2570,7 @@ dcl_sglar(obj, rx1, ry1, rx2, ry2)
|
|
2567
2570
|
i_ry2 = (real)NUM2DBL(ry2);
|
2568
2571
|
|
2569
2572
|
|
2570
|
-
|
2573
|
+
sglar__(&i_rx1, &i_ry1, &i_rx2, &i_ry2);
|
2571
2574
|
|
2572
2575
|
return Qnil;
|
2573
2576
|
|
@@ -2586,7 +2589,7 @@ dcl_sgslat(obj, itype)
|
|
2586
2589
|
i_itype = NUM2INT(itype);
|
2587
2590
|
|
2588
2591
|
|
2589
|
-
|
2592
|
+
sgslat__(&i_itype);
|
2590
2593
|
|
2591
2594
|
return Qnil;
|
2592
2595
|
|
@@ -2599,7 +2602,7 @@ dcl_sgqlat(obj)
|
|
2599
2602
|
integer o_itype;
|
2600
2603
|
VALUE itype;
|
2601
2604
|
|
2602
|
-
|
2605
|
+
sgqlat__(&o_itype);
|
2603
2606
|
|
2604
2607
|
itype = INT2NUM(o_itype);
|
2605
2608
|
|
@@ -2621,7 +2624,7 @@ dcl_sgslai(obj, index)
|
|
2621
2624
|
i_index = NUM2INT(index);
|
2622
2625
|
|
2623
2626
|
|
2624
|
-
|
2627
|
+
sgslai__(&i_index);
|
2625
2628
|
|
2626
2629
|
return Qnil;
|
2627
2630
|
|
@@ -2634,7 +2637,7 @@ dcl_sgqlai(obj)
|
|
2634
2637
|
integer o_index;
|
2635
2638
|
VALUE index;
|
2636
2639
|
|
2637
|
-
|
2640
|
+
sgqlai__(&o_index);
|
2638
2641
|
|
2639
2642
|
index = INT2NUM(o_index);
|
2640
2643
|
|
@@ -2681,7 +2684,7 @@ dcl_sglazu(obj, ux1, uy1, ux2, uy2, itype, index)
|
|
2681
2684
|
i_index = NUM2INT(index);
|
2682
2685
|
|
2683
2686
|
|
2684
|
-
|
2687
|
+
sglazu__(&i_ux1, &i_uy1, &i_ux2, &i_uy2, &i_itype, &i_index);
|
2685
2688
|
|
2686
2689
|
return Qnil;
|
2687
2690
|
|
@@ -2725,7 +2728,7 @@ dcl_sglazv(obj, vx1, vy1, vx2, vy2, itype, index)
|
|
2725
2728
|
i_index = NUM2INT(index);
|
2726
2729
|
|
2727
2730
|
|
2728
|
-
|
2731
|
+
sglazv__(&i_vx1, &i_vy1, &i_vx2, &i_vy2, &i_itype, &i_index);
|
2729
2732
|
|
2730
2733
|
return Qnil;
|
2731
2734
|
|
@@ -2769,7 +2772,7 @@ dcl_sglazr(obj, rx1, ry1, rx2, ry2, itype, index)
|
|
2769
2772
|
i_index = NUM2INT(index);
|
2770
2773
|
|
2771
2774
|
|
2772
|
-
|
2775
|
+
sglazr__(&i_rx1, &i_ry1, &i_rx2, &i_ry2, &i_itype, &i_index);
|
2773
2776
|
|
2774
2777
|
return Qnil;
|
2775
2778
|
|
@@ -2788,7 +2791,7 @@ dcl_sgsplc(obj, charx)
|
|
2788
2791
|
i_charx = StringValuePtr(charx);
|
2789
2792
|
|
2790
2793
|
|
2791
|
-
|
2794
|
+
sgsplc__(i_charx, (ftnlen)strlen(i_charx));
|
2792
2795
|
|
2793
2796
|
return Qnil;
|
2794
2797
|
|
@@ -2804,7 +2807,7 @@ dcl_sgqplc(obj)
|
|
2804
2807
|
o_charx= ALLOCA_N(char, (DFLT_SIZE+1));
|
2805
2808
|
memset(o_charx, '\0', DFLT_SIZE+1);
|
2806
2809
|
|
2807
|
-
|
2810
|
+
sgqplc__(o_charx, (ftnlen)DFLT_SIZE);
|
2808
2811
|
|
2809
2812
|
charx = rb_str_new2(o_charx);
|
2810
2813
|
|
@@ -2826,7 +2829,7 @@ dcl_sgspls(obj, rsize)
|
|
2826
2829
|
i_rsize = (real)NUM2DBL(rsize);
|
2827
2830
|
|
2828
2831
|
|
2829
|
-
|
2832
|
+
sgspls__(&i_rsize);
|
2830
2833
|
|
2831
2834
|
return Qnil;
|
2832
2835
|
|
@@ -2839,7 +2842,7 @@ dcl_sgqpls(obj)
|
|
2839
2842
|
real o_rsize;
|
2840
2843
|
VALUE rsize;
|
2841
2844
|
|
2842
|
-
|
2845
|
+
sgqpls__(&o_rsize);
|
2843
2846
|
|
2844
2847
|
rsize = rb_float_new((double)o_rsize);
|
2845
2848
|
|
@@ -2852,7 +2855,7 @@ static VALUE
|
|
2852
2855
|
dcl_sgnplc(obj)
|
2853
2856
|
VALUE obj;
|
2854
2857
|
{
|
2855
|
-
|
2858
|
+
sgnplc__();
|
2856
2859
|
|
2857
2860
|
return Qnil;
|
2858
2861
|
|
@@ -2873,7 +2876,7 @@ dcl_sgiget(obj, cp)
|
|
2873
2876
|
i_cp = StringValuePtr(cp);
|
2874
2877
|
|
2875
2878
|
|
2876
|
-
|
2879
|
+
sgiget__(i_cp, &o_ipara, (ftnlen)strlen(i_cp));
|
2877
2880
|
|
2878
2881
|
ipara = INT2NUM(o_ipara);
|
2879
2882
|
|
@@ -2900,7 +2903,7 @@ dcl_sgiset(obj, cp, ipara)
|
|
2900
2903
|
i_ipara = NUM2INT(ipara);
|
2901
2904
|
|
2902
2905
|
|
2903
|
-
|
2906
|
+
sgiset__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
|
2904
2907
|
|
2905
2908
|
return Qnil;
|
2906
2909
|
|
@@ -2924,7 +2927,7 @@ dcl_sgistx(obj, cp, ipara)
|
|
2924
2927
|
i_ipara = NUM2INT(ipara);
|
2925
2928
|
|
2926
2929
|
|
2927
|
-
|
2930
|
+
sgistx__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
|
2928
2931
|
|
2929
2932
|
return Qnil;
|
2930
2933
|
|
@@ -2937,7 +2940,7 @@ dcl_sgiqnp(obj)
|
|
2937
2940
|
integer o_ncp;
|
2938
2941
|
VALUE ncp;
|
2939
2942
|
|
2940
|
-
|
2943
|
+
sgiqnp__(&o_ncp);
|
2941
2944
|
|
2942
2945
|
ncp = INT2NUM(o_ncp);
|
2943
2946
|
|
@@ -2961,7 +2964,7 @@ dcl_sgiqid(obj, cp)
|
|
2961
2964
|
i_cp = StringValuePtr(cp);
|
2962
2965
|
|
2963
2966
|
|
2964
|
-
|
2967
|
+
sgiqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
2965
2968
|
|
2966
2969
|
idx = INT2NUM(o_idx);
|
2967
2970
|
|
@@ -2987,7 +2990,7 @@ dcl_sgiqcp(obj, idx)
|
|
2987
2990
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
2988
2991
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
2989
2992
|
|
2990
|
-
|
2993
|
+
sgiqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
2991
2994
|
|
2992
2995
|
cp = rb_str_new2(o_cp);
|
2993
2996
|
|
@@ -3013,7 +3016,7 @@ dcl_sgiqcl(obj, idx)
|
|
3013
3016
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
3014
3017
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
3015
3018
|
|
3016
|
-
|
3019
|
+
sgiqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
3017
3020
|
|
3018
3021
|
cp = rb_str_new2(o_cp);
|
3019
3022
|
|
@@ -3037,7 +3040,7 @@ dcl_sgiqvl(obj, idx)
|
|
3037
3040
|
i_idx = NUM2INT(idx);
|
3038
3041
|
|
3039
3042
|
|
3040
|
-
|
3043
|
+
sgiqvl__(&i_idx, &o_ipara);
|
3041
3044
|
|
3042
3045
|
ipara = INT2NUM(o_ipara);
|
3043
3046
|
|
@@ -3064,7 +3067,7 @@ dcl_sgisvl(obj, idx, ipara)
|
|
3064
3067
|
i_ipara = NUM2INT(ipara);
|
3065
3068
|
|
3066
3069
|
|
3067
|
-
|
3070
|
+
sgisvl__(&i_idx, &i_ipara);
|
3068
3071
|
|
3069
3072
|
return Qnil;
|
3070
3073
|
|
@@ -3085,7 +3088,7 @@ dcl_sgiqin(obj, cp)
|
|
3085
3088
|
i_cp = StringValuePtr(cp);
|
3086
3089
|
|
3087
3090
|
|
3088
|
-
|
3091
|
+
sgiqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
3089
3092
|
|
3090
3093
|
in = INT2NUM(o_in);
|
3091
3094
|
|
@@ -3109,7 +3112,7 @@ dcl_sglget(obj, cp)
|
|
3109
3112
|
i_cp = StringValuePtr(cp);
|
3110
3113
|
|
3111
3114
|
|
3112
|
-
|
3115
|
+
sglget__(i_cp, &o_lpara, (ftnlen)strlen(i_cp));
|
3113
3116
|
|
3114
3117
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
3115
3118
|
|
@@ -3133,7 +3136,7 @@ dcl_sglset(obj, cp, lpara)
|
|
3133
3136
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
3134
3137
|
|
3135
3138
|
|
3136
|
-
|
3139
|
+
sglset__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
|
3137
3140
|
|
3138
3141
|
return Qnil;
|
3139
3142
|
|
@@ -3154,7 +3157,7 @@ dcl_sglstx(obj, cp, lpara)
|
|
3154
3157
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
3155
3158
|
|
3156
3159
|
|
3157
|
-
|
3160
|
+
sglstx__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
|
3158
3161
|
|
3159
3162
|
return Qnil;
|
3160
3163
|
|
@@ -3167,7 +3170,7 @@ dcl_sglqnp(obj)
|
|
3167
3170
|
integer o_ncp;
|
3168
3171
|
VALUE ncp;
|
3169
3172
|
|
3170
|
-
|
3173
|
+
sglqnp__(&o_ncp);
|
3171
3174
|
|
3172
3175
|
ncp = INT2NUM(o_ncp);
|
3173
3176
|
|
@@ -3191,7 +3194,7 @@ dcl_sglqid(obj, cp)
|
|
3191
3194
|
i_cp = StringValuePtr(cp);
|
3192
3195
|
|
3193
3196
|
|
3194
|
-
|
3197
|
+
sglqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
3195
3198
|
|
3196
3199
|
idx = INT2NUM(o_idx);
|
3197
3200
|
|
@@ -3217,7 +3220,7 @@ dcl_sglqcp(obj, idx)
|
|
3217
3220
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
3218
3221
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
3219
3222
|
|
3220
|
-
|
3223
|
+
sglqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
3221
3224
|
|
3222
3225
|
cp = rb_str_new2(o_cp);
|
3223
3226
|
|
@@ -3243,7 +3246,7 @@ dcl_sglqcl(obj, idx)
|
|
3243
3246
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
3244
3247
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
3245
3248
|
|
3246
|
-
|
3249
|
+
sglqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
3247
3250
|
|
3248
3251
|
cp = rb_str_new2(o_cp);
|
3249
3252
|
|
@@ -3267,7 +3270,7 @@ dcl_sglqvl(obj, idx)
|
|
3267
3270
|
i_idx = NUM2INT(idx);
|
3268
3271
|
|
3269
3272
|
|
3270
|
-
|
3273
|
+
sglqvl__(&i_idx, &o_lpara);
|
3271
3274
|
|
3272
3275
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
3273
3276
|
|
@@ -3291,7 +3294,7 @@ dcl_sglsvl(obj, idx, lpara)
|
|
3291
3294
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
3292
3295
|
|
3293
3296
|
|
3294
|
-
|
3297
|
+
sglsvl__(&i_idx, &i_lpara);
|
3295
3298
|
|
3296
3299
|
return Qnil;
|
3297
3300
|
|
@@ -3312,7 +3315,7 @@ dcl_sglqin(obj, cp)
|
|
3312
3315
|
i_cp = StringValuePtr(cp);
|
3313
3316
|
|
3314
3317
|
|
3315
|
-
|
3318
|
+
sglqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
3316
3319
|
|
3317
3320
|
in = INT2NUM(o_in);
|
3318
3321
|
|
@@ -3339,7 +3342,7 @@ dcl_sgoopn(obj, cprc, com)
|
|
3339
3342
|
i_com = StringValuePtr(com);
|
3340
3343
|
|
3341
3344
|
|
3342
|
-
|
3345
|
+
sgoopn__(i_cprc, i_com, (ftnlen)strlen(i_cprc), (ftnlen)strlen(i_com));
|
3343
3346
|
|
3344
3347
|
return Qnil;
|
3345
3348
|
|
@@ -3358,7 +3361,7 @@ dcl_sgocls(obj, cprc)
|
|
3358
3361
|
i_cprc = StringValuePtr(cprc);
|
3359
3362
|
|
3360
3363
|
|
3361
|
-
|
3364
|
+
sgocls__(i_cprc, (ftnlen)strlen(i_cprc));
|
3362
3365
|
|
3363
3366
|
return Qnil;
|
3364
3367
|
|
@@ -3379,7 +3382,7 @@ dcl_sgrget(obj, cp)
|
|
3379
3382
|
i_cp = StringValuePtr(cp);
|
3380
3383
|
|
3381
3384
|
|
3382
|
-
|
3385
|
+
sgrget__(i_cp, &o_rpara, (ftnlen)strlen(i_cp));
|
3383
3386
|
|
3384
3387
|
rpara = rb_float_new((double)o_rpara);
|
3385
3388
|
|
@@ -3406,7 +3409,7 @@ dcl_sgrset(obj, cp, rpara)
|
|
3406
3409
|
i_rpara = (real)NUM2DBL(rpara);
|
3407
3410
|
|
3408
3411
|
|
3409
|
-
|
3412
|
+
sgrset__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
|
3410
3413
|
|
3411
3414
|
return Qnil;
|
3412
3415
|
|
@@ -3430,7 +3433,7 @@ dcl_sgrstx(obj, cp, rpara)
|
|
3430
3433
|
i_rpara = (real)NUM2DBL(rpara);
|
3431
3434
|
|
3432
3435
|
|
3433
|
-
|
3436
|
+
sgrstx__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
|
3434
3437
|
|
3435
3438
|
return Qnil;
|
3436
3439
|
|
@@ -3443,7 +3446,7 @@ dcl_sgrqnp(obj)
|
|
3443
3446
|
integer o_ncp;
|
3444
3447
|
VALUE ncp;
|
3445
3448
|
|
3446
|
-
|
3449
|
+
sgrqnp__(&o_ncp);
|
3447
3450
|
|
3448
3451
|
ncp = INT2NUM(o_ncp);
|
3449
3452
|
|
@@ -3467,7 +3470,7 @@ dcl_sgrqid(obj, cp)
|
|
3467
3470
|
i_cp = StringValuePtr(cp);
|
3468
3471
|
|
3469
3472
|
|
3470
|
-
|
3473
|
+
sgrqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
3471
3474
|
|
3472
3475
|
idx = INT2NUM(o_idx);
|
3473
3476
|
|
@@ -3493,7 +3496,7 @@ dcl_sgrqcp(obj, idx)
|
|
3493
3496
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
3494
3497
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
3495
3498
|
|
3496
|
-
|
3499
|
+
sgrqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
3497
3500
|
|
3498
3501
|
cp = rb_str_new2(o_cp);
|
3499
3502
|
|
@@ -3519,7 +3522,7 @@ dcl_sgrqcl(obj, idx)
|
|
3519
3522
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
3520
3523
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
3521
3524
|
|
3522
|
-
|
3525
|
+
sgrqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
3523
3526
|
|
3524
3527
|
cp = rb_str_new2(o_cp);
|
3525
3528
|
|
@@ -3543,7 +3546,7 @@ dcl_sgrqvl(obj, idx)
|
|
3543
3546
|
i_idx = NUM2INT(idx);
|
3544
3547
|
|
3545
3548
|
|
3546
|
-
|
3549
|
+
sgrqvl__(&i_idx, &o_rpara);
|
3547
3550
|
|
3548
3551
|
rpara = rb_float_new((double)o_rpara);
|
3549
3552
|
|
@@ -3570,7 +3573,7 @@ dcl_sgrsvl(obj, idx, rpara)
|
|
3570
3573
|
i_rpara = (real)NUM2DBL(rpara);
|
3571
3574
|
|
3572
3575
|
|
3573
|
-
|
3576
|
+
sgrsvl__(&i_idx, &i_rpara);
|
3574
3577
|
|
3575
3578
|
return Qnil;
|
3576
3579
|
|
@@ -3591,7 +3594,7 @@ dcl_sgrqin(obj, cp)
|
|
3591
3594
|
i_cp = StringValuePtr(cp);
|
3592
3595
|
|
3593
3596
|
|
3594
|
-
|
3597
|
+
sgrqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
3595
3598
|
|
3596
3599
|
in = INT2NUM(o_in);
|
3597
3600
|
|
@@ -3606,7 +3609,7 @@ static VALUE
|
|
3606
3609
|
dcl_sgpcmd(obj)
|
3607
3610
|
VALUE obj;
|
3608
3611
|
{
|
3609
|
-
|
3612
|
+
sgpcmd__();
|
3610
3613
|
|
3611
3614
|
return Qnil;
|
3612
3615
|
|
@@ -3629,7 +3632,7 @@ dcl_sgscmn(obj, nc)
|
|
3629
3632
|
i_nc = NUM2INT(nc);
|
3630
3633
|
|
3631
3634
|
|
3632
|
-
|
3635
|
+
sgscmn__(&i_nc);
|
3633
3636
|
|
3634
3637
|
return Qnil;
|
3635
3638
|
|
@@ -3646,7 +3649,7 @@ dcl_sgqcmn(obj)
|
|
3646
3649
|
integer o_nmax;
|
3647
3650
|
VALUE nmax;
|
3648
3651
|
|
3649
|
-
|
3652
|
+
sgqcmn__(&o_nmax);
|
3650
3653
|
|
3651
3654
|
nmax = INT2NUM(o_nmax);
|
3652
3655
|
|
@@ -3687,7 +3690,7 @@ dcl_sgscwd(obj, cxmin, cxmax, cymin, cymax)
|
|
3687
3690
|
i_cymax = (real)NUM2DBL(cymax);
|
3688
3691
|
|
3689
3692
|
|
3690
|
-
|
3693
|
+
sgscwd__(&i_cxmin, &i_cxmax, &i_cymin, &i_cymax);
|
3691
3694
|
|
3692
3695
|
return Qnil;
|
3693
3696
|
|
@@ -3710,7 +3713,7 @@ dcl_sgqcwd(obj)
|
|
3710
3713
|
VALUE cymin;
|
3711
3714
|
VALUE cymax;
|
3712
3715
|
|
3713
|
-
|
3716
|
+
sgqcwd__(&o_cxmin, &o_cxmax, &o_cymin, &o_cymax);
|
3714
3717
|
|
3715
3718
|
cxmin = rb_float_new((double)o_cxmin);
|
3716
3719
|
cxmax = rb_float_new((double)o_cxmax);
|
@@ -3751,7 +3754,7 @@ dcl_isgrgb(obj, ir, ig, ib)
|
|
3751
3754
|
i_ib = NUM2INT(ib);
|
3752
3755
|
|
3753
3756
|
|
3754
|
-
o_rtn_val =
|
3757
|
+
o_rtn_val = isgrgb__(&i_ir, &i_ig, &i_ib);
|
3755
3758
|
|
3756
3759
|
rtn_val = INT2NUM(o_rtn_val);
|
3757
3760
|
|
@@ -3777,7 +3780,7 @@ dcl_sgclst(obj, ccfile)
|
|
3777
3780
|
i_ccfile = StringValuePtr(ccfile);
|
3778
3781
|
|
3779
3782
|
|
3780
|
-
|
3783
|
+
sgclst__(i_ccfile, (ftnlen)strlen(i_ccfile));
|
3781
3784
|
|
3782
3785
|
return Qnil;
|
3783
3786
|
|
@@ -3806,7 +3809,7 @@ dcl_sgqcl(obj, num)
|
|
3806
3809
|
i_num = NUM2INT(num);
|
3807
3810
|
|
3808
3811
|
|
3809
|
-
|
3812
|
+
sgqcl__(&i_num, &o_nr, &o_ng, &o_nb);
|
3810
3813
|
|
3811
3814
|
nr = INT2NUM(o_nr);
|
3812
3815
|
ng = INT2NUM(o_ng);
|
@@ -3867,7 +3870,7 @@ dcl_sgplxu(obj, n, upx, upy, itype, index, icolor)
|
|
3867
3870
|
i_upy = dcl_obj2crealary(upy);
|
3868
3871
|
|
3869
3872
|
|
3870
|
-
|
3873
|
+
sgplxu__(&i_n, i_upx, i_upy, &i_itype, &i_index, &i_icolor);
|
3871
3874
|
|
3872
3875
|
dcl_freecrealary(i_upx);
|
3873
3876
|
dcl_freecrealary(i_upy);
|
@@ -3926,7 +3929,7 @@ dcl_sgplxv(obj, n, vpx, vpy, itype, index, icolor)
|
|
3926
3929
|
i_vpy = dcl_obj2crealary(vpy);
|
3927
3930
|
|
3928
3931
|
|
3929
|
-
|
3932
|
+
sgplxv__(&i_n, i_vpx, i_vpy, &i_itype, &i_index, &i_icolor);
|
3930
3933
|
|
3931
3934
|
dcl_freecrealary(i_vpx);
|
3932
3935
|
dcl_freecrealary(i_vpy);
|
@@ -3985,7 +3988,7 @@ dcl_sgplxr(obj, n, rpx, rpy, itype, index, icolor)
|
|
3985
3988
|
i_rpy = dcl_obj2crealary(rpy);
|
3986
3989
|
|
3987
3990
|
|
3988
|
-
|
3991
|
+
sgplxr__(&i_n, i_rpx, i_rpy, &i_itype, &i_index, &i_icolor);
|
3989
3992
|
|
3990
3993
|
dcl_freecrealary(i_rpx);
|
3991
3994
|
dcl_freecrealary(i_rpy);
|
@@ -4049,7 +4052,7 @@ dcl_sgpmxu(obj, n, upx, upy, itype, index, icolor, rsize)
|
|
4049
4052
|
i_upy = dcl_obj2crealary(upy);
|
4050
4053
|
|
4051
4054
|
|
4052
|
-
|
4055
|
+
sgpmxu__(&i_n, i_upx, i_upy, &i_itype, &i_index, &i_icolor, &i_rsize);
|
4053
4056
|
|
4054
4057
|
dcl_freecrealary(i_upx);
|
4055
4058
|
dcl_freecrealary(i_upy);
|
@@ -4113,7 +4116,7 @@ dcl_sgpmxv(obj, n, vpx, vpy, itype, index, icolor, rsize)
|
|
4113
4116
|
i_vpy = dcl_obj2crealary(vpy);
|
4114
4117
|
|
4115
4118
|
|
4116
|
-
|
4119
|
+
sgpmxv__(&i_n, i_vpx, i_vpy, &i_itype, &i_index, &i_icolor, &i_rsize);
|
4117
4120
|
|
4118
4121
|
dcl_freecrealary(i_vpx);
|
4119
4122
|
dcl_freecrealary(i_vpy);
|
@@ -4177,7 +4180,7 @@ dcl_sgpmxr(obj, n, rpx, rpy, itype, index, icolor, rsize)
|
|
4177
4180
|
i_rpy = dcl_obj2crealary(rpy);
|
4178
4181
|
|
4179
4182
|
|
4180
|
-
|
4183
|
+
sgpmxr__(&i_n, i_rpx, i_rpy, &i_itype, &i_index, &i_icolor, &i_rsize);
|
4181
4184
|
|
4182
4185
|
dcl_freecrealary(i_rpx);
|
4183
4186
|
dcl_freecrealary(i_rpy);
|
@@ -4238,7 +4241,7 @@ dcl_sgtxxu(obj, ux, uy, chars, rsize, irota, icent, index, icolor)
|
|
4238
4241
|
i_icolor = NUM2INT(icolor);
|
4239
4242
|
|
4240
4243
|
|
4241
|
-
|
4244
|
+
sgtxxu__(&i_ux, &i_uy, i_chars, &i_rsize, &i_irota, &i_icent, &i_index, &i_icolor, (ftnlen)strlen(i_chars));
|
4242
4245
|
|
4243
4246
|
return Qnil;
|
4244
4247
|
|
@@ -4296,7 +4299,7 @@ dcl_sgtxxv(obj, vx, vy, chars, rsize, irota, icent, index, icolor)
|
|
4296
4299
|
i_icolor = NUM2INT(icolor);
|
4297
4300
|
|
4298
4301
|
|
4299
|
-
|
4302
|
+
sgtxxv__(&i_vx, &i_vy, i_chars, &i_rsize, &i_irota, &i_icent, &i_index, &i_icolor, (ftnlen)strlen(i_chars));
|
4300
4303
|
|
4301
4304
|
return Qnil;
|
4302
4305
|
|
@@ -4354,7 +4357,7 @@ dcl_sgtxxr(obj, rx, ry, chars, rsize, irota, icent, index, icolor)
|
|
4354
4357
|
i_icolor = NUM2INT(icolor);
|
4355
4358
|
|
4356
4359
|
|
4357
|
-
|
4360
|
+
sgtxxr__(&i_rx, &i_ry, i_chars, &i_rsize, &i_irota, &i_icent, &i_index, &i_icolor, (ftnlen)strlen(i_chars));
|
4358
4361
|
|
4359
4362
|
return Qnil;
|
4360
4363
|
|
@@ -4405,7 +4408,7 @@ dcl_sgtnxu(obj, n, upx, upy, itpat, icolor)
|
|
4405
4408
|
i_upy = dcl_obj2crealary(upy);
|
4406
4409
|
|
4407
4410
|
|
4408
|
-
|
4411
|
+
sgtnxu__(&i_n, i_upx, i_upy, &i_itpat, &i_icolor);
|
4409
4412
|
|
4410
4413
|
dcl_freecrealary(i_upx);
|
4411
4414
|
dcl_freecrealary(i_upy);
|
@@ -4459,7 +4462,7 @@ dcl_sgtnxv(obj, n, vpx, vpy, itpat, icolor)
|
|
4459
4462
|
i_vpy = dcl_obj2crealary(vpy);
|
4460
4463
|
|
4461
4464
|
|
4462
|
-
|
4465
|
+
sgtnxv__(&i_n, i_vpx, i_vpy, &i_itpat, &i_icolor);
|
4463
4466
|
|
4464
4467
|
dcl_freecrealary(i_vpx);
|
4465
4468
|
dcl_freecrealary(i_vpy);
|
@@ -4513,7 +4516,7 @@ dcl_sgtnxr(obj, n, rpx, rpy, itpat, icolor)
|
|
4513
4516
|
i_rpy = dcl_obj2crealary(rpy);
|
4514
4517
|
|
4515
4518
|
|
4516
|
-
|
4519
|
+
sgtnxr__(&i_n, i_rpx, i_rpy, &i_itpat, &i_icolor);
|
4517
4520
|
|
4518
4521
|
dcl_freecrealary(i_rpx);
|
4519
4522
|
dcl_freecrealary(i_rpy);
|
@@ -4564,7 +4567,7 @@ dcl_sglnxu(obj, ux1, uy1, ux2, uy2, index, icolor)
|
|
4564
4567
|
i_icolor = NUM2INT(icolor);
|
4565
4568
|
|
4566
4569
|
|
4567
|
-
|
4570
|
+
sglnxu__(&i_ux1, &i_uy1, &i_ux2, &i_uy2, &i_index, &i_icolor);
|
4568
4571
|
|
4569
4572
|
return Qnil;
|
4570
4573
|
|
@@ -4612,7 +4615,7 @@ dcl_sglnxv(obj, vx1, vy1, vx2, vy2, index, icolor)
|
|
4612
4615
|
i_icolor = NUM2INT(icolor);
|
4613
4616
|
|
4614
4617
|
|
4615
|
-
|
4618
|
+
sglnxv__(&i_vx1, &i_vy1, &i_vx2, &i_vy2, &i_index, &i_icolor);
|
4616
4619
|
|
4617
4620
|
return Qnil;
|
4618
4621
|
|
@@ -4660,7 +4663,7 @@ dcl_sglnxr(obj, rx1, ry1, rx2, ry2, index, icolor)
|
|
4660
4663
|
i_icolor = NUM2INT(icolor);
|
4661
4664
|
|
4662
4665
|
|
4663
|
-
|
4666
|
+
sglnxr__(&i_rx1, &i_ry1, &i_rx2, &i_ry2, &i_index, &i_icolor);
|
4664
4667
|
|
4665
4668
|
return Qnil;
|
4666
4669
|
|
@@ -4713,7 +4716,7 @@ dcl_sglaxu(obj, ux1, uy1, ux2, uy2, itype, index, icolor)
|
|
4713
4716
|
i_icolor = NUM2INT(icolor);
|
4714
4717
|
|
4715
4718
|
|
4716
|
-
|
4719
|
+
sglaxu__(&i_ux1, &i_uy1, &i_ux2, &i_uy2, &i_itype, &i_index, &i_icolor);
|
4717
4720
|
|
4718
4721
|
return Qnil;
|
4719
4722
|
|
@@ -4766,7 +4769,7 @@ dcl_sglaxv(obj, vx1, vy1, vx2, vy2, itype, index, icolor)
|
|
4766
4769
|
i_icolor = NUM2INT(icolor);
|
4767
4770
|
|
4768
4771
|
|
4769
|
-
|
4772
|
+
sglaxv__(&i_vx1, &i_vy1, &i_vx2, &i_vy2, &i_itype, &i_index, &i_icolor);
|
4770
4773
|
|
4771
4774
|
return Qnil;
|
4772
4775
|
|
@@ -4819,7 +4822,7 @@ dcl_sglaxr(obj, rx1, ry1, rx2, ry2, itype, index, icolor)
|
|
4819
4822
|
i_icolor = NUM2INT(icolor);
|
4820
4823
|
|
4821
4824
|
|
4822
|
-
|
4825
|
+
sglaxr__(&i_rx1, &i_ry1, &i_rx2, &i_ry2, &i_itype, &i_index, &i_icolor);
|
4823
4826
|
|
4824
4827
|
return Qnil;
|
4825
4828
|
|