dummy_extended_4ruby-alpha0.1.3 1.0.1 → 1.0.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 +4 -4
- data/lib/dummy_extended_4ruby-alpha0.1.3.rb +18 -1
- data/lib/dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_1_9.so +0 -0
- data/lib/dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_2_0.so +0 -0
- data/lib/dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_2_1.so +0 -0
- data/lib/dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_2_2.so +0 -0
- data/lib/dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_2_3.so +0 -0
- data/lib/dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_2_4.so +0 -0
- data/lib/dummy_extended_4ruby-alpha0.1.3/{Library/libdummy_extended-alpha0.1.3.so → libdummy_extended-alpha0.1.3.so} +0 -0
- data/lib/interface_file/dummy_extended_4ruby-alpha0.1.3_interface_file.rb +824 -0
- metadata +11 -5
- data/lib/dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby.so +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07b8749021d8d291066e49152a9089ba4375020e
|
4
|
+
data.tar.gz: 13edba9511a53f74f153767e300eb0e7adf1a6e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd3a6d052e155a93f9dc792f4c281c360a82bead6991bb4a3294c20c3641d1c93ddba321aa89eab629a190f213a94614695f6562ea099e7dba16ef5af7ca83df
|
7
|
+
data.tar.gz: db2bb516a067df812e4977522dfa275e941c76dde678fb289cc55ab769ded630565bfa7369d28237fce5abd3e5dd9d1ee9f27a680e89aa81346b936c5da2c4a8
|
@@ -17,4 +17,21 @@
|
|
17
17
|
bad doclink : DOCLINK_NOT_FOUND
|
18
18
|
=end
|
19
19
|
|
20
|
-
|
20
|
+
|
21
|
+
if (RUBY_VERSION < '1.9.0')
|
22
|
+
raise FatalError.new("This gem does not support the running Ruby Version (too old)")
|
23
|
+
elsif (RUBY_VERSION[0] == '2' && RUBY_VERSION[2] == '4')
|
24
|
+
require "dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_2_4"
|
25
|
+
elsif (RUBY_VERSION[0] == '2' && RUBY_VERSION[2] == '3')
|
26
|
+
require "dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_2_3"
|
27
|
+
elsif (RUBY_VERSION[0] == '2' && RUBY_VERSION[2] == '2')
|
28
|
+
require "dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_2_2"
|
29
|
+
elsif (RUBY_VERSION[0] == '2' && RUBY_VERSION[2] == '1')
|
30
|
+
require "dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_2_1"
|
31
|
+
elsif (RUBY_VERSION[0] == '2' && RUBY_VERSION[2] == '0')
|
32
|
+
require "dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_2_0"
|
33
|
+
elsif (RUBY_VERSION[0] == '1' && RUBY_VERSION[2] == '9')
|
34
|
+
require "dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_1_9"
|
35
|
+
else
|
36
|
+
raise FatalError.new("This gem does not support yet the running Ruby Version")
|
37
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
@@ -0,0 +1,824 @@
|
|
1
|
+
=begin
|
2
|
+
This interface file for the Ruby Wrapper serves as a reference for calling the functions of the dummy_extended C Upil Library.
|
3
|
+
It also describes the usable constants and enumerations.
|
4
|
+
It is provided for information purposes only and must not be included in your source code.
|
5
|
+
=end
|
6
|
+
|
7
|
+
|
8
|
+
=begin
|
9
|
+
Dummy_Extended library
|
10
|
+
|
11
|
+
@version alpha0.1.3
|
12
|
+
@status Internal testing
|
13
|
+
|
14
|
+
@copyright OP3FT 2012-2017
|
15
|
+
|
16
|
+
* This is a dummy_extended library which permits to do dummy_extended things that
|
17
|
+
* are not available in the other dummy_extended libraries.
|
18
|
+
* bad doclink : DOCLINK_NOT_FOUND
|
19
|
+
=end
|
20
|
+
|
21
|
+
|
22
|
+
module XXX
|
23
|
+
include XXX
|
24
|
+
|
25
|
+
/**
|
26
|
+
* Library section
|
27
|
+
* This section covers library initialization and finalization.
|
28
|
+
*
|
29
|
+
*/
|
30
|
+
|
31
|
+
/* Beginning of section: Library section */
|
32
|
+
|
33
|
+
/**
|
34
|
+
* Library States
|
35
|
+
* Library states returned by the @see library_get_state() function.
|
36
|
+
*/
|
37
|
+
|
38
|
+
/**
|
39
|
+
* Undefined
|
40
|
+
* Undefined.
|
41
|
+
* @value 1010000
|
42
|
+
*/
|
43
|
+
const LIBRARY_STATE_UNDEFINED = 1010000;
|
44
|
+
|
45
|
+
/**
|
46
|
+
* Not initialized
|
47
|
+
* Library is not initialized.
|
48
|
+
* @value 1010001
|
49
|
+
*/
|
50
|
+
const LIBRARY_STATE_NOT_INITIALIZED = 1010001;
|
51
|
+
|
52
|
+
/**
|
53
|
+
* initialization has failed
|
54
|
+
* The initialization of the library failed.
|
55
|
+
* @value 1010002
|
56
|
+
*/
|
57
|
+
const LIBRARY_STATE_INITIALIZATION_HAS_FAILED = 1010002;
|
58
|
+
|
59
|
+
/**
|
60
|
+
* Initialized
|
61
|
+
* Library is initialized.
|
62
|
+
* @value 1010003
|
63
|
+
*/
|
64
|
+
const LIBRARY_STATE_INITIALIZED = 1010003;
|
65
|
+
|
66
|
+
/**
|
67
|
+
* Finalization has failed
|
68
|
+
* The finalization of the library failed.
|
69
|
+
* @value 1010004
|
70
|
+
*/
|
71
|
+
const LIBRARY_STATE_FINALIZATION_HAS_FAILED = 1010004;
|
72
|
+
|
73
|
+
/**
|
74
|
+
* Finalized
|
75
|
+
* Library is finalized.
|
76
|
+
* @value 1010005
|
77
|
+
*/
|
78
|
+
const LIBRARY_STATE_FINALIZED = 1010005;
|
79
|
+
|
80
|
+
|
81
|
+
/**
|
82
|
+
* Library initialization errors
|
83
|
+
* Library initialization errors returned by the @see library_get_state() function.
|
84
|
+
*/
|
85
|
+
|
86
|
+
/**
|
87
|
+
* Undefined
|
88
|
+
* Undefined.
|
89
|
+
* @value 1020000
|
90
|
+
*/
|
91
|
+
const LIBRARY_INITIALIZATION_ERROR_UNDEFINED = 1020000;
|
92
|
+
|
93
|
+
/**
|
94
|
+
* Invalid state
|
95
|
+
* Invalid state.
|
96
|
+
* @value 1020001
|
97
|
+
*/
|
98
|
+
const LIBRARY_INITIALIZATION_ERROR_INVALID_STATE = 1020001;
|
99
|
+
|
100
|
+
/**
|
101
|
+
* NULL parameter
|
102
|
+
* NULL parameter.
|
103
|
+
* @value 1020002
|
104
|
+
*/
|
105
|
+
const LIBRARY_INITIALIZATION_ERROR_NULL_PARAMETER = 1020002;
|
106
|
+
|
107
|
+
/**
|
108
|
+
* Invalid library version length
|
109
|
+
* Invalid library version length.
|
110
|
+
* @value 1020003
|
111
|
+
*/
|
112
|
+
const LIBRARY_INITIALIZATION_ERROR_INVALID_LIBRARY_VERSION_LENGTH = 1020003;
|
113
|
+
|
114
|
+
/**
|
115
|
+
* Invalid library version
|
116
|
+
* Version of the library is invalid.
|
117
|
+
* @value 1020004
|
118
|
+
*/
|
119
|
+
const LIBRARY_INITIALIZATION_ERROR_INVALID_LIBRARY_VERSION = 1020004;
|
120
|
+
|
121
|
+
/**
|
122
|
+
* FCT fleet is already cruising
|
123
|
+
* FCT fleet is already cruising.
|
124
|
+
* @value 1020005
|
125
|
+
*/
|
126
|
+
const LIBRARY_INITIALIZATION_ERROR_FCT_FLEET_IS_ALREADY_CRUISING = 1020005;
|
127
|
+
|
128
|
+
/**
|
129
|
+
* FCT takeoff has failed
|
130
|
+
* FCT takeoff has failed.
|
131
|
+
* @value 1020006
|
132
|
+
*/
|
133
|
+
const LIBRARY_INITIALIZATION_ERROR_FCT_TAKEOFF_HAS_FAILED = 1020006;
|
134
|
+
|
135
|
+
/**
|
136
|
+
* No error
|
137
|
+
* No library initialization error.
|
138
|
+
* @value 1020007
|
139
|
+
*/
|
140
|
+
const LIBRARY_INITIALIZATION_ERROR_NO_ERROR = 1020007;
|
141
|
+
|
142
|
+
/**
|
143
|
+
* Internal range begin
|
144
|
+
* Start of the internal range of library-initialization errors.
|
145
|
+
* @value 1021000
|
146
|
+
*/
|
147
|
+
const LIBRARY_INITIALIZATION_ERROR_INTERNAL_RANGE_BEGIN = 1021000;
|
148
|
+
|
149
|
+
|
150
|
+
/**
|
151
|
+
* Library finalization errors
|
152
|
+
* Library finalization errors returned by the @see library_get_state() function.
|
153
|
+
*/
|
154
|
+
|
155
|
+
/**
|
156
|
+
* Undefined
|
157
|
+
* Undefined.
|
158
|
+
* @value 1030000
|
159
|
+
*/
|
160
|
+
const LIBRARY_FINALIZATION_ERROR_UNDEFINED = 1030000;
|
161
|
+
|
162
|
+
/**
|
163
|
+
* Invalid state
|
164
|
+
* Invalid state.
|
165
|
+
* @value 1030001
|
166
|
+
*/
|
167
|
+
const LIBRARY_FINALIZATION_ERROR_INVALID_STATE = 1030001;
|
168
|
+
|
169
|
+
/**
|
170
|
+
* FCT fleet is not cruising
|
171
|
+
* FCT fleet is not cruising.
|
172
|
+
* @value 1030002
|
173
|
+
*/
|
174
|
+
const LIBRARY_FINALIZATION_ERROR_FCT_FLEET_IS_NOT_CRUISING = 1030002;
|
175
|
+
|
176
|
+
/**
|
177
|
+
* FCT fleet is still cruising
|
178
|
+
* FCT fleet is still cruising (finalize should be call by the same thread than initialize).
|
179
|
+
* @value 1030003
|
180
|
+
*/
|
181
|
+
const LIBRARY_FINALIZATION_ERROR_FCT_FLEET_IS_STILL_CRUISING = 1030003;
|
182
|
+
|
183
|
+
/**
|
184
|
+
* No error
|
185
|
+
* No library finalization error.
|
186
|
+
* @value 1030004
|
187
|
+
*/
|
188
|
+
const LIBRARY_FINALIZATION_ERROR_NO_ERROR = 1030004;
|
189
|
+
|
190
|
+
/**
|
191
|
+
* Internal range begin
|
192
|
+
* Start of the internal range of library-finalization errors.
|
193
|
+
* @value 1031000
|
194
|
+
*/
|
195
|
+
const LIBRARY_FINALIZATION_ERROR_INTERNAL_RANGE_BEGIN = 1031000;
|
196
|
+
|
197
|
+
|
198
|
+
/**
|
199
|
+
* Get library state
|
200
|
+
*
|
201
|
+
* Gets the library state.
|
202
|
+
*
|
203
|
+
|
204
|
+
* @return bool Return value Returns true if the function succeeds, false if the
|
205
|
+
* function fails.
|
206
|
+
*/
|
207
|
+
function library_get_state (&$libraryState,
|
208
|
+
&$initializationError,
|
209
|
+
&$finalizationError)
|
210
|
+
{
|
211
|
+
/* See note at the beginning of this file */
|
212
|
+
}
|
213
|
+
|
214
|
+
/**
|
215
|
+
* Undefined free ID
|
216
|
+
* Undefined free ID.
|
217
|
+
* It has to be verified that the variable that will be passed as parameter
|
218
|
+
* to a 'library-free-arguments' function call is different to this value
|
219
|
+
* @value 0
|
220
|
+
*/
|
221
|
+
const FREE_ID_UNDEFINED = 0;
|
222
|
+
|
223
|
+
/* End of section: Library section */
|
224
|
+
|
225
|
+
/**
|
226
|
+
* First section
|
227
|
+
* This is a multiline comment.
|
228
|
+
* This should be on the second line
|
229
|
+
* See this enumeration: @see AN_ENUMERATION_....
|
230
|
+
*
|
231
|
+
*/
|
232
|
+
|
233
|
+
/* Beginning of section: First section */
|
234
|
+
|
235
|
+
/* Beginning of subsection: First subsection */
|
236
|
+
|
237
|
+
/**
|
238
|
+
* The answer to THE question
|
239
|
+
* You should read THE book to understand.
|
240
|
+
* See this value: @see AN_ENUMERATION_ZERO.
|
241
|
+
* @value 42
|
242
|
+
*/
|
243
|
+
const A_CONSTANT = 42;
|
244
|
+
|
245
|
+
/**
|
246
|
+
* Max item count in the collection
|
247
|
+
* Same as the total number of fingers we have:
|
248
|
+
* - Left hand
|
249
|
+
* - Right hand
|
250
|
+
* See this constant: @see A_CONSTANT.
|
251
|
+
* @value 10
|
252
|
+
*/
|
253
|
+
const COLLECTION_COUNT_MAX = 10;
|
254
|
+
|
255
|
+
/**
|
256
|
+
* Details on an-enumeration
|
257
|
+
* This is a short comment. doclink : @see A_DUPLICATED_ENUMERATION_...
|
258
|
+
*/
|
259
|
+
|
260
|
+
/**
|
261
|
+
* Zero
|
262
|
+
* This is less than one.
|
263
|
+
* Same as nothing...
|
264
|
+
* doclink : @see library_initialize()
|
265
|
+
* @value 10
|
266
|
+
*/
|
267
|
+
const AN_ENUMERATION_ZERO = 10;
|
268
|
+
|
269
|
+
/**
|
270
|
+
* One
|
271
|
+
* Is this a prime?
|
272
|
+
* I'll never know...
|
273
|
+
* @value 11
|
274
|
+
*/
|
275
|
+
const AN_ENUMERATION_ONE = 11;
|
276
|
+
|
277
|
+
/**
|
278
|
+
* One plus one
|
279
|
+
* Can you count?
|
280
|
+
* I can!
|
281
|
+
* @value 12
|
282
|
+
*/
|
283
|
+
const AN_ENUMERATION_TWO = 12;
|
284
|
+
|
285
|
+
/**
|
286
|
+
* Three
|
287
|
+
* Same as the number
|
288
|
+
* of lines in
|
289
|
+
* this comment
|
290
|
+
* @value 13
|
291
|
+
*/
|
292
|
+
const AN_ENUMERATION_THREE = 13;
|
293
|
+
|
294
|
+
|
295
|
+
/**
|
296
|
+
* A duplicated enumeration
|
297
|
+
* You should not repeat yourself... See this keyword: null
|
298
|
+
*/
|
299
|
+
|
300
|
+
/**
|
301
|
+
* Zero
|
302
|
+
* This is less than one.
|
303
|
+
* Same as nothing...
|
304
|
+
* doclink : @see library_initialize()
|
305
|
+
* @value 10
|
306
|
+
*/
|
307
|
+
const A_DUPLICATED_ENUMERATION_ZERO = 10;
|
308
|
+
|
309
|
+
/**
|
310
|
+
* One
|
311
|
+
* Is this a prime?
|
312
|
+
* I'll never know...
|
313
|
+
* @value 11
|
314
|
+
*/
|
315
|
+
const A_DUPLICATED_ENUMERATION_ONE = 11;
|
316
|
+
|
317
|
+
/**
|
318
|
+
* One plus one
|
319
|
+
* Can you count?
|
320
|
+
* I can!
|
321
|
+
* @value 12
|
322
|
+
*/
|
323
|
+
const A_DUPLICATED_ENUMERATION_TWO = 12;
|
324
|
+
|
325
|
+
/**
|
326
|
+
* Three
|
327
|
+
* Same as the number
|
328
|
+
* of lines in
|
329
|
+
* this comment
|
330
|
+
* @value 13
|
331
|
+
*/
|
332
|
+
const A_DUPLICATED_ENUMERATION_THREE = 13;
|
333
|
+
|
334
|
+
|
335
|
+
/**
|
336
|
+
* Record without Objects
|
337
|
+
* This is the simplest record I could think of
|
338
|
+
* Also see this one: @see Image
|
339
|
+
*/
|
340
|
+
class RecordWithoutObjects
|
341
|
+
{
|
342
|
+
/**
|
343
|
+
* @var bool The boolean
|
344
|
+
* See also: @see @see Image::$red
|
345
|
+
*/
|
346
|
+
public $theBoolean;
|
347
|
+
|
348
|
+
/**
|
349
|
+
* @var bool The second boolean
|
350
|
+
* See also: @see @see Image::$red
|
351
|
+
*/
|
352
|
+
public $theSecondBoolean;
|
353
|
+
|
354
|
+
/**
|
355
|
+
* @var bool The third boolean
|
356
|
+
* See also: @see @see Image::$red
|
357
|
+
*/
|
358
|
+
public $theThirdBoolean;
|
359
|
+
|
360
|
+
/**
|
361
|
+
* @var int The 32 bits integer
|
362
|
+
* We only deal with 32 bits values
|
363
|
+
* We don't need more
|
364
|
+
* See also: @see AN_ENUMERATION_THREE
|
365
|
+
*/
|
366
|
+
public $theInteger32;
|
367
|
+
|
368
|
+
}
|
369
|
+
|
370
|
+
/**
|
371
|
+
* Record of primitives
|
372
|
+
* This is the simplest record I could think of
|
373
|
+
* Also see this one: @see Image
|
374
|
+
*/
|
375
|
+
class RecordOfPrimitives
|
376
|
+
{
|
377
|
+
/**
|
378
|
+
* @var bool The boolean
|
379
|
+
* See also: @see @see Image::$red
|
380
|
+
*/
|
381
|
+
public $theBoolean;
|
382
|
+
|
383
|
+
/**
|
384
|
+
* @var int The 32 bits integer
|
385
|
+
* We only deal with 32 bits values
|
386
|
+
* We don't need more
|
387
|
+
* See also: @see AN_ENUMERATION_THREE
|
388
|
+
*/
|
389
|
+
public $theInteger32;
|
390
|
+
|
391
|
+
/**
|
392
|
+
* @var \Frogans\Upil\UpilBuffer The buffer
|
393
|
+
* For storing arbitrary binary data
|
394
|
+
*/
|
395
|
+
public $theBuffer;
|
396
|
+
|
397
|
+
}
|
398
|
+
|
399
|
+
/**
|
400
|
+
* A bitmap image
|
401
|
+
* Each plane is stored in its own buffer.
|
402
|
+
* See also: @see @see RecordOfPrimitives::$theBuffer
|
403
|
+
*/
|
404
|
+
class Image
|
405
|
+
{
|
406
|
+
/**
|
407
|
+
* @var \Frogans\Upil\UpilBuffer The red plane
|
408
|
+
* Beware of the bull
|
409
|
+
*/
|
410
|
+
public $red;
|
411
|
+
|
412
|
+
/**
|
413
|
+
* @var \Frogans\Upil\UpilBuffer The green plane
|
414
|
+
* The color of a frog...
|
415
|
+
* ...ans?
|
416
|
+
*/
|
417
|
+
public $green;
|
418
|
+
|
419
|
+
/**
|
420
|
+
* @var \Frogans\Upil\UpilBuffer The blue plane
|
421
|
+
* The color of the sky
|
422
|
+
* in good weather conditions
|
423
|
+
*/
|
424
|
+
public $blue;
|
425
|
+
|
426
|
+
/**
|
427
|
+
* @var \Frogans\Upil\UpilBuffer The alpha plane
|
428
|
+
* Visible or invisible
|
429
|
+
* or anything in the middle
|
430
|
+
*/
|
431
|
+
public $alpha;
|
432
|
+
|
433
|
+
/**
|
434
|
+
* @var null The strange one
|
435
|
+
* A rather strange field in an image record...
|
436
|
+
*/
|
437
|
+
public $strange;
|
438
|
+
|
439
|
+
}
|
440
|
+
|
441
|
+
/**
|
442
|
+
* A collection of booleans
|
443
|
+
* So many of them...
|
444
|
+
* See also: @see @see Image::$green.
|
445
|
+
*/
|
446
|
+
class CollectionOfBoolean
|
447
|
+
{
|
448
|
+
/**
|
449
|
+
* @var bool[] The items
|
450
|
+
*/
|
451
|
+
public $items;
|
452
|
+
|
453
|
+
}
|
454
|
+
|
455
|
+
/**
|
456
|
+
* A collection of 32 bits integers
|
457
|
+
* So many of them...
|
458
|
+
* See also: @see @see Image::$green.
|
459
|
+
*/
|
460
|
+
class CollectionOfInteger32
|
461
|
+
{
|
462
|
+
/**
|
463
|
+
* @var int[] The items
|
464
|
+
*/
|
465
|
+
public $items;
|
466
|
+
|
467
|
+
}
|
468
|
+
|
469
|
+
/**
|
470
|
+
* A collection of buffers
|
471
|
+
* So many of them...
|
472
|
+
*/
|
473
|
+
class ColOfBuffers
|
474
|
+
{
|
475
|
+
/**
|
476
|
+
* @var \Frogans\Upil\UpilBuffer[] The items
|
477
|
+
*/
|
478
|
+
public $items;
|
479
|
+
|
480
|
+
}
|
481
|
+
|
482
|
+
/**
|
483
|
+
* A collection of record of primitives
|
484
|
+
* See: @see RecordOfPrimitives.
|
485
|
+
*/
|
486
|
+
class CollectionOfRecordOfPrimitives
|
487
|
+
{
|
488
|
+
/**
|
489
|
+
* @var null[] The items
|
490
|
+
*/
|
491
|
+
public $items;
|
492
|
+
|
493
|
+
}
|
494
|
+
|
495
|
+
/**
|
496
|
+
* A collection of collection of integer32
|
497
|
+
* So many of them...
|
498
|
+
*/
|
499
|
+
class CollectionOfCollectionOfInteger32
|
500
|
+
{
|
501
|
+
/**
|
502
|
+
* @var null[] The items
|
503
|
+
*/
|
504
|
+
public $items;
|
505
|
+
|
506
|
+
}
|
507
|
+
|
508
|
+
/**
|
509
|
+
* A collection of collection of record of primitives
|
510
|
+
* So many of them...
|
511
|
+
*/
|
512
|
+
class CollectionOfCollectionOfRecordOfPrimitives
|
513
|
+
{
|
514
|
+
/**
|
515
|
+
* @var null[] The items
|
516
|
+
*/
|
517
|
+
public $items;
|
518
|
+
|
519
|
+
}
|
520
|
+
|
521
|
+
/**
|
522
|
+
* Record of non-primitive types
|
523
|
+
* Not trivial
|
524
|
+
*/
|
525
|
+
class RecordOfNonPrimitives
|
526
|
+
{
|
527
|
+
/**
|
528
|
+
* @var null The collection of 32 bits integers
|
529
|
+
* This is too short comment
|
530
|
+
*/
|
531
|
+
public $theColOfInt;
|
532
|
+
|
533
|
+
/**
|
534
|
+
* @var null The collection of buffers
|
535
|
+
* This is too short comment
|
536
|
+
*/
|
537
|
+
public $theColOfBuffer;
|
538
|
+
|
539
|
+
/**
|
540
|
+
* @var null The record
|
541
|
+
* This is a short comment
|
542
|
+
*/
|
543
|
+
public $theRec;
|
544
|
+
|
545
|
+
}
|
546
|
+
|
547
|
+
/**
|
548
|
+
* Copy a boolean
|
549
|
+
*
|
550
|
+
* This is a multiline comment.
|
551
|
+
* This should be on the second line
|
552
|
+
* this should be on the third.
|
553
|
+
*
|
554
|
+
|
555
|
+
* @return bool The return value true if success, false otherwise
|
556
|
+
*/
|
557
|
+
function copy_boolean ($orig,
|
558
|
+
&$copy)
|
559
|
+
{
|
560
|
+
/* See note at the beginning of this file */
|
561
|
+
}
|
562
|
+
|
563
|
+
/**
|
564
|
+
* Copy a the first 32 bits integers and add it with the second integer
|
565
|
+
*
|
566
|
+
* This is a multiline comment.
|
567
|
+
* This should be on the second line
|
568
|
+
* this should be on the third.
|
569
|
+
*
|
570
|
+
|
571
|
+
* @return int The value of the sum So any integer32
|
572
|
+
*/
|
573
|
+
function copy_integer32_and_add ($orig1,
|
574
|
+
$orig2,
|
575
|
+
&$copy1,
|
576
|
+
&$copy2)
|
577
|
+
{
|
578
|
+
/* See note at the beginning of this file */
|
579
|
+
}
|
580
|
+
|
581
|
+
/**
|
582
|
+
* Waits for the specific following buffer [1,2,3,4,5]
|
583
|
+
*
|
584
|
+
* And only this one!
|
585
|
+
*
|
586
|
+
|
587
|
+
* @return bool Does the buffer pass the test? true if success, false otherwise
|
588
|
+
*/
|
589
|
+
function test_the_buffer (UpilBuffer $tested_buffer)
|
590
|
+
{
|
591
|
+
/* See note at the beginning of this file */
|
592
|
+
}
|
593
|
+
|
594
|
+
/**
|
595
|
+
* Deeply copies a buffer
|
596
|
+
*
|
597
|
+
* This is a multiline comment.
|
598
|
+
* This should be on the second line
|
599
|
+
* this should be on the third.
|
600
|
+
*
|
601
|
+
|
602
|
+
* @return bool The return value true if success, false otherwise
|
603
|
+
*/
|
604
|
+
function deepcopy_buffer (UpilBuffer $orig,
|
605
|
+
UpilBuffer &$copy)
|
606
|
+
{
|
607
|
+
/* See note at the beginning of this file */
|
608
|
+
}
|
609
|
+
|
610
|
+
/**
|
611
|
+
* Copies a record without objects
|
612
|
+
*
|
613
|
+
* This is a multiline comment.
|
614
|
+
* This should be on the second line
|
615
|
+
* this should be on the third.
|
616
|
+
*
|
617
|
+
|
618
|
+
* @return bool The return value true if success, false otherwise
|
619
|
+
*/
|
620
|
+
function copy_record_without_objects (null $orig,
|
621
|
+
null &$copy)
|
622
|
+
{
|
623
|
+
/* See note at the beginning of this file */
|
624
|
+
}
|
625
|
+
|
626
|
+
/**
|
627
|
+
* Deeply copies a record of primitives
|
628
|
+
*
|
629
|
+
* This is a multiline comment.
|
630
|
+
* This should be on the second line
|
631
|
+
* this should be on the third.
|
632
|
+
*
|
633
|
+
|
634
|
+
* @return bool The return value true if success, false otherwise
|
635
|
+
*/
|
636
|
+
function deepcopy_record_of_primitives (null $orig,
|
637
|
+
null &$copy)
|
638
|
+
{
|
639
|
+
/* See note at the beginning of this file */
|
640
|
+
}
|
641
|
+
|
642
|
+
/**
|
643
|
+
* Deeply copies a collection of boolean
|
644
|
+
*
|
645
|
+
* This is a multiline comment.
|
646
|
+
* This should be on the second line
|
647
|
+
* this should be on the third.
|
648
|
+
*
|
649
|
+
|
650
|
+
* @return bool The return value true if success, false otherwise
|
651
|
+
*/
|
652
|
+
function deepcopy_collection_of_boolean (null $orig,
|
653
|
+
null &$copy)
|
654
|
+
{
|
655
|
+
/* See note at the beginning of this file */
|
656
|
+
}
|
657
|
+
|
658
|
+
/**
|
659
|
+
* Deeply copies a collection of 32 bits integers
|
660
|
+
*
|
661
|
+
* This is a multiline comment.
|
662
|
+
* This should be on the second line
|
663
|
+
* this should be on the third.
|
664
|
+
*
|
665
|
+
|
666
|
+
* @return bool The return value true if success, false otherwise
|
667
|
+
*/
|
668
|
+
function deepcopy_collection_of_integer32 (null $orig,
|
669
|
+
null &$copy)
|
670
|
+
{
|
671
|
+
/* See note at the beginning of this file */
|
672
|
+
}
|
673
|
+
|
674
|
+
/**
|
675
|
+
* Deeply copies a collection of buffers
|
676
|
+
*
|
677
|
+
* This is a multiline comment.
|
678
|
+
* This should be on the second line
|
679
|
+
* this should be on the third.
|
680
|
+
*
|
681
|
+
|
682
|
+
* @return bool The return value true if success, false otherwise
|
683
|
+
*/
|
684
|
+
function deepcopy_collection_of_buffers (null $orig,
|
685
|
+
null &$copy)
|
686
|
+
{
|
687
|
+
/* See note at the beginning of this file */
|
688
|
+
}
|
689
|
+
|
690
|
+
/**
|
691
|
+
* Deeply copies a collection of record of primitives
|
692
|
+
*
|
693
|
+
* This is a multiline comment.
|
694
|
+
* This should be on the second line
|
695
|
+
* this should be on the third.
|
696
|
+
*
|
697
|
+
|
698
|
+
* @return bool The return value true if success, false otherwise
|
699
|
+
*/
|
700
|
+
function deepcopy_collection_of_record_of_primitives (null $orig,
|
701
|
+
null &$copy)
|
702
|
+
{
|
703
|
+
/* See note at the beginning of this file */
|
704
|
+
}
|
705
|
+
|
706
|
+
/**
|
707
|
+
* Deeply copies a collection of collection of integer32
|
708
|
+
*
|
709
|
+
* This is a multiline comment.
|
710
|
+
* This should be on the second line
|
711
|
+
* this should be on the third.
|
712
|
+
*
|
713
|
+
|
714
|
+
* @return bool The return value true if success, false otherwise
|
715
|
+
*/
|
716
|
+
function deepcopy_collection_of_collection_of_integer32 (null $orig,
|
717
|
+
null &$copy)
|
718
|
+
{
|
719
|
+
/* See note at the beginning of this file */
|
720
|
+
}
|
721
|
+
|
722
|
+
/**
|
723
|
+
* Create a collection of collection of record of primitives from two collections of record of primitives
|
724
|
+
*
|
725
|
+
* This is a multiline comment.
|
726
|
+
* This should be on the second line
|
727
|
+
* this should be on the third.
|
728
|
+
*
|
729
|
+
|
730
|
+
* @return bool The return value true if success, false otherwise
|
731
|
+
*/
|
732
|
+
function deepcopy_collection_of_collection_of_record_of_primitives (null $orig,
|
733
|
+
null &$copy)
|
734
|
+
{
|
735
|
+
/* See note at the beginning of this file */
|
736
|
+
}
|
737
|
+
|
738
|
+
/**
|
739
|
+
* Deeply copies a record of non primitives
|
740
|
+
*
|
741
|
+
* This is a multiline comment.
|
742
|
+
* This should be on the second line
|
743
|
+
* this should be on the third.
|
744
|
+
*
|
745
|
+
|
746
|
+
* @return bool The return value true if success, false otherwise
|
747
|
+
*/
|
748
|
+
function deepcopy_record_of_non_primitives (null $orig,
|
749
|
+
null &$copy)
|
750
|
+
{
|
751
|
+
/* See note at the beginning of this file */
|
752
|
+
}
|
753
|
+
|
754
|
+
/**
|
755
|
+
* Get a 320x480 image
|
756
|
+
*
|
757
|
+
* This function can be use for efficiency measurement.
|
758
|
+
* This should be on the second line
|
759
|
+
* this should be on the third.
|
760
|
+
*
|
761
|
+
|
762
|
+
* @return bool The return value true if success, false otherwise
|
763
|
+
*/
|
764
|
+
function get_image_320x480 (null &$image)
|
765
|
+
{
|
766
|
+
/* See note at the beginning of this file */
|
767
|
+
}
|
768
|
+
|
769
|
+
/**
|
770
|
+
* Mixing Things Together
|
771
|
+
*
|
772
|
+
* Used to test if everything goes right with different in and out parameters of different type passed in random order.
|
773
|
+
* This is not about copy but about composition / decomposition.
|
774
|
+
* Look at the name to understand what is used to build what.
|
775
|
+
*
|
776
|
+
|
777
|
+
* @return bool The return value true if success, false otherwise
|
778
|
+
*/
|
779
|
+
function mixing_things_together ($b,
|
780
|
+
null &$aBC,
|
781
|
+
UpilBuffer $c,
|
782
|
+
$a,
|
783
|
+
UpilBuffer &$f,
|
784
|
+
&$d,
|
785
|
+
null $dEF,
|
786
|
+
&$e,
|
787
|
+
null $gHI,
|
788
|
+
&$g,
|
789
|
+
&$i,
|
790
|
+
&$h,
|
791
|
+
UpilBuffer $j,
|
792
|
+
UpilBuffer $k,
|
793
|
+
null &$cJK,
|
794
|
+
null $lM,
|
795
|
+
null &$m,
|
796
|
+
null &$l,
|
797
|
+
null $nOP,
|
798
|
+
UpilBuffer &$p,
|
799
|
+
UpilBuffer &$n,
|
800
|
+
UpilBuffer &$o,
|
801
|
+
null $qR,
|
802
|
+
null &$q,
|
803
|
+
null &$r)
|
804
|
+
{
|
805
|
+
/* See note at the beginning of this file */
|
806
|
+
}
|
807
|
+
|
808
|
+
/* End of subsection: First subsection */
|
809
|
+
|
810
|
+
/* Beginning of subsection: Second subsection */
|
811
|
+
|
812
|
+
/**
|
813
|
+
* Maximum heap size
|
814
|
+
* The heap size should not go above this limit
|
815
|
+
* @value 65536
|
816
|
+
*/
|
817
|
+
const MAX_HEAP_SIZE = 65536;
|
818
|
+
|
819
|
+
/* End of subsection: Second subsection */
|
820
|
+
|
821
|
+
/* End of section: First section */
|
822
|
+
|
823
|
+
|
824
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dummy_extended_4ruby-alpha0.1.3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OP3FT
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.0.
|
19
|
+
version: 1.0.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.0.
|
26
|
+
version: 1.0.1
|
27
27
|
description: This module wraps the dummy_extended library allowing to access it from
|
28
28
|
Ruby applications
|
29
29
|
email: x.x@op3ft.org
|
@@ -32,8 +32,14 @@ extensions: []
|
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
34
|
- lib/dummy_extended_4ruby-alpha0.1.3.rb
|
35
|
-
- lib/dummy_extended_4ruby-alpha0.1.3/
|
36
|
-
- lib/dummy_extended_4ruby-alpha0.1.3/
|
35
|
+
- lib/dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_1_9.so
|
36
|
+
- lib/dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_2_0.so
|
37
|
+
- lib/dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_2_1.so
|
38
|
+
- lib/dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_2_2.so
|
39
|
+
- lib/dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_2_3.so
|
40
|
+
- lib/dummy_extended_4ruby-alpha0.1.3/dummy_extended_4ruby_2_4.so
|
41
|
+
- lib/dummy_extended_4ruby-alpha0.1.3/libdummy_extended-alpha0.1.3.so
|
42
|
+
- lib/interface_file/dummy_extended_4ruby-alpha0.1.3_interface_file.rb
|
37
43
|
homepage: http://www.frogans.org
|
38
44
|
licenses:
|
39
45
|
- Nonstandard
|
Binary file
|