autoc 1.2 → 1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES +4 -0
- data/README +3 -1
- data/doc/AutoC.html +23 -7
- data/doc/AutoC/Code.html +3 -3
- data/doc/AutoC/Collection.html +289 -76
- data/doc/AutoC/HashMap.html +44 -46
- data/doc/AutoC/HashSet.html +20 -17
- data/doc/AutoC/List.html +56 -92
- data/doc/AutoC/Module.html +2 -2
- data/doc/AutoC/Module/File.html +2 -2
- data/doc/AutoC/Module/Header.html +6 -4
- data/doc/AutoC/Module/Source.html +26 -26
- data/doc/AutoC/Priority.html +2 -2
- data/doc/AutoC/Queue.html +30 -92
- data/doc/AutoC/Reference.html +217 -61
- data/doc/AutoC/String.html +1393 -0
- data/doc/AutoC/Type.html +240 -128
- data/doc/AutoC/UserDefinedType.html +688 -47
- data/doc/AutoC/Vector.html +154 -62
- data/doc/_index.html +9 -2
- data/doc/class_list.html +1 -1
- data/doc/file.CHANGES.html +10 -2
- data/doc/file.README.html +5 -3
- data/doc/index.html +5 -3
- data/doc/method_list.html +235 -97
- data/doc/top-level-namespace.html +2 -2
- data/lib/autoc.rb +3 -1
- data/lib/autoc/code.rb +3 -2
- data/lib/autoc/collection.rb +36 -40
- data/lib/autoc/collection/hash_map.rb +10 -14
- data/lib/autoc/collection/hash_set.rb +12 -11
- data/lib/autoc/collection/list.rb +21 -11
- data/lib/autoc/collection/queue.rb +5 -8
- data/lib/autoc/collection/vector.rb +28 -12
- data/lib/autoc/string.rb +492 -0
- data/lib/autoc/type.rb +155 -66
- data/test/test.rb +157 -35
- data/test/test_char_string.rb +270 -0
- data/test/test_int_list.rb +35 -0
- data/test/test_int_vector.rb +34 -0
- data/test/test_value_hash_map.rb +162 -0
- data/test/test_value_hash_set.rb +173 -0
- data/test/test_value_list.rb +193 -0
- data/test/test_value_queue.rb +275 -0
- data/test/test_value_vector.rb +155 -0
- data/test/value.rb +80 -0
- metadata +15 -8
- data/test/test.c +0 -1041
- data/test/test.h +0 -41
- data/test/test_auto.c +0 -3407
- data/test/test_auto.h +0 -765
data/doc/AutoC/Type.html
CHANGED
@@ -103,7 +103,7 @@
|
|
103
103
|
|
104
104
|
<div id="subclasses">
|
105
105
|
<h2>Direct Known Subclasses</h2>
|
106
|
-
<p class="children"><span class='object_link'><a href="Collection.html" title="AutoC::Collection (class)">Collection</a></span>, <span class='object_link'><a href="Reference.html" title="AutoC::Reference (class)">Reference</a></span>, <span class='object_link'><a href="UserDefinedType.html" title="AutoC::UserDefinedType (class)">UserDefinedType</a></span></p>
|
106
|
+
<p class="children"><span class='object_link'><a href="Collection.html" title="AutoC::Collection (class)">Collection</a></span>, <span class='object_link'><a href="Reference.html" title="AutoC::Reference (class)">Reference</a></span>, <span class='object_link'><a href="String.html" title="AutoC::String (class)">String</a></span>, <span class='object_link'><a href="UserDefinedType.html" title="AutoC::UserDefinedType (class)">UserDefinedType</a></span></p>
|
107
107
|
</div>
|
108
108
|
|
109
109
|
<h2>Constant Summary</h2>
|
@@ -324,7 +324,9 @@
|
|
324
324
|
|
325
325
|
|
326
326
|
|
327
|
-
<span class="summary_desc"><div class='inline'
|
327
|
+
<span class="summary_desc"><div class='inline'><div class="paragraph">
|
328
|
+
<p>Returns <strong>true</strong> if the type provides a well-defined equality test function.</p>
|
329
|
+
</div></div></span>
|
328
330
|
|
329
331
|
</li>
|
330
332
|
|
@@ -346,7 +348,9 @@
|
|
346
348
|
|
347
349
|
|
348
350
|
|
349
|
-
<span class="summary_desc"><div class='inline'
|
351
|
+
<span class="summary_desc"><div class='inline'><div class="paragraph">
|
352
|
+
<p>Returns <strong>true</strong> if the type provides a well-defined parameterless default type constructor.</p>
|
353
|
+
</div></div></span>
|
350
354
|
|
351
355
|
</li>
|
352
356
|
|
@@ -368,7 +372,9 @@
|
|
368
372
|
|
369
373
|
|
370
374
|
|
371
|
-
<span class="summary_desc"><div class='inline'
|
375
|
+
<span class="summary_desc"><div class='inline'><div class="paragraph">
|
376
|
+
<p>Returns <strong>true</strong> if the type provides a well-defined copy constructor to create a clone of an instance.</p>
|
377
|
+
</div></div></span>
|
372
378
|
|
373
379
|
</li>
|
374
380
|
|
@@ -390,7 +396,9 @@
|
|
390
396
|
|
391
397
|
|
392
398
|
|
393
|
-
<span class="summary_desc"><div class='inline'
|
399
|
+
<span class="summary_desc"><div class='inline'><div class="paragraph">
|
400
|
+
<p>Returns <strong>true</strong> if the type provides a well-defined type destructor.</p>
|
401
|
+
</div></div></span>
|
394
402
|
|
395
403
|
</li>
|
396
404
|
|
@@ -502,7 +510,33 @@
|
|
502
510
|
|
503
511
|
|
504
512
|
|
505
|
-
<span class="summary_desc"><div class='inline'
|
513
|
+
<span class="summary_desc"><div class='inline'><div class="paragraph">
|
514
|
+
<p>Returns <strong>true</strong> if the type provides a well-defined hash calculation function.</p>
|
515
|
+
</div></div></span>
|
516
|
+
|
517
|
+
</li>
|
518
|
+
|
519
|
+
|
520
|
+
<li class="public ">
|
521
|
+
<span class="summary_signature">
|
522
|
+
|
523
|
+
<a href="#initializable%3F-instance_method" title="#initializable? (instance method)">- (Boolean) <strong>initializable?</strong> </a>
|
524
|
+
|
525
|
+
|
526
|
+
|
527
|
+
</span>
|
528
|
+
|
529
|
+
|
530
|
+
|
531
|
+
|
532
|
+
|
533
|
+
|
534
|
+
|
535
|
+
|
536
|
+
|
537
|
+
<span class="summary_desc"><div class='inline'><div class="paragraph">
|
538
|
+
<p>Returns <strong>true</strong> if the type provides a well-defined type constructor which can have extra arguments.</p>
|
539
|
+
</div></div></span>
|
506
540
|
|
507
541
|
</li>
|
508
542
|
|
@@ -616,7 +650,9 @@
|
|
616
650
|
|
617
651
|
|
618
652
|
|
619
|
-
<span class="summary_desc"><div class='inline'
|
653
|
+
<span class="summary_desc"><div class='inline'><div class="paragraph">
|
654
|
+
<p>Returns <strong>true</strong> if the type provides a well-defined 'less than' test function.</p>
|
655
|
+
</div></div></span>
|
620
656
|
|
621
657
|
</li>
|
622
658
|
|
@@ -840,8 +876,6 @@
|
|
840
876
|
<pre class="lines">
|
841
877
|
|
842
878
|
|
843
|
-
168
|
844
|
-
169
|
845
879
|
170
|
846
880
|
171
|
847
881
|
172
|
@@ -852,23 +886,27 @@
|
|
852
886
|
177
|
853
887
|
178
|
854
888
|
179
|
855
|
-
180
|
889
|
+
180
|
890
|
+
181
|
891
|
+
182
|
892
|
+
183</pre>
|
856
893
|
</td>
|
857
894
|
<td>
|
858
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
895
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 170</span>
|
859
896
|
|
860
897
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_visibility'>visibility</span> <span class='op'>=</span> <span class='symbol'>:public</span><span class='rparen'>)</span>
|
861
898
|
<span class='ivar'>@type</span> <span class='op'>=</span> <span class='id identifier rubyid_type'>type</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
862
899
|
<span class='ivar'>@type_ref</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>*</span><span class='tstring_end'>"</span></span>
|
863
900
|
<span class='ivar'>@visibility</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='symbol'>:public</span><span class='comma'>,</span> <span class='symbol'>:private</span><span class='comma'>,</span> <span class='symbol'>:static</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_visibility'>visibility</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_visibility'>visibility</span> <span class='op'>:</span> <span class='id identifier rubyid_raise'>raise</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>unsupported visibility</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
864
|
-
<span class='
|
865
|
-
</span> <span class='
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
901
|
+
<span class='comment'># Canonic special method signatures
|
902
|
+
</span> <span class='ivar'>@signature</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
903
|
+
<span class='symbol'>:ctor</span> <span class='op'>=></span> <span class='const'>Function</span><span class='op'>::</span><span class='const'>Signature</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='id identifier rubyid_type'>type</span><span class='op'>^</span><span class='symbol'>:self</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='comma'>,</span>
|
904
|
+
<span class='symbol'>:dtor</span> <span class='op'>=></span> <span class='const'>Function</span><span class='op'>::</span><span class='const'>Signature</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='id identifier rubyid_type'>type</span><span class='op'>^</span><span class='symbol'>:self</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='comma'>,</span>
|
905
|
+
<span class='symbol'>:copy</span> <span class='op'>=></span> <span class='const'>Function</span><span class='op'>::</span><span class='const'>Signature</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='id identifier rubyid_type'>type</span><span class='op'>^</span><span class='symbol'>:dst</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='op'>^</span><span class='symbol'>:src</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='comma'>,</span>
|
906
|
+
<span class='symbol'>:equal</span> <span class='op'>=></span> <span class='const'>Function</span><span class='op'>::</span><span class='const'>Signature</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='id identifier rubyid_type'>type</span><span class='op'>^</span><span class='symbol'>:lt</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='op'>^</span><span class='symbol'>:rt</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='symbol'>:int</span><span class='rparen'>)</span><span class='comma'>,</span>
|
907
|
+
<span class='symbol'>:identify</span> <span class='op'>=></span> <span class='const'>Function</span><span class='op'>::</span><span class='const'>Signature</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='id identifier rubyid_type'>type</span><span class='op'>^</span><span class='symbol'>:self</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='symbol'>:size_t</span><span class='rparen'>)</span><span class='comma'>,</span>
|
908
|
+
<span class='symbol'>:less</span> <span class='op'>=></span> <span class='const'>Function</span><span class='op'>::</span><span class='const'>Signature</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='id identifier rubyid_type'>type</span><span class='op'>^</span><span class='symbol'>:lt</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='op'>^</span><span class='symbol'>:rt</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='symbol'>:int</span><span class='rparen'>)</span><span class='comma'>,</span>
|
909
|
+
<span class='rbrace'>}</span>
|
872
910
|
<span class='kw'>end</span></pre>
|
873
911
|
</td>
|
874
912
|
</tr>
|
@@ -898,9 +936,6 @@
|
|
898
936
|
<pre class="lines">
|
899
937
|
|
900
938
|
|
901
|
-
182
|
902
|
-
183
|
903
|
-
184
|
904
939
|
185
|
905
940
|
186
|
906
941
|
187
|
@@ -909,15 +944,30 @@
|
|
909
944
|
190
|
910
945
|
191
|
911
946
|
192
|
912
|
-
193
|
947
|
+
193
|
948
|
+
194
|
949
|
+
195
|
950
|
+
196
|
951
|
+
197
|
952
|
+
198
|
953
|
+
199
|
954
|
+
200
|
955
|
+
201
|
956
|
+
202</pre>
|
913
957
|
</td>
|
914
958
|
<td>
|
915
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
959
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 185</span>
|
916
960
|
|
917
961
|
<span class='kw'>def</span> <span class='id identifier rubyid_method_missing'>method_missing</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
918
962
|
<span class='id identifier rubyid_str'>str</span> <span class='op'>=</span> <span class='id identifier rubyid_method'>method</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
919
963
|
<span class='id identifier rubyid_str'>str</span> <span class='op'>=</span> <span class='id identifier rubyid_str'>str</span><span class='period'>.</span><span class='id identifier rubyid_sub'>sub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>[\!\?]$</span><span class='regexp_end'>/</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='comment'># Strip trailing ? or !
|
920
|
-
</span> <span class='id identifier
|
964
|
+
</span> <span class='id identifier rubyid_x'>x</span> <span class='op'>=</span> <span class='kw'>false</span> <span class='comment'># Have leading underscore
|
965
|
+
</span> <span class='kw'>if</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>_(.*)</span><span class='regexp_end'>/</span></span> <span class='op'>=~</span> <span class='id identifier rubyid_str'>str</span>
|
966
|
+
<span class='id identifier rubyid_str'>str</span> <span class='op'>=</span> <span class='backref'>$1</span>
|
967
|
+
<span class='id identifier rubyid_x'>x</span> <span class='op'>=</span> <span class='kw'>true</span>
|
968
|
+
<span class='kw'>end</span>
|
969
|
+
<span class='id identifier rubyid_fn'>fn</span> <span class='op'>=</span> <span class='id identifier rubyid_prefix'>prefix</span> <span class='op'>+</span> <span class='id identifier rubyid_str'>str</span><span class='lbracket'>[</span><span class='int'>0</span><span class='comma'>,</span><span class='int'>1</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_capitalize'>capitalize</span> <span class='op'>+</span> <span class='id identifier rubyid_str'>str</span><span class='lbracket'>[</span><span class='int'>1</span><span class='op'>..</span><span class='op'>-</span><span class='int'>1</span><span class='rbracket'>]</span> <span class='comment'># Ruby 1.8 compatible
|
970
|
+
</span> <span class='id identifier rubyid_fn'>fn</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>_</span><span class='tstring_end'>"</span></span> <span class='op'><<</span> <span class='id identifier rubyid_fn'>fn</span> <span class='kw'>if</span> <span class='id identifier rubyid_x'>x</span> <span class='comment'># Carry over the leading underscore
|
921
971
|
</span> <span class='kw'>if</span> <span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
|
922
972
|
<span class='id identifier rubyid_fn'>fn</span> <span class='comment'># Emit bare function name
|
923
973
|
</span> <span class='kw'>elsif</span> <span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>==</span> <span class='int'>1</span> <span class='op'>&&</span> <span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span> <span class='op'>==</span> <span class='kw'>nil</span>
|
@@ -964,12 +1014,12 @@
|
|
964
1014
|
<pre class="lines">
|
965
1015
|
|
966
1016
|
|
967
|
-
|
968
|
-
|
969
|
-
|
1017
|
+
162
|
1018
|
+
163
|
1019
|
+
164</pre>
|
970
1020
|
</td>
|
971
1021
|
<td>
|
972
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1022
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 162</span>
|
973
1023
|
|
974
1024
|
<span class='kw'>def</span> <span class='id identifier rubyid_type'>type</span>
|
975
1025
|
<span class='ivar'>@type</span>
|
@@ -1007,12 +1057,12 @@
|
|
1007
1057
|
<pre class="lines">
|
1008
1058
|
|
1009
1059
|
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1060
|
+
162
|
1061
|
+
163
|
1062
|
+
164</pre>
|
1013
1063
|
</td>
|
1014
1064
|
<td>
|
1015
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1065
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 162</span>
|
1016
1066
|
|
1017
1067
|
<span class='kw'>def</span> <span class='id identifier rubyid_type_ref'>type_ref</span>
|
1018
1068
|
<span class='ivar'>@type_ref</span>
|
@@ -1044,12 +1094,12 @@
|
|
1044
1094
|
<pre class="lines">
|
1045
1095
|
|
1046
1096
|
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1097
|
+
150
|
1098
|
+
151
|
1099
|
+
152</pre>
|
1050
1100
|
</td>
|
1051
1101
|
<td>
|
1052
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1102
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 150</span>
|
1053
1103
|
|
1054
1104
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_coerce'>coerce</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='rparen'>)</span>
|
1055
1105
|
<span class='id identifier rubyid_type'>type</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Type</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>:</span> <span class='const'>UserDefinedType</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='rparen'>)</span>
|
@@ -1084,10 +1134,10 @@
|
|
1084
1134
|
<pre class="lines">
|
1085
1135
|
|
1086
1136
|
|
1087
|
-
|
1137
|
+
156</pre>
|
1088
1138
|
</td>
|
1089
1139
|
<td>
|
1090
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1140
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 156</span>
|
1091
1141
|
|
1092
1142
|
<span class='kw'>def</span> <span class='op'>==</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span> <span class='op'>==</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span> <span class='op'>&&</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>==</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span> <span class='kw'>end</span></pre>
|
1093
1143
|
</td>
|
@@ -1110,12 +1160,12 @@
|
|
1110
1160
|
<pre class="lines">
|
1111
1161
|
|
1112
1162
|
|
1113
|
-
|
1163
|
+
251</pre>
|
1114
1164
|
</td>
|
1115
1165
|
<td>
|
1116
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1166
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 251</span>
|
1117
1167
|
|
1118
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_abort'>abort</span><span class='semicolon'>;</span> <span class='
|
1168
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_abort'>abort</span><span class='semicolon'>;</span> <span class='symbol'>:abort</span> <span class='kw'>end</span></pre>
|
1119
1169
|
</td>
|
1120
1170
|
</tr>
|
1121
1171
|
</table>
|
@@ -1136,12 +1186,12 @@
|
|
1136
1186
|
<pre class="lines">
|
1137
1187
|
|
1138
1188
|
|
1139
|
-
|
1189
|
+
243</pre>
|
1140
1190
|
</td>
|
1141
1191
|
<td>
|
1142
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1192
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 243</span>
|
1143
1193
|
|
1144
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_assert'>assert</span><span class='semicolon'>;</span> <span class='
|
1194
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_assert'>assert</span><span class='semicolon'>;</span> <span class='symbol'>:assert</span> <span class='kw'>end</span></pre>
|
1145
1195
|
</td>
|
1146
1196
|
</tr>
|
1147
1197
|
</table>
|
@@ -1162,12 +1212,12 @@
|
|
1162
1212
|
<pre class="lines">
|
1163
1213
|
|
1164
1214
|
|
1165
|
-
|
1215
|
+
247</pre>
|
1166
1216
|
</td>
|
1167
1217
|
<td>
|
1168
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1218
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 247</span>
|
1169
1219
|
|
1170
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_calloc'>calloc</span><span class='semicolon'>;</span> <span class='
|
1220
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_calloc'>calloc</span><span class='semicolon'>;</span> <span class='symbol'>:calloc</span> <span class='kw'>end</span></pre>
|
1171
1221
|
</td>
|
1172
1222
|
</tr>
|
1173
1223
|
</table>
|
@@ -1184,7 +1234,9 @@
|
|
1184
1234
|
|
1185
1235
|
</h3><div class="docstring">
|
1186
1236
|
<div class="discussion">
|
1187
|
-
|
1237
|
+
<div class="paragraph">
|
1238
|
+
<p>Returns <strong>true</strong> if the type provides a well-defined equality test function</p>
|
1239
|
+
</div>
|
1188
1240
|
|
1189
1241
|
</div>
|
1190
1242
|
</div>
|
@@ -1210,12 +1262,12 @@
|
|
1210
1262
|
<pre class="lines">
|
1211
1263
|
|
1212
1264
|
|
1213
|
-
|
1265
|
+
275</pre>
|
1214
1266
|
</td>
|
1215
1267
|
<td>
|
1216
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1268
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 275</span>
|
1217
1269
|
|
1218
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_comparable?'>comparable?</span><span class='semicolon'>;</span> <span class='
|
1270
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_comparable?'>comparable?</span><span class='semicolon'>;</span> <span class='kw'>false</span> <span class='kw'>end</span></pre>
|
1219
1271
|
</td>
|
1220
1272
|
</tr>
|
1221
1273
|
</table>
|
@@ -1232,7 +1284,9 @@
|
|
1232
1284
|
|
1233
1285
|
</h3><div class="docstring">
|
1234
1286
|
<div class="discussion">
|
1235
|
-
|
1287
|
+
<div class="paragraph">
|
1288
|
+
<p>Returns <strong>true</strong> if the type provides a well-defined parameterless default type constructor</p>
|
1289
|
+
</div>
|
1236
1290
|
|
1237
1291
|
</div>
|
1238
1292
|
</div>
|
@@ -1258,12 +1312,12 @@
|
|
1258
1312
|
<pre class="lines">
|
1259
1313
|
|
1260
1314
|
|
1261
|
-
|
1315
|
+
263</pre>
|
1262
1316
|
</td>
|
1263
1317
|
<td>
|
1264
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1318
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 263</span>
|
1265
1319
|
|
1266
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_constructible?'>constructible?</span><span class='semicolon'>;</span> <span class='
|
1320
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_constructible?'>constructible?</span><span class='semicolon'>;</span> <span class='kw'>false</span> <span class='kw'>end</span></pre>
|
1267
1321
|
</td>
|
1268
1322
|
</tr>
|
1269
1323
|
</table>
|
@@ -1280,7 +1334,9 @@
|
|
1280
1334
|
|
1281
1335
|
</h3><div class="docstring">
|
1282
1336
|
<div class="discussion">
|
1283
|
-
|
1337
|
+
<div class="paragraph">
|
1338
|
+
<p>Returns <strong>true</strong> if the type provides a well-defined copy constructor to create a clone of an instance</p>
|
1339
|
+
</div>
|
1284
1340
|
|
1285
1341
|
</div>
|
1286
1342
|
</div>
|
@@ -1306,12 +1362,12 @@
|
|
1306
1362
|
<pre class="lines">
|
1307
1363
|
|
1308
1364
|
|
1309
|
-
|
1365
|
+
272</pre>
|
1310
1366
|
</td>
|
1311
1367
|
<td>
|
1312
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1368
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 272</span>
|
1313
1369
|
|
1314
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_copyable?'>copyable?</span><span class='semicolon'>;</span> <span class='
|
1370
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_copyable?'>copyable?</span><span class='semicolon'>;</span> <span class='kw'>false</span> <span class='kw'>end</span></pre>
|
1315
1371
|
</td>
|
1316
1372
|
</tr>
|
1317
1373
|
</table>
|
@@ -1328,7 +1384,9 @@
|
|
1328
1384
|
|
1329
1385
|
</h3><div class="docstring">
|
1330
1386
|
<div class="discussion">
|
1331
|
-
|
1387
|
+
<div class="paragraph">
|
1388
|
+
<p>Returns <strong>true</strong> if the type provides a well-defined type destructor</p>
|
1389
|
+
</div>
|
1332
1390
|
|
1333
1391
|
</div>
|
1334
1392
|
</div>
|
@@ -1354,12 +1412,12 @@
|
|
1354
1412
|
<pre class="lines">
|
1355
1413
|
|
1356
1414
|
|
1357
|
-
|
1415
|
+
269</pre>
|
1358
1416
|
</td>
|
1359
1417
|
<td>
|
1360
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1418
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 269</span>
|
1361
1419
|
|
1362
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_destructible?'>destructible?</span><span class='semicolon'>;</span> <span class='
|
1420
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_destructible?'>destructible?</span><span class='semicolon'>;</span> <span class='kw'>false</span> <span class='kw'>end</span></pre>
|
1363
1421
|
</td>
|
1364
1422
|
</tr>
|
1365
1423
|
</table>
|
@@ -1380,10 +1438,10 @@
|
|
1380
1438
|
<pre class="lines">
|
1381
1439
|
|
1382
1440
|
|
1383
|
-
|
1441
|
+
160</pre>
|
1384
1442
|
</td>
|
1385
1443
|
<td>
|
1386
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1444
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 160</span>
|
1387
1445
|
|
1388
1446
|
<span class='kw'>def</span> <span class='id identifier rubyid_entities'>entities</span><span class='semicolon'>;</span> <span class='kw'>super</span> <span class='op'><<</span> <span class='const'>CommonCode</span> <span class='kw'>end</span></pre>
|
1389
1447
|
</td>
|
@@ -1417,12 +1475,12 @@
|
|
1417
1475
|
<pre class="lines">
|
1418
1476
|
|
1419
1477
|
|
1420
|
-
|
1478
|
+
237</pre>
|
1421
1479
|
</td>
|
1422
1480
|
<td>
|
1423
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1481
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 237</span>
|
1424
1482
|
|
1425
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_extern'>extern</span><span class='semicolon'>;</span> <span class='
|
1483
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_extern'>extern</span><span class='semicolon'>;</span> <span class='symbol'>:AUTOC_EXTERN</span> <span class='kw'>end</span></pre>
|
1426
1484
|
</td>
|
1427
1485
|
</tr>
|
1428
1486
|
</table>
|
@@ -1443,12 +1501,12 @@
|
|
1443
1501
|
<pre class="lines">
|
1444
1502
|
|
1445
1503
|
|
1446
|
-
|
1504
|
+
249</pre>
|
1447
1505
|
</td>
|
1448
1506
|
<td>
|
1449
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1507
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 249</span>
|
1450
1508
|
|
1451
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_free'>free</span><span class='semicolon'>;</span> <span class='
|
1509
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_free'>free</span><span class='semicolon'>;</span> <span class='symbol'>:free</span> <span class='kw'>end</span></pre>
|
1452
1510
|
</td>
|
1453
1511
|
</tr>
|
1454
1512
|
</table>
|
@@ -1469,10 +1527,10 @@
|
|
1469
1527
|
<pre class="lines">
|
1470
1528
|
|
1471
1529
|
|
1472
|
-
|
1530
|
+
154</pre>
|
1473
1531
|
</td>
|
1474
1532
|
<td>
|
1475
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1533
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 154</span>
|
1476
1534
|
|
1477
1535
|
<span class='kw'>def</span> <span class='id identifier rubyid_hash'>hash</span><span class='semicolon'>;</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_hash'>hash</span> <span class='op'>^</span> <span class='id identifier rubyid_type'>type</span><span class='period'>.</span><span class='id identifier rubyid_hash'>hash</span> <span class='kw'>end</span></pre>
|
1478
1536
|
</td>
|
@@ -1491,7 +1549,59 @@
|
|
1491
1549
|
|
1492
1550
|
</h3><div class="docstring">
|
1493
1551
|
<div class="discussion">
|
1552
|
+
<div class="paragraph">
|
1553
|
+
<p>Returns <strong>true</strong> if the type provides a well-defined hash calculation function</p>
|
1554
|
+
</div>
|
1555
|
+
|
1556
|
+
</div>
|
1557
|
+
</div>
|
1558
|
+
<div class="tags">
|
1559
|
+
|
1560
|
+
<p class="tag_title">Returns:</p>
|
1561
|
+
<ul class="return">
|
1562
|
+
|
1563
|
+
<li>
|
1564
|
+
|
1565
|
+
|
1566
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1567
|
+
|
1568
|
+
|
1569
|
+
|
1570
|
+
</li>
|
1571
|
+
|
1572
|
+
</ul>
|
1573
|
+
|
1574
|
+
</div><table class="source_code">
|
1575
|
+
<tr>
|
1576
|
+
<td>
|
1577
|
+
<pre class="lines">
|
1578
|
+
|
1579
|
+
|
1580
|
+
281</pre>
|
1581
|
+
</td>
|
1582
|
+
<td>
|
1583
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 281</span>
|
1584
|
+
|
1585
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_hashable?'>hashable?</span><span class='semicolon'>;</span> <span class='kw'>false</span> <span class='kw'>end</span></pre>
|
1586
|
+
</td>
|
1587
|
+
</tr>
|
1588
|
+
</table>
|
1589
|
+
</div>
|
1494
1590
|
|
1591
|
+
<div class="method_details ">
|
1592
|
+
<h3 class="signature " id="initializable?-instance_method">
|
1593
|
+
|
1594
|
+
- (<tt>Boolean</tt>) <strong>initializable?</strong>
|
1595
|
+
|
1596
|
+
|
1597
|
+
|
1598
|
+
|
1599
|
+
|
1600
|
+
</h3><div class="docstring">
|
1601
|
+
<div class="discussion">
|
1602
|
+
<div class="paragraph">
|
1603
|
+
<p>Returns <strong>true</strong> if the type provides a well-defined type constructor which can have extra arguments</p>
|
1604
|
+
</div>
|
1495
1605
|
|
1496
1606
|
</div>
|
1497
1607
|
</div>
|
@@ -1517,12 +1627,12 @@
|
|
1517
1627
|
<pre class="lines">
|
1518
1628
|
|
1519
1629
|
|
1520
|
-
|
1630
|
+
266</pre>
|
1521
1631
|
</td>
|
1522
1632
|
<td>
|
1523
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1633
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 266</span>
|
1524
1634
|
|
1525
|
-
<span class='kw'>def</span> <span class='id identifier
|
1635
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initializable?'>initializable?</span><span class='semicolon'>;</span> <span class='kw'>false</span> <span class='kw'>end</span></pre>
|
1526
1636
|
</td>
|
1527
1637
|
</tr>
|
1528
1638
|
</table>
|
@@ -1543,12 +1653,12 @@
|
|
1543
1653
|
<pre class="lines">
|
1544
1654
|
|
1545
1655
|
|
1546
|
-
|
1656
|
+
239</pre>
|
1547
1657
|
</td>
|
1548
1658
|
<td>
|
1549
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1659
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 239</span>
|
1550
1660
|
|
1551
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_inline'>inline</span><span class='semicolon'>;</span> <span class='
|
1661
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_inline'>inline</span><span class='semicolon'>;</span> <span class='symbol'>:AUTOC_INLINE</span> <span class='kw'>end</span></pre>
|
1552
1662
|
</td>
|
1553
1663
|
</tr>
|
1554
1664
|
</table>
|
@@ -1569,12 +1679,12 @@
|
|
1569
1679
|
<pre class="lines">
|
1570
1680
|
|
1571
1681
|
|
1572
|
-
|
1682
|
+
245</pre>
|
1573
1683
|
</td>
|
1574
1684
|
<td>
|
1575
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1685
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 245</span>
|
1576
1686
|
|
1577
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_malloc'>malloc</span><span class='semicolon'>;</span> <span class='
|
1687
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_malloc'>malloc</span><span class='semicolon'>;</span> <span class='symbol'>:malloc</span> <span class='kw'>end</span></pre>
|
1578
1688
|
</td>
|
1579
1689
|
</tr>
|
1580
1690
|
</table>
|
@@ -1591,7 +1701,9 @@
|
|
1591
1701
|
|
1592
1702
|
</h3><div class="docstring">
|
1593
1703
|
<div class="discussion">
|
1594
|
-
|
1704
|
+
<div class="paragraph">
|
1705
|
+
<p>Returns <strong>true</strong> if the type provides a well-defined 'less than' test function</p>
|
1706
|
+
</div>
|
1595
1707
|
|
1596
1708
|
</div>
|
1597
1709
|
</div>
|
@@ -1617,12 +1729,12 @@
|
|
1617
1729
|
<pre class="lines">
|
1618
1730
|
|
1619
1731
|
|
1620
|
-
|
1732
|
+
278</pre>
|
1621
1733
|
</td>
|
1622
1734
|
<td>
|
1623
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1735
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 278</span>
|
1624
1736
|
|
1625
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_orderable?'>orderable?</span><span class='semicolon'>;</span> <span class='
|
1737
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_orderable?'>orderable?</span><span class='semicolon'>;</span> <span class='kw'>false</span> <span class='kw'>end</span></pre>
|
1626
1738
|
</td>
|
1627
1739
|
</tr>
|
1628
1740
|
</table>
|
@@ -1643,18 +1755,18 @@
|
|
1643
1755
|
<pre class="lines">
|
1644
1756
|
|
1645
1757
|
|
1646
|
-
162
|
1647
|
-
163
|
1648
1758
|
164
|
1649
1759
|
165
|
1650
|
-
166
|
1760
|
+
166
|
1761
|
+
167
|
1762
|
+
168</pre>
|
1651
1763
|
</td>
|
1652
1764
|
<td>
|
1653
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1765
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 164</span>
|
1654
1766
|
|
1655
1767
|
<span class='kw'>def</span> <span class='id identifier rubyid_prefix'>prefix</span>
|
1656
1768
|
<span class='comment'># Lazy evaluator for simple types like char* which do not actually use
|
1657
|
-
</span> <span class='comment'># this method and hence do not require the prefix to be valid C identifier
|
1769
|
+
</span> <span class='comment'># this method and hence do not require the prefix to be a valid C identifier
|
1658
1770
|
</span> <span class='const'>AutoC</span><span class='period'>.</span><span class='id identifier rubyid_c_id'>c_id</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='rparen'>)</span>
|
1659
1771
|
<span class='kw'>end</span></pre>
|
1660
1772
|
</td>
|
@@ -1699,10 +1811,10 @@
|
|
1699
1811
|
<pre class="lines">
|
1700
1812
|
|
1701
1813
|
|
1702
|
-
|
1814
|
+
255</pre>
|
1703
1815
|
</td>
|
1704
1816
|
<td>
|
1705
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1817
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 255</span>
|
1706
1818
|
|
1707
1819
|
<span class='kw'>def</span> <span class='id identifier rubyid_private?'>private?</span><span class='semicolon'>;</span> <span class='ivar'>@visibility</span> <span class='op'>==</span> <span class='symbol'>:private</span> <span class='kw'>end</span></pre>
|
1708
1820
|
</td>
|
@@ -1747,10 +1859,10 @@
|
|
1747
1859
|
<pre class="lines">
|
1748
1860
|
|
1749
1861
|
|
1750
|
-
|
1862
|
+
253</pre>
|
1751
1863
|
</td>
|
1752
1864
|
<td>
|
1753
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1865
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 253</span>
|
1754
1866
|
|
1755
1867
|
<span class='kw'>def</span> <span class='id identifier rubyid_public?'>public?</span><span class='semicolon'>;</span> <span class='ivar'>@visibility</span> <span class='op'>==</span> <span class='symbol'>:public</span> <span class='kw'>end</span></pre>
|
1756
1868
|
</td>
|
@@ -1773,12 +1885,12 @@
|
|
1773
1885
|
<pre class="lines">
|
1774
1886
|
|
1775
1887
|
|
1776
|
-
|
1888
|
+
241</pre>
|
1777
1889
|
</td>
|
1778
1890
|
<td>
|
1779
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1891
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 241</span>
|
1780
1892
|
|
1781
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_static'>static</span><span class='semicolon'>;</span> <span class='
|
1893
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_static'>static</span><span class='semicolon'>;</span> <span class='symbol'>:AUTOC_STATIC</span> <span class='kw'>end</span></pre>
|
1782
1894
|
</td>
|
1783
1895
|
</tr>
|
1784
1896
|
</table>
|
@@ -1821,10 +1933,10 @@
|
|
1821
1933
|
<pre class="lines">
|
1822
1934
|
|
1823
1935
|
|
1824
|
-
|
1936
|
+
257</pre>
|
1825
1937
|
</td>
|
1826
1938
|
<td>
|
1827
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1939
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 257</span>
|
1828
1940
|
|
1829
1941
|
<span class='kw'>def</span> <span class='id identifier rubyid_static?'>static?</span><span class='semicolon'>;</span> <span class='ivar'>@visibility</span> <span class='op'>==</span> <span class='symbol'>:static</span> <span class='kw'>end</span></pre>
|
1830
1942
|
</td>
|
@@ -1847,18 +1959,18 @@
|
|
1847
1959
|
<pre class="lines">
|
1848
1960
|
|
1849
1961
|
|
1850
|
-
|
1851
|
-
|
1852
|
-
|
1853
|
-
|
1854
|
-
|
1855
|
-
|
1856
|
-
|
1857
|
-
|
1858
|
-
|
1962
|
+
211
|
1963
|
+
212
|
1964
|
+
213
|
1965
|
+
214
|
1966
|
+
215
|
1967
|
+
216
|
1968
|
+
217
|
1969
|
+
218
|
1970
|
+
219</pre>
|
1859
1971
|
</td>
|
1860
1972
|
<td>
|
1861
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1973
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 211</span>
|
1862
1974
|
|
1863
1975
|
<span class='kw'>def</span> <span class='id identifier rubyid_write_decls'>write_decls</span><span class='lparen'>(</span><span class='id identifier rubyid_stream'>stream</span><span class='rparen'>)</span>
|
1864
1976
|
<span class='kw'>if</span> <span class='id identifier rubyid_private?'>private?</span>
|
@@ -1889,16 +2001,16 @@
|
|
1889
2001
|
<pre class="lines">
|
1890
2002
|
|
1891
2003
|
|
1892
|
-
|
1893
|
-
|
1894
|
-
|
1895
|
-
|
1896
|
-
|
1897
|
-
|
1898
|
-
|
2004
|
+
221
|
2005
|
+
222
|
2006
|
+
223
|
2007
|
+
224
|
2008
|
+
225
|
2009
|
+
226
|
2010
|
+
227</pre>
|
1899
2011
|
</td>
|
1900
2012
|
<td>
|
1901
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
2013
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 221</span>
|
1902
2014
|
|
1903
2015
|
<span class='kw'>def</span> <span class='id identifier rubyid_write_defs'>write_defs</span><span class='lparen'>(</span><span class='id identifier rubyid_stream'>stream</span><span class='rparen'>)</span>
|
1904
2016
|
<span class='kw'>if</span> <span class='id identifier rubyid_public?'>public?</span> <span class='op'>||</span> <span class='id identifier rubyid_private?'>private?</span>
|
@@ -1927,15 +2039,15 @@
|
|
1927
2039
|
<pre class="lines">
|
1928
2040
|
|
1929
2041
|
|
1930
|
-
|
1931
|
-
|
1932
|
-
|
1933
|
-
|
1934
|
-
|
1935
|
-
|
2042
|
+
204
|
2043
|
+
205
|
2044
|
+
206
|
2045
|
+
207
|
2046
|
+
208
|
2047
|
+
209</pre>
|
1936
2048
|
</td>
|
1937
2049
|
<td>
|
1938
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
2050
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 204</span>
|
1939
2051
|
|
1940
2052
|
<span class='kw'>def</span> <span class='id identifier rubyid_write_intf'>write_intf</span><span class='lparen'>(</span><span class='id identifier rubyid_stream'>stream</span><span class='rparen'>)</span>
|
1941
2053
|
<span class='kw'>if</span> <span class='id identifier rubyid_public?'>public?</span>
|
@@ -1953,9 +2065,9 @@
|
|
1953
2065
|
</div>
|
1954
2066
|
|
1955
2067
|
<div id="footer">
|
1956
|
-
Generated on
|
2068
|
+
Generated on Thu Mar 17 13:32:50 2016 by
|
1957
2069
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1958
|
-
0.8.7.6 (ruby-2.
|
2070
|
+
0.8.7.6 (ruby-2.2.4).
|
1959
2071
|
</div>
|
1960
2072
|
|
1961
2073
|
</body>
|