ruby-dcl 1.8.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 +97 -14
- data/LICENSE.txt +1 -1
- data/demo/gokuraku/jump/jump2.rb +1 -1
- data/demo/grph1/sgpack/sgfont.rb +1 -1
- data/demo/grph1/sgpack/sgfonz.rb +1 -1
- data/demo/grph1/sgpack/sgpk07.rb +8 -6
- data/demo/grph1/slpack/slpk04.rb +1 -1
- data/demo/grph2/udegpk/u2df03.rb +2 -2
- data/demo/grph2/umpack/test04.rb +1 -1
- data/demo/grph2/umpack/test05r.rb +86 -0
- data/demo/grph2/uspack/uspk06.rb +1 -1
- data/demo/grph2/uspack/uspk08.rb +1 -1
- data/demo/grph2/ximage/ximg01.rb +1 -1
- 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/color2.rb +4 -3
- data/demo/rakuraku/kihon/kihon7.rb +9 -3
- data/demo/rakuraku/kihon/kihonb.rb +11 -9
- data/demo/rakuraku/uspack/uspac1.rb +1 -1
- data/demo/rakuraku/uspack/uspac3.rb +1 -1
- data/ext/numru/dcl_cary2obj.c +1 -1
- data/ext/numru/dcl_narrayed_funcs.c +21 -21
- data/ext/numru/dcl_obj2cary.c +1 -1
- data/ext/numru/dcl_rubydcloriginal.c +0 -1
- data/ext/numru/extconf.rb +28 -9
- data/ext/numru/grph1_csgi.c +29 -3
- data/ext/numru/grph1_scpack.c +40 -41
- data/ext/numru/grph1_sgpack.c +158 -159
- data/ext/numru/grph1_slpack.c +14 -15
- data/ext/numru/grph1_stpack.c +35 -36
- data/ext/numru/grph1_swpack.c +89 -90
- data/ext/numru/grph2_grpack.c +13 -14
- data/ext/numru/grph2_ucpack.c +46 -47
- data/ext/numru/grph2_udpack.c +52 -53
- data/ext/numru/grph2_uepack.c +51 -52
- data/ext/numru/grph2_ugpack.c +40 -41
- data/ext/numru/grph2_uhpack.c +16 -17
- data/ext/numru/grph2_uipack.c +48 -49
- data/ext/numru/grph2_ulpack.c +50 -51
- data/ext/numru/grph2_umpack.c +66 -67
- data/ext/numru/grph2_uspack.c +88 -89
- data/ext/numru/grph2_uupack.c +69 -70
- data/ext/numru/grph2_uvpack.c +16 -17
- data/ext/numru/grph2_uwpack.c +21 -22
- data/ext/numru/grph2_uxpack.c +14 -15
- data/ext/numru/grph2_uypack.c +14 -15
- data/ext/numru/grph2_uzpack.c +60 -61
- data/ext/numru/init.c.default +5 -2
- data/ext/numru/math1_blklib.c +4 -5
- data/ext/numru/math1_chrlib.c +7 -8
- data/ext/numru/math1_clsplib.c +4 -5
- data/ext/numru/math1_fnclib.c +7 -8
- data/ext/numru/math1_gnmlib.c +12 -13
- data/ext/numru/math1_gt2dlib.c +9 -10
- data/ext/numru/math1_ifalib.c +9 -10
- data/ext/numru/math1_indxlib.c +15 -16
- data/ext/numru/math1_intlib.c +4 -5
- data/ext/numru/math1_lrllib.c +24 -25
- data/ext/numru/math1_maplib.c +5 -6
- data/ext/numru/math1_oslib.c +2 -3
- data/ext/numru/math1_rfalib.c +30 -31
- data/ext/numru/math1_rfblib.c +3 -4
- data/ext/numru/math1_sublib.c +4 -5
- data/ext/numru/math1_syslib.c +73 -74
- data/ext/numru/math1_vialib.c +22 -23
- data/ext/numru/math1_viblib.c +15 -16
- data/ext/numru/math1_vralib.c +22 -23
- data/ext/numru/math1_vrblib.c +15 -16
- data/ext/numru/math1_xfclib.c +3 -4
- data/ext/numru/math2_fftlib.c +19 -20
- data/ext/numru/math2_intrlib.c +2 -3
- data/ext/numru/math2_rnmlib.c +3 -4
- data/ext/numru/math2_shtlib.c +25 -26
- data/ext/numru/math2_vstlib.c +6 -7
- data/ext/numru/misc1_chnlib.c +3 -4
- data/ext/numru/misc1_datelib.c +27 -28
- data/ext/numru/misc1_fmtlib.c +1 -2
- data/ext/numru/misc1_misclib.c +2 -3
- data/ext/numru/misc1_randlib.c +4 -5
- data/ext/numru/misc1_timelib.c +11 -12
- data/ext/numru/misc2_tmpack.c +1200 -0
- data/lib/numru/dcl/dcl.rb +73 -1
- data/lib/numru/dcl/version.rb +1 -1
- data/ruby-dcl.gemspec +2 -2
- metadata +12 -4
data/ext/numru/grph2_uupack.c
CHANGED
@@ -4,7 +4,6 @@
|
|
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
|
|
@@ -97,7 +96,7 @@ dcl_uulin(obj, n, upx, upy)
|
|
97
96
|
i_upy = dcl_obj2crealary(upy);
|
98
97
|
|
99
98
|
|
100
|
-
|
99
|
+
uulin__(&i_n, i_upx, i_upy);
|
101
100
|
|
102
101
|
dcl_freecrealary(i_upx);
|
103
102
|
dcl_freecrealary(i_upy);
|
@@ -147,7 +146,7 @@ dcl_uulinz(obj, n, upx, upy, itype, index)
|
|
147
146
|
i_upy = dcl_obj2crealary(upy);
|
148
147
|
|
149
148
|
|
150
|
-
|
149
|
+
uulinz__(&i_n, i_upx, i_upy, &i_itype, &i_index);
|
151
150
|
|
152
151
|
dcl_freecrealary(i_upx);
|
153
152
|
dcl_freecrealary(i_upy);
|
@@ -187,7 +186,7 @@ dcl_uumrk(obj, n, upx, upy)
|
|
187
186
|
i_upy = dcl_obj2crealary(upy);
|
188
187
|
|
189
188
|
|
190
|
-
|
189
|
+
uumrk__(&i_n, i_upx, i_upy);
|
191
190
|
|
192
191
|
dcl_freecrealary(i_upx);
|
193
192
|
dcl_freecrealary(i_upy);
|
@@ -242,7 +241,7 @@ dcl_uumrkz(obj, n, upx, upy, itype, index, rsize)
|
|
242
241
|
i_upy = dcl_obj2crealary(upy);
|
243
242
|
|
244
243
|
|
245
|
-
|
244
|
+
uumrkz__(&i_n, i_upx, i_upy, &i_itype, &i_index, &i_rsize);
|
246
245
|
|
247
246
|
dcl_freecrealary(i_upx);
|
248
247
|
dcl_freecrealary(i_upy);
|
@@ -258,7 +257,7 @@ dcl_uupqnp(obj)
|
|
258
257
|
integer o_ncp;
|
259
258
|
VALUE ncp;
|
260
259
|
|
261
|
-
|
260
|
+
uupqnp__(&o_ncp);
|
262
261
|
|
263
262
|
ncp = INT2NUM(o_ncp);
|
264
263
|
|
@@ -282,7 +281,7 @@ dcl_uupqid(obj, cp)
|
|
282
281
|
i_cp = StringValuePtr(cp);
|
283
282
|
|
284
283
|
|
285
|
-
|
284
|
+
uupqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
286
285
|
|
287
286
|
idx = INT2NUM(o_idx);
|
288
287
|
|
@@ -308,7 +307,7 @@ dcl_uupqcp(obj, idx)
|
|
308
307
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
309
308
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
310
309
|
|
311
|
-
|
310
|
+
uupqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
312
311
|
|
313
312
|
cp = rb_str_new2(o_cp);
|
314
313
|
|
@@ -334,7 +333,7 @@ dcl_uupqcl(obj, idx)
|
|
334
333
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
335
334
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
336
335
|
|
337
|
-
|
336
|
+
uupqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
338
337
|
|
339
338
|
cp = rb_str_new2(o_cp);
|
340
339
|
|
@@ -358,7 +357,7 @@ dcl_uupqit(obj, idx)
|
|
358
357
|
i_idx = NUM2INT(idx);
|
359
358
|
|
360
359
|
|
361
|
-
|
360
|
+
uupqit__(&i_idx, &o_itp);
|
362
361
|
|
363
362
|
itp = INT2NUM(o_itp);
|
364
363
|
|
@@ -382,7 +381,7 @@ dcl_uupqvl(obj, idx)
|
|
382
381
|
i_idx = NUM2INT(idx);
|
383
382
|
|
384
383
|
|
385
|
-
|
384
|
+
uupqvl__(&i_idx, &o_ipara);
|
386
385
|
|
387
386
|
ipara = INT2NUM(o_ipara);
|
388
387
|
|
@@ -409,7 +408,7 @@ dcl_uupsvl(obj, idx, ipara)
|
|
409
408
|
i_ipara = NUM2INT(ipara);
|
410
409
|
|
411
410
|
|
412
|
-
|
411
|
+
uupsvl__(&i_idx, &i_ipara);
|
413
412
|
|
414
413
|
return Qnil;
|
415
414
|
|
@@ -430,7 +429,7 @@ dcl_uupqin(obj, cp)
|
|
430
429
|
i_cp = StringValuePtr(cp);
|
431
430
|
|
432
431
|
|
433
|
-
|
432
|
+
uupqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
434
433
|
|
435
434
|
in = INT2NUM(o_in);
|
436
435
|
|
@@ -443,7 +442,7 @@ static VALUE
|
|
443
442
|
dcl_uuinit(obj)
|
444
443
|
VALUE obj;
|
445
444
|
{
|
446
|
-
|
445
|
+
uuinit__();
|
447
446
|
|
448
447
|
return Qnil;
|
449
448
|
|
@@ -462,7 +461,7 @@ dcl_uuslnt(obj, itype)
|
|
462
461
|
i_itype = NUM2INT(itype);
|
463
462
|
|
464
463
|
|
465
|
-
|
464
|
+
uuslnt__(&i_itype);
|
466
465
|
|
467
466
|
return Qnil;
|
468
467
|
|
@@ -475,7 +474,7 @@ dcl_uuqlnt(obj)
|
|
475
474
|
integer o_itype;
|
476
475
|
VALUE itype;
|
477
476
|
|
478
|
-
|
477
|
+
uuqlnt__(&o_itype);
|
479
478
|
|
480
479
|
itype = INT2NUM(o_itype);
|
481
480
|
|
@@ -497,7 +496,7 @@ dcl_uuslni(obj, index)
|
|
497
496
|
i_index = NUM2INT(index);
|
498
497
|
|
499
498
|
|
500
|
-
|
499
|
+
uuslni__(&i_index);
|
501
500
|
|
502
501
|
return Qnil;
|
503
502
|
|
@@ -510,7 +509,7 @@ dcl_uuqlni(obj)
|
|
510
509
|
integer o_index;
|
511
510
|
VALUE index;
|
512
511
|
|
513
|
-
|
512
|
+
uuqlni__(&o_index);
|
514
513
|
|
515
514
|
index = INT2NUM(o_index);
|
516
515
|
|
@@ -532,7 +531,7 @@ dcl_uusmkt(obj, itype)
|
|
532
531
|
i_itype = NUM2INT(itype);
|
533
532
|
|
534
533
|
|
535
|
-
|
534
|
+
uusmkt__(&i_itype);
|
536
535
|
|
537
536
|
return Qnil;
|
538
537
|
|
@@ -545,7 +544,7 @@ dcl_uuqmkt(obj)
|
|
545
544
|
integer o_itype;
|
546
545
|
VALUE itype;
|
547
546
|
|
548
|
-
|
547
|
+
uuqmkt__(&o_itype);
|
549
548
|
|
550
549
|
itype = INT2NUM(o_itype);
|
551
550
|
|
@@ -567,7 +566,7 @@ dcl_uusmki(obj, index)
|
|
567
566
|
i_index = NUM2INT(index);
|
568
567
|
|
569
568
|
|
570
|
-
|
569
|
+
uusmki__(&i_index);
|
571
570
|
|
572
571
|
return Qnil;
|
573
572
|
|
@@ -580,7 +579,7 @@ dcl_uuqmki(obj)
|
|
580
579
|
integer o_index;
|
581
580
|
VALUE index;
|
582
581
|
|
583
|
-
|
582
|
+
uuqmki__(&o_index);
|
584
583
|
|
585
584
|
index = INT2NUM(o_index);
|
586
585
|
|
@@ -602,7 +601,7 @@ dcl_uusmks(obj, rsize)
|
|
602
601
|
i_rsize = (real)NUM2DBL(rsize);
|
603
602
|
|
604
603
|
|
605
|
-
|
604
|
+
uusmks__(&i_rsize);
|
606
605
|
|
607
606
|
return Qnil;
|
608
607
|
|
@@ -615,7 +614,7 @@ dcl_uuqmks(obj)
|
|
615
614
|
real o_rsize;
|
616
615
|
VALUE rsize;
|
617
616
|
|
618
|
-
|
617
|
+
uuqmks__(&o_rsize);
|
619
618
|
|
620
619
|
rsize = rb_float_new((double)o_rsize);
|
621
620
|
|
@@ -637,7 +636,7 @@ dcl_uusebt(obj, itype)
|
|
637
636
|
i_itype = NUM2INT(itype);
|
638
637
|
|
639
638
|
|
640
|
-
|
639
|
+
uusebt__(&i_itype);
|
641
640
|
|
642
641
|
return Qnil;
|
643
642
|
|
@@ -650,7 +649,7 @@ dcl_uuqebt(obj)
|
|
650
649
|
integer o_itype;
|
651
650
|
VALUE itype;
|
652
651
|
|
653
|
-
|
652
|
+
uuqebt__(&o_itype);
|
654
653
|
|
655
654
|
itype = INT2NUM(o_itype);
|
656
655
|
|
@@ -672,7 +671,7 @@ dcl_uusebi(obj, index)
|
|
672
671
|
i_index = NUM2INT(index);
|
673
672
|
|
674
673
|
|
675
|
-
|
674
|
+
uusebi__(&i_index);
|
676
675
|
|
677
676
|
return Qnil;
|
678
677
|
|
@@ -685,7 +684,7 @@ dcl_uuqebi(obj)
|
|
685
684
|
integer o_index;
|
686
685
|
VALUE index;
|
687
686
|
|
688
|
-
|
687
|
+
uuqebi__(&o_index);
|
689
688
|
|
690
689
|
index = INT2NUM(o_index);
|
691
690
|
|
@@ -707,7 +706,7 @@ dcl_uusebs(obj, rsize)
|
|
707
706
|
i_rsize = (real)NUM2DBL(rsize);
|
708
707
|
|
709
708
|
|
710
|
-
|
709
|
+
uusebs__(&i_rsize);
|
711
710
|
|
712
711
|
return Qnil;
|
713
712
|
|
@@ -720,7 +719,7 @@ dcl_uuqebs(obj)
|
|
720
719
|
real o_rsize;
|
721
720
|
VALUE rsize;
|
722
721
|
|
723
|
-
|
722
|
+
uuqebs__(&o_rsize);
|
724
723
|
|
725
724
|
rsize = rb_float_new((double)o_rsize);
|
726
725
|
|
@@ -742,7 +741,7 @@ dcl_uusbrs(obj, rsize)
|
|
742
741
|
i_rsize = (real)NUM2DBL(rsize);
|
743
742
|
|
744
743
|
|
745
|
-
|
744
|
+
uusbrs__(&i_rsize);
|
746
745
|
|
747
746
|
return Qnil;
|
748
747
|
|
@@ -755,7 +754,7 @@ dcl_uuqbrs(obj)
|
|
755
754
|
real o_rsize;
|
756
755
|
VALUE rsize;
|
757
756
|
|
758
|
-
|
757
|
+
uuqbrs__(&o_rsize);
|
759
758
|
|
760
759
|
rsize = rb_float_new((double)o_rsize);
|
761
760
|
|
@@ -777,7 +776,7 @@ dcl_uusfrt(obj, itype)
|
|
777
776
|
i_itype = NUM2INT(itype);
|
778
777
|
|
779
778
|
|
780
|
-
|
779
|
+
uusfrt__(&i_itype);
|
781
780
|
|
782
781
|
return Qnil;
|
783
782
|
|
@@ -790,7 +789,7 @@ dcl_uuqfrt(obj)
|
|
790
789
|
integer o_itype;
|
791
790
|
VALUE itype;
|
792
791
|
|
793
|
-
|
792
|
+
uuqfrt__(&o_itype);
|
794
793
|
|
795
794
|
itype = INT2NUM(o_itype);
|
796
795
|
|
@@ -812,7 +811,7 @@ dcl_uusfri(obj, index)
|
|
812
811
|
i_index = NUM2INT(index);
|
813
812
|
|
814
813
|
|
815
|
-
|
814
|
+
uusfri__(&i_index);
|
816
815
|
|
817
816
|
return Qnil;
|
818
817
|
|
@@ -825,7 +824,7 @@ dcl_uuqfri(obj)
|
|
825
824
|
integer o_index;
|
826
825
|
VALUE index;
|
827
826
|
|
828
|
-
|
827
|
+
uuqfri__(&o_index);
|
829
828
|
|
830
829
|
index = INT2NUM(o_index);
|
831
830
|
|
@@ -852,7 +851,7 @@ dcl_uusarp(obj, itpt1, itpt2)
|
|
852
851
|
i_itpt2 = NUM2INT(itpt2);
|
853
852
|
|
854
853
|
|
855
|
-
|
854
|
+
uusarp__(&i_itpt1, &i_itpt2);
|
856
855
|
|
857
856
|
return Qnil;
|
858
857
|
|
@@ -867,7 +866,7 @@ dcl_uuqarp(obj)
|
|
867
866
|
VALUE itpt1;
|
868
867
|
VALUE itpt2;
|
869
868
|
|
870
|
-
|
869
|
+
uuqarp__(&o_itpt1, &o_itpt2);
|
871
870
|
|
872
871
|
itpt1 = INT2NUM(o_itpt1);
|
873
872
|
itpt2 = INT2NUM(o_itpt2);
|
@@ -895,7 +894,7 @@ dcl_uusidv(obj, umin, umax)
|
|
895
894
|
i_umax = (real)NUM2DBL(umax);
|
896
895
|
|
897
896
|
|
898
|
-
|
897
|
+
uusidv__(&i_umin, &i_umax);
|
899
898
|
|
900
899
|
return Qnil;
|
901
900
|
|
@@ -910,7 +909,7 @@ dcl_uuqidv(obj)
|
|
910
909
|
VALUE umin;
|
911
910
|
VALUE umax;
|
912
911
|
|
913
|
-
|
912
|
+
uuqidv__(&o_umin, &o_umax);
|
914
913
|
|
915
914
|
umin = rb_float_new((double)o_umin);
|
916
915
|
umax = rb_float_new((double)o_umax);
|
@@ -935,7 +934,7 @@ dcl_uuiget(obj, cp)
|
|
935
934
|
i_cp = StringValuePtr(cp);
|
936
935
|
|
937
936
|
|
938
|
-
|
937
|
+
uuiget__(i_cp, &o_ipara, (ftnlen)strlen(i_cp));
|
939
938
|
|
940
939
|
ipara = INT2NUM(o_ipara);
|
941
940
|
|
@@ -962,7 +961,7 @@ dcl_uuiset(obj, cp, ipara)
|
|
962
961
|
i_ipara = NUM2INT(ipara);
|
963
962
|
|
964
963
|
|
965
|
-
|
964
|
+
uuiset__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
|
966
965
|
|
967
966
|
return Qnil;
|
968
967
|
|
@@ -986,7 +985,7 @@ dcl_uuistx(obj, cp, ipara)
|
|
986
985
|
i_ipara = NUM2INT(ipara);
|
987
986
|
|
988
987
|
|
989
|
-
|
988
|
+
uuistx__(i_cp, &i_ipara, (ftnlen)strlen(i_cp));
|
990
989
|
|
991
990
|
return Qnil;
|
992
991
|
|
@@ -999,7 +998,7 @@ dcl_uuiqnp(obj)
|
|
999
998
|
integer o_ncp;
|
1000
999
|
VALUE ncp;
|
1001
1000
|
|
1002
|
-
|
1001
|
+
uuiqnp__(&o_ncp);
|
1003
1002
|
|
1004
1003
|
ncp = INT2NUM(o_ncp);
|
1005
1004
|
|
@@ -1023,7 +1022,7 @@ dcl_uuiqid(obj, cp)
|
|
1023
1022
|
i_cp = StringValuePtr(cp);
|
1024
1023
|
|
1025
1024
|
|
1026
|
-
|
1025
|
+
uuiqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
1027
1026
|
|
1028
1027
|
idx = INT2NUM(o_idx);
|
1029
1028
|
|
@@ -1049,7 +1048,7 @@ dcl_uuiqcp(obj, idx)
|
|
1049
1048
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1050
1049
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1051
1050
|
|
1052
|
-
|
1051
|
+
uuiqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1053
1052
|
|
1054
1053
|
cp = rb_str_new2(o_cp);
|
1055
1054
|
|
@@ -1075,7 +1074,7 @@ dcl_uuiqcl(obj, idx)
|
|
1075
1074
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1076
1075
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1077
1076
|
|
1078
|
-
|
1077
|
+
uuiqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1079
1078
|
|
1080
1079
|
cp = rb_str_new2(o_cp);
|
1081
1080
|
|
@@ -1099,7 +1098,7 @@ dcl_uuiqvl(obj, idx)
|
|
1099
1098
|
i_idx = NUM2INT(idx);
|
1100
1099
|
|
1101
1100
|
|
1102
|
-
|
1101
|
+
uuiqvl__(&i_idx, &o_ipara);
|
1103
1102
|
|
1104
1103
|
ipara = INT2NUM(o_ipara);
|
1105
1104
|
|
@@ -1126,7 +1125,7 @@ dcl_uuisvl(obj, idx, ipara)
|
|
1126
1125
|
i_ipara = NUM2INT(ipara);
|
1127
1126
|
|
1128
1127
|
|
1129
|
-
|
1128
|
+
uuisvl__(&i_idx, &i_ipara);
|
1130
1129
|
|
1131
1130
|
return Qnil;
|
1132
1131
|
|
@@ -1147,7 +1146,7 @@ dcl_uuiqin(obj, cp)
|
|
1147
1146
|
i_cp = StringValuePtr(cp);
|
1148
1147
|
|
1149
1148
|
|
1150
|
-
|
1149
|
+
uuiqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
1151
1150
|
|
1152
1151
|
in = INT2NUM(o_in);
|
1153
1152
|
|
@@ -1171,7 +1170,7 @@ dcl_uulget(obj, cp)
|
|
1171
1170
|
i_cp = StringValuePtr(cp);
|
1172
1171
|
|
1173
1172
|
|
1174
|
-
|
1173
|
+
uulget__(i_cp, &o_lpara, (ftnlen)strlen(i_cp));
|
1175
1174
|
|
1176
1175
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
1177
1176
|
|
@@ -1195,7 +1194,7 @@ dcl_uulset(obj, cp, lpara)
|
|
1195
1194
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
1196
1195
|
|
1197
1196
|
|
1198
|
-
|
1197
|
+
uulset__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
|
1199
1198
|
|
1200
1199
|
return Qnil;
|
1201
1200
|
|
@@ -1216,7 +1215,7 @@ dcl_uulstx(obj, cp, lpara)
|
|
1216
1215
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
1217
1216
|
|
1218
1217
|
|
1219
|
-
|
1218
|
+
uulstx__(i_cp, &i_lpara, (ftnlen)strlen(i_cp));
|
1220
1219
|
|
1221
1220
|
return Qnil;
|
1222
1221
|
|
@@ -1229,7 +1228,7 @@ dcl_uulqnp(obj)
|
|
1229
1228
|
integer o_ncp;
|
1230
1229
|
VALUE ncp;
|
1231
1230
|
|
1232
|
-
|
1231
|
+
uulqnp__(&o_ncp);
|
1233
1232
|
|
1234
1233
|
ncp = INT2NUM(o_ncp);
|
1235
1234
|
|
@@ -1253,7 +1252,7 @@ dcl_uulqid(obj, cp)
|
|
1253
1252
|
i_cp = StringValuePtr(cp);
|
1254
1253
|
|
1255
1254
|
|
1256
|
-
|
1255
|
+
uulqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
1257
1256
|
|
1258
1257
|
idx = INT2NUM(o_idx);
|
1259
1258
|
|
@@ -1279,7 +1278,7 @@ dcl_uulqcp(obj, idx)
|
|
1279
1278
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1280
1279
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1281
1280
|
|
1282
|
-
|
1281
|
+
uulqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1283
1282
|
|
1284
1283
|
cp = rb_str_new2(o_cp);
|
1285
1284
|
|
@@ -1305,7 +1304,7 @@ dcl_uulqcl(obj, idx)
|
|
1305
1304
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1306
1305
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1307
1306
|
|
1308
|
-
|
1307
|
+
uulqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1309
1308
|
|
1310
1309
|
cp = rb_str_new2(o_cp);
|
1311
1310
|
|
@@ -1329,7 +1328,7 @@ dcl_uulqvl(obj, idx)
|
|
1329
1328
|
i_idx = NUM2INT(idx);
|
1330
1329
|
|
1331
1330
|
|
1332
|
-
|
1331
|
+
uulqvl__(&i_idx, &o_lpara);
|
1333
1332
|
|
1334
1333
|
lpara = (o_lpara == FALSE_) ? Qfalse : Qtrue;
|
1335
1334
|
|
@@ -1353,7 +1352,7 @@ dcl_uulsvl(obj, idx, lpara)
|
|
1353
1352
|
i_lpara = ((lpara == Qnil)||(lpara == Qfalse)) ? FALSE_ : TRUE_;
|
1354
1353
|
|
1355
1354
|
|
1356
|
-
|
1355
|
+
uulsvl__(&i_idx, &i_lpara);
|
1357
1356
|
|
1358
1357
|
return Qnil;
|
1359
1358
|
|
@@ -1374,7 +1373,7 @@ dcl_uulqin(obj, cp)
|
|
1374
1373
|
i_cp = StringValuePtr(cp);
|
1375
1374
|
|
1376
1375
|
|
1377
|
-
|
1376
|
+
uulqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
1378
1377
|
|
1379
1378
|
in = INT2NUM(o_in);
|
1380
1379
|
|
@@ -1398,7 +1397,7 @@ dcl_uurget(obj, cp)
|
|
1398
1397
|
i_cp = StringValuePtr(cp);
|
1399
1398
|
|
1400
1399
|
|
1401
|
-
|
1400
|
+
uurget__(i_cp, &o_rpara, (ftnlen)strlen(i_cp));
|
1402
1401
|
|
1403
1402
|
rpara = rb_float_new((double)o_rpara);
|
1404
1403
|
|
@@ -1425,7 +1424,7 @@ dcl_uurset(obj, cp, rpara)
|
|
1425
1424
|
i_rpara = (real)NUM2DBL(rpara);
|
1426
1425
|
|
1427
1426
|
|
1428
|
-
|
1427
|
+
uurset__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
|
1429
1428
|
|
1430
1429
|
return Qnil;
|
1431
1430
|
|
@@ -1449,7 +1448,7 @@ dcl_uurstx(obj, cp, rpara)
|
|
1449
1448
|
i_rpara = (real)NUM2DBL(rpara);
|
1450
1449
|
|
1451
1450
|
|
1452
|
-
|
1451
|
+
uurstx__(i_cp, &i_rpara, (ftnlen)strlen(i_cp));
|
1453
1452
|
|
1454
1453
|
return Qnil;
|
1455
1454
|
|
@@ -1462,7 +1461,7 @@ dcl_uurqnp(obj)
|
|
1462
1461
|
integer o_ncp;
|
1463
1462
|
VALUE ncp;
|
1464
1463
|
|
1465
|
-
|
1464
|
+
uurqnp__(&o_ncp);
|
1466
1465
|
|
1467
1466
|
ncp = INT2NUM(o_ncp);
|
1468
1467
|
|
@@ -1486,7 +1485,7 @@ dcl_uurqid(obj, cp)
|
|
1486
1485
|
i_cp = StringValuePtr(cp);
|
1487
1486
|
|
1488
1487
|
|
1489
|
-
|
1488
|
+
uurqid__(i_cp, &o_idx, (ftnlen)strlen(i_cp));
|
1490
1489
|
|
1491
1490
|
idx = INT2NUM(o_idx);
|
1492
1491
|
|
@@ -1512,7 +1511,7 @@ dcl_uurqcp(obj, idx)
|
|
1512
1511
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1513
1512
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1514
1513
|
|
1515
|
-
|
1514
|
+
uurqcp__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1516
1515
|
|
1517
1516
|
cp = rb_str_new2(o_cp);
|
1518
1517
|
|
@@ -1538,7 +1537,7 @@ dcl_uurqcl(obj, idx)
|
|
1538
1537
|
o_cp= ALLOCA_N(char, (DFLT_SIZE+1));
|
1539
1538
|
memset(o_cp, '\0', DFLT_SIZE+1);
|
1540
1539
|
|
1541
|
-
|
1540
|
+
uurqcl__(&i_idx, o_cp, (ftnlen)DFLT_SIZE);
|
1542
1541
|
|
1543
1542
|
cp = rb_str_new2(o_cp);
|
1544
1543
|
|
@@ -1562,7 +1561,7 @@ dcl_uurqvl(obj, idx)
|
|
1562
1561
|
i_idx = NUM2INT(idx);
|
1563
1562
|
|
1564
1563
|
|
1565
|
-
|
1564
|
+
uurqvl__(&i_idx, &o_rpara);
|
1566
1565
|
|
1567
1566
|
rpara = rb_float_new((double)o_rpara);
|
1568
1567
|
|
@@ -1589,7 +1588,7 @@ dcl_uursvl(obj, idx, rpara)
|
|
1589
1588
|
i_rpara = (real)NUM2DBL(rpara);
|
1590
1589
|
|
1591
1590
|
|
1592
|
-
|
1591
|
+
uursvl__(&i_idx, &i_rpara);
|
1593
1592
|
|
1594
1593
|
return Qnil;
|
1595
1594
|
|
@@ -1610,7 +1609,7 @@ dcl_uurqin(obj, cp)
|
|
1610
1609
|
i_cp = StringValuePtr(cp);
|
1611
1610
|
|
1612
1611
|
|
1613
|
-
|
1612
|
+
uurqin__(i_cp, &o_in, (ftnlen)strlen(i_cp));
|
1614
1613
|
|
1615
1614
|
in = INT2NUM(o_in);
|
1616
1615
|
|