@girs/arrowcuda-1.0 1.0.0-3.0.0-beta.12

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.
package/README.md ADDED
@@ -0,0 +1,31 @@
1
+
2
+ # ArrowCUDA-1.0
3
+
4
+ GJS TypeScript type definitions for ArrowCUDA-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gjs) v3.0.0-beta.12.
5
+
6
+ ## Install
7
+
8
+ To use this type definitions, install them with NPM like this:
9
+ ```bash
10
+ npm install @girs/arrowcuda-1.0
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ You can import this package into your project like this:
16
+ ```ts
17
+ import ArrowCUDA from '@girs/arrowcuda-1.0';
18
+ ```
19
+
20
+ Or if you prefer CommonJS, you can also use this:
21
+ ```ts
22
+ const ArrowCUDA = require('@girs/arrowcuda-1.0');
23
+ ```
24
+
25
+ If you use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules), you can also import this module like you would do this in JavaScript:
26
+
27
+ ```ts
28
+ import ArrowCUDA from 'gi://ArrowCUDA?version=1.0';
29
+ ```
30
+
31
+ Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).
@@ -0,0 +1,9 @@
1
+
2
+
3
+ imports.gi.versions.ArrowCUDA = '1.0'
4
+ const ArrowCUDA = imports.gi.ArrowCUDA;
5
+
6
+ module.exports = ArrowCUDA;
7
+
8
+
9
+
@@ -0,0 +1,651 @@
1
+
2
+ /*
3
+ * Type Definitions for Gjs (https://gjs.guide/)
4
+ *
5
+ * These type definitions are automatically generated, do not edit them by hand.
6
+ * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
7
+ */
8
+ /**
9
+ * ArrowCUDA-1.0
10
+ */
11
+
12
+ import type Arrow from '@girs/arrow-1.0';
13
+ import type Gio from '@girs/gio-2.0';
14
+ import type GObject from '@girs/gobject-2.0';
15
+ import type GLib from '@girs/glib-2.0';
16
+
17
+ export module Buffer {
18
+
19
+ // Constructor properties interface
20
+
21
+ export interface ConstructorProperties extends Arrow.Buffer.ConstructorProperties {
22
+ }
23
+
24
+ }
25
+
26
+ export interface Buffer {
27
+
28
+ // Own fields of ArrowCUDA-1.0.ArrowCUDA.Buffer
29
+
30
+ parent_instance: Arrow.Buffer & GObject.Object
31
+
32
+ // Owm methods of ArrowCUDA-1.0.ArrowCUDA.Buffer
33
+
34
+ copy_from_host(data: Uint8Array): boolean
35
+ copy_to_host(position: number, size: number): GLib.Bytes
36
+ export(): IPCMemoryHandle
37
+ get_context(): Context
38
+ read_record_batch(schema: Arrow.Schema, options: Arrow.ReadOptions | null): Arrow.RecordBatch
39
+
40
+ // Conflicting methods
41
+
42
+ get_data(): GLib.Bytes
43
+
44
+ // Overloads of get_data
45
+
46
+ /**
47
+ * Gets a named field from the objects table of associations (see g_object_set_data()).
48
+ * @param key name of the key for that association
49
+ * @returns the data if found, or %NULL if no such data exists.
50
+ */
51
+ get_data(key: string | null): any | null
52
+ /**
53
+ * Gets a named field from the objects table of associations (see g_object_set_data()).
54
+ * @param key name of the key for that association
55
+ * @returns the data if found, or %NULL if no such data exists.
56
+ */
57
+ get_data(key: string | null): any | null
58
+
59
+ // Class property signals of ArrowCUDA-1.0.ArrowCUDA.Buffer
60
+
61
+ connect(sigName: "notify::buffer", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
62
+ connect_after(sigName: "notify::buffer", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
63
+ emit(sigName: "notify::buffer", ...args: any[]): void
64
+ connect(sigName: "notify::data", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
65
+ connect_after(sigName: "notify::data", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
66
+ emit(sigName: "notify::data", ...args: any[]): void
67
+ connect(sigName: "notify::parent", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
68
+ connect_after(sigName: "notify::parent", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
69
+ emit(sigName: "notify::parent", ...args: any[]): void
70
+ connect(sigName: string, callback: (...args: any[]) => void): number
71
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
72
+ emit(sigName: string, ...args: any[]): void
73
+ disconnect(id: number): void
74
+ }
75
+
76
+ export class Buffer extends Arrow.Buffer {
77
+
78
+ // Own properties of ArrowCUDA-1.0.ArrowCUDA.Buffer
79
+
80
+ static name: string
81
+ static $gtype: GObject.GType<Buffer>
82
+
83
+ // Constructors of ArrowCUDA-1.0.ArrowCUDA.Buffer
84
+
85
+ constructor(config?: Buffer.ConstructorProperties)
86
+ constructor(context: Context, size: number)
87
+ static new(context: Context, size: number): Buffer
88
+
89
+ // Overloads of new
90
+
91
+ static new(data: Uint8Array): Arrow.Buffer
92
+ static new_ipc(context: Context, handle: IPCMemoryHandle): Buffer
93
+ static new_record_batch(context: Context, record_batch: Arrow.RecordBatch): Buffer
94
+ _init(config?: Buffer.ConstructorProperties): void
95
+ }
96
+
97
+ export module BufferInputStream {
98
+
99
+ // Constructor properties interface
100
+
101
+ export interface ConstructorProperties extends Arrow.File.ConstructorProperties, Arrow.Readable.ConstructorProperties, Arrow.BufferInputStream.ConstructorProperties {
102
+ }
103
+
104
+ }
105
+
106
+ export interface BufferInputStream extends Arrow.File, Arrow.Readable {
107
+
108
+ // Own fields of ArrowCUDA-1.0.ArrowCUDA.BufferInputStream
109
+
110
+ parent_instance: Arrow.BufferInputStream & Arrow.SeekableInputStream & Arrow.InputStream & Gio.InputStream & GObject.Object & GObject.Object
111
+
112
+ // Conflicting methods
113
+
114
+ close(): boolean
115
+ /**
116
+ * Closes the stream, releasing resources related to it.
117
+ *
118
+ * Once the stream is closed, all other operations will return %G_IO_ERROR_CLOSED.
119
+ * Closing a stream multiple times will not return an error.
120
+ *
121
+ * Streams will be automatically closed when the last reference
122
+ * is dropped, but you might want to call this function to make sure
123
+ * resources are released as early as possible.
124
+ *
125
+ * Some streams might keep the backing store of the stream (e.g. a file descriptor)
126
+ * open after the stream is closed. See the documentation for the individual
127
+ * stream for details.
128
+ *
129
+ * On failure the first error that happened will be reported, but the close
130
+ * operation will finish as much as possible. A stream that failed to
131
+ * close will still return %G_IO_ERROR_CLOSED for all operations. Still, it
132
+ * is important to check and report the error to the user.
133
+ *
134
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
135
+ * triggering the cancellable object from another thread. If the operation
136
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
137
+ * Cancelling a close will still leave the stream closed, but some streams
138
+ * can use a faster close that doesn't block to e.g. check errors.
139
+ * @param cancellable optional #GCancellable object, %NULL to ignore.
140
+ * @returns %TRUE on success, %FALSE on failure
141
+ */
142
+ close(cancellable: Gio.Cancellable | null): boolean
143
+ read(n_bytes: number): Arrow.Buffer | null
144
+ /**
145
+ * Tries to read `count` bytes from the stream into the buffer starting at
146
+ * `buffer`. Will block during this read.
147
+ *
148
+ * If count is zero returns zero and does nothing. A value of `count`
149
+ * larger than %G_MAXSSIZE will cause a %G_IO_ERROR_INVALID_ARGUMENT error.
150
+ *
151
+ * On success, the number of bytes read into the buffer is returned.
152
+ * It is not an error if this is not the same as the requested size, as it
153
+ * can happen e.g. near the end of a file. Zero is returned on end of file
154
+ * (or if `count` is zero), but never otherwise.
155
+ *
156
+ * The returned `buffer` is not a nul-terminated string, it can contain nul bytes
157
+ * at any position, and this function doesn't nul-terminate the `buffer`.
158
+ *
159
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
160
+ * triggering the cancellable object from another thread. If the operation
161
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. If an
162
+ * operation was partially finished when the operation was cancelled the
163
+ * partial result will be returned, without an error.
164
+ *
165
+ * On error -1 is returned and `error` is set accordingly.
166
+ * @param cancellable optional #GCancellable object, %NULL to ignore.
167
+ * @returns Number of bytes read, or -1 on error, or 0 on end of file.
168
+ */
169
+ read(cancellable: Gio.Cancellable | null): [ /* returnType */ number, /* buffer */ Uint8Array ]
170
+ read_bytes(n_bytes: number): GLib.Bytes | null
171
+ /**
172
+ * Like g_input_stream_read(), this tries to read `count` bytes from
173
+ * the stream in a blocking fashion. However, rather than reading into
174
+ * a user-supplied buffer, this will create a new #GBytes containing
175
+ * the data that was read. This may be easier to use from language
176
+ * bindings.
177
+ *
178
+ * If count is zero, returns a zero-length #GBytes and does nothing. A
179
+ * value of `count` larger than %G_MAXSSIZE will cause a
180
+ * %G_IO_ERROR_INVALID_ARGUMENT error.
181
+ *
182
+ * On success, a new #GBytes is returned. It is not an error if the
183
+ * size of this object is not the same as the requested size, as it
184
+ * can happen e.g. near the end of a file. A zero-length #GBytes is
185
+ * returned on end of file (or if `count` is zero), but never
186
+ * otherwise.
187
+ *
188
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
189
+ * triggering the cancellable object from another thread. If the operation
190
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. If an
191
+ * operation was partially finished when the operation was cancelled the
192
+ * partial result will be returned, without an error.
193
+ *
194
+ * On error %NULL is returned and `error` is set accordingly.
195
+ * @param count maximum number of bytes that will be read from the stream. Common values include 4096 and 8192.
196
+ * @param cancellable optional #GCancellable object, %NULL to ignore.
197
+ * @returns a new #GBytes, or %NULL on error
198
+ */
199
+ read_bytes(count: number, cancellable: Gio.Cancellable | null): GLib.Bytes
200
+
201
+ // Class property signals of ArrowCUDA-1.0.ArrowCUDA.BufferInputStream
202
+
203
+ connect(sigName: "notify::buffer", callback: (($obj: BufferInputStream, pspec: GObject.ParamSpec) => void)): number
204
+ connect_after(sigName: "notify::buffer", callback: (($obj: BufferInputStream, pspec: GObject.ParamSpec) => void)): number
205
+ emit(sigName: "notify::buffer", ...args: any[]): void
206
+ connect(sigName: "notify::input-stream", callback: (($obj: BufferInputStream, pspec: GObject.ParamSpec) => void)): number
207
+ connect_after(sigName: "notify::input-stream", callback: (($obj: BufferInputStream, pspec: GObject.ParamSpec) => void)): number
208
+ emit(sigName: "notify::input-stream", ...args: any[]): void
209
+ connect(sigName: string, callback: (...args: any[]) => void): number
210
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
211
+ emit(sigName: string, ...args: any[]): void
212
+ disconnect(id: number): void
213
+ }
214
+
215
+ export class BufferInputStream extends Arrow.BufferInputStream {
216
+
217
+ // Own properties of ArrowCUDA-1.0.ArrowCUDA.BufferInputStream
218
+
219
+ static name: string
220
+ static $gtype: GObject.GType<BufferInputStream>
221
+
222
+ // Constructors of ArrowCUDA-1.0.ArrowCUDA.BufferInputStream
223
+
224
+ constructor(config?: BufferInputStream.ConstructorProperties)
225
+ constructor(buffer: Buffer)
226
+ static new(buffer: Buffer): BufferInputStream
227
+
228
+ // Overloads of new
229
+
230
+ static new(buffer: Arrow.Buffer): Arrow.BufferInputStream
231
+ _init(config?: BufferInputStream.ConstructorProperties): void
232
+ }
233
+
234
+ export module BufferOutputStream {
235
+
236
+ // Constructor properties interface
237
+
238
+ export interface ConstructorProperties extends Arrow.File.ConstructorProperties, Arrow.Writable.ConstructorProperties, Arrow.OutputStream.ConstructorProperties {
239
+ }
240
+
241
+ }
242
+
243
+ export interface BufferOutputStream extends Arrow.File, Arrow.Writable {
244
+
245
+ // Own fields of ArrowCUDA-1.0.ArrowCUDA.BufferOutputStream
246
+
247
+ parent_instance: Arrow.OutputStream & GObject.Object
248
+
249
+ // Owm methods of ArrowCUDA-1.0.ArrowCUDA.BufferOutputStream
250
+
251
+ get_buffer_size(): number
252
+ get_buffered_size(): number
253
+ set_buffer_size(size: number): boolean
254
+
255
+ // Class property signals of ArrowCUDA-1.0.ArrowCUDA.BufferOutputStream
256
+
257
+ connect(sigName: "notify::output-stream", callback: (($obj: BufferOutputStream, pspec: GObject.ParamSpec) => void)): number
258
+ connect_after(sigName: "notify::output-stream", callback: (($obj: BufferOutputStream, pspec: GObject.ParamSpec) => void)): number
259
+ emit(sigName: "notify::output-stream", ...args: any[]): void
260
+ connect(sigName: string, callback: (...args: any[]) => void): number
261
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
262
+ emit(sigName: string, ...args: any[]): void
263
+ disconnect(id: number): void
264
+ }
265
+
266
+ export class BufferOutputStream extends Arrow.OutputStream {
267
+
268
+ // Own properties of ArrowCUDA-1.0.ArrowCUDA.BufferOutputStream
269
+
270
+ static name: string
271
+ static $gtype: GObject.GType<BufferOutputStream>
272
+
273
+ // Constructors of ArrowCUDA-1.0.ArrowCUDA.BufferOutputStream
274
+
275
+ constructor(config?: BufferOutputStream.ConstructorProperties)
276
+ constructor(buffer: Buffer)
277
+ static new(buffer: Buffer): BufferOutputStream
278
+ _init(config?: BufferOutputStream.ConstructorProperties): void
279
+ }
280
+
281
+ export module Context {
282
+
283
+ // Constructor properties interface
284
+
285
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
286
+
287
+ // Own constructor properties of ArrowCUDA-1.0.ArrowCUDA.Context
288
+
289
+ context?: any | null
290
+ }
291
+
292
+ }
293
+
294
+ export interface Context {
295
+
296
+ // Own properties of ArrowCUDA-1.0.ArrowCUDA.Context
297
+
298
+ readonly context: any
299
+
300
+ // Own fields of ArrowCUDA-1.0.ArrowCUDA.Context
301
+
302
+ parent_instance: GObject.Object
303
+
304
+ // Owm methods of ArrowCUDA-1.0.ArrowCUDA.Context
305
+
306
+ get_allocated_size(): number
307
+
308
+ // Class property signals of ArrowCUDA-1.0.ArrowCUDA.Context
309
+
310
+ connect(sigName: "notify::context", callback: (($obj: Context, pspec: GObject.ParamSpec) => void)): number
311
+ connect_after(sigName: "notify::context", callback: (($obj: Context, pspec: GObject.ParamSpec) => void)): number
312
+ emit(sigName: "notify::context", ...args: any[]): void
313
+ connect(sigName: string, callback: (...args: any[]) => void): number
314
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
315
+ emit(sigName: string, ...args: any[]): void
316
+ disconnect(id: number): void
317
+ }
318
+
319
+ export class Context extends GObject.Object {
320
+
321
+ // Own properties of ArrowCUDA-1.0.ArrowCUDA.Context
322
+
323
+ static name: string
324
+ static $gtype: GObject.GType<Context>
325
+
326
+ // Constructors of ArrowCUDA-1.0.ArrowCUDA.Context
327
+
328
+ constructor(config?: Context.ConstructorProperties)
329
+ _init(config?: Context.ConstructorProperties): void
330
+ }
331
+
332
+ export module DeviceManager {
333
+
334
+ // Constructor properties interface
335
+
336
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
337
+ }
338
+
339
+ }
340
+
341
+ export interface DeviceManager {
342
+
343
+ // Own fields of ArrowCUDA-1.0.ArrowCUDA.DeviceManager
344
+
345
+ parent_instance: GObject.Object
346
+
347
+ // Owm methods of ArrowCUDA-1.0.ArrowCUDA.DeviceManager
348
+
349
+ get_context(gpu_number: number): Context
350
+ get_n_devices(): number
351
+
352
+ // Class property signals of ArrowCUDA-1.0.ArrowCUDA.DeviceManager
353
+
354
+ connect(sigName: string, callback: (...args: any[]) => void): number
355
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
356
+ emit(sigName: string, ...args: any[]): void
357
+ disconnect(id: number): void
358
+ }
359
+
360
+ export class DeviceManager extends GObject.Object {
361
+
362
+ // Own properties of ArrowCUDA-1.0.ArrowCUDA.DeviceManager
363
+
364
+ static name: string
365
+ static $gtype: GObject.GType<DeviceManager>
366
+
367
+ // Constructors of ArrowCUDA-1.0.ArrowCUDA.DeviceManager
368
+
369
+ constructor(config?: DeviceManager.ConstructorProperties)
370
+ constructor()
371
+ static new(): DeviceManager
372
+ _init(config?: DeviceManager.ConstructorProperties): void
373
+ }
374
+
375
+ export module HostBuffer {
376
+
377
+ // Constructor properties interface
378
+
379
+ export interface ConstructorProperties extends Arrow.MutableBuffer.ConstructorProperties {
380
+ }
381
+
382
+ }
383
+
384
+ export interface HostBuffer {
385
+
386
+ // Own fields of ArrowCUDA-1.0.ArrowCUDA.HostBuffer
387
+
388
+ parent_instance: Arrow.MutableBuffer & Arrow.Buffer & GObject.Object & GObject.Object
389
+
390
+ // Conflicting methods
391
+
392
+ set_data(offset: number, data: Uint8Array): boolean
393
+
394
+ // Overloads of set_data
395
+
396
+ /**
397
+ * Each object carries around a table of associations from
398
+ * strings to pointers. This function lets you set an association.
399
+ *
400
+ * If the object already had an association with that name,
401
+ * the old association will be destroyed.
402
+ *
403
+ * Internally, the `key` is converted to a #GQuark using g_quark_from_string().
404
+ * This means a copy of `key` is kept permanently (even after `object` has been
405
+ * finalized) — so it is recommended to only use a small, bounded set of values
406
+ * for `key` in your program, to avoid the #GQuark storage growing unbounded.
407
+ * @param key name of the key
408
+ * @param data data to associate with that key
409
+ */
410
+ set_data(key: string | null, data: any | null): void
411
+ /**
412
+ * Each object carries around a table of associations from
413
+ * strings to pointers. This function lets you set an association.
414
+ *
415
+ * If the object already had an association with that name,
416
+ * the old association will be destroyed.
417
+ *
418
+ * Internally, the `key` is converted to a #GQuark using g_quark_from_string().
419
+ * This means a copy of `key` is kept permanently (even after `object` has been
420
+ * finalized) — so it is recommended to only use a small, bounded set of values
421
+ * for `key` in your program, to avoid the #GQuark storage growing unbounded.
422
+ * @param key name of the key
423
+ * @param data data to associate with that key
424
+ */
425
+ set_data(key: string | null, data: any | null): void
426
+ slice(offset: number, size: number): Arrow.MutableBuffer
427
+
428
+ // Overloads of slice
429
+
430
+ slice(offset: number, size: number): Arrow.Buffer
431
+ slice(offset: number, size: number): Arrow.Buffer
432
+ get_data(): GLib.Bytes
433
+
434
+ // Overloads of get_data
435
+
436
+ /**
437
+ * Gets a named field from the objects table of associations (see g_object_set_data()).
438
+ * @param key name of the key for that association
439
+ * @returns the data if found, or %NULL if no such data exists.
440
+ */
441
+ get_data(key: string | null): any | null
442
+ /**
443
+ * Gets a named field from the objects table of associations (see g_object_set_data()).
444
+ * @param key name of the key for that association
445
+ * @returns the data if found, or %NULL if no such data exists.
446
+ */
447
+ get_data(key: string | null): any | null
448
+
449
+ // Class property signals of ArrowCUDA-1.0.ArrowCUDA.HostBuffer
450
+
451
+ connect(sigName: "notify::buffer", callback: (($obj: HostBuffer, pspec: GObject.ParamSpec) => void)): number
452
+ connect_after(sigName: "notify::buffer", callback: (($obj: HostBuffer, pspec: GObject.ParamSpec) => void)): number
453
+ emit(sigName: "notify::buffer", ...args: any[]): void
454
+ connect(sigName: "notify::data", callback: (($obj: HostBuffer, pspec: GObject.ParamSpec) => void)): number
455
+ connect_after(sigName: "notify::data", callback: (($obj: HostBuffer, pspec: GObject.ParamSpec) => void)): number
456
+ emit(sigName: "notify::data", ...args: any[]): void
457
+ connect(sigName: "notify::parent", callback: (($obj: HostBuffer, pspec: GObject.ParamSpec) => void)): number
458
+ connect_after(sigName: "notify::parent", callback: (($obj: HostBuffer, pspec: GObject.ParamSpec) => void)): number
459
+ emit(sigName: "notify::parent", ...args: any[]): void
460
+ connect(sigName: string, callback: (...args: any[]) => void): number
461
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
462
+ emit(sigName: string, ...args: any[]): void
463
+ disconnect(id: number): void
464
+ }
465
+
466
+ export class HostBuffer extends Arrow.MutableBuffer {
467
+
468
+ // Own properties of ArrowCUDA-1.0.ArrowCUDA.HostBuffer
469
+
470
+ static name: string
471
+ static $gtype: GObject.GType<HostBuffer>
472
+
473
+ // Constructors of ArrowCUDA-1.0.ArrowCUDA.HostBuffer
474
+
475
+ constructor(config?: HostBuffer.ConstructorProperties)
476
+ constructor(gpu_number: number, size: number)
477
+ static new(gpu_number: number, size: number): HostBuffer
478
+
479
+ // Overloads of new
480
+
481
+ static new(data: Uint8Array): Arrow.MutableBuffer
482
+ static new(data: Uint8Array): Arrow.Buffer
483
+ _init(config?: HostBuffer.ConstructorProperties): void
484
+
485
+ // Conflicting static methods
486
+
487
+ static new_bytes(...args: any[]): any
488
+ }
489
+
490
+ export module IPCMemoryHandle {
491
+
492
+ // Constructor properties interface
493
+
494
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
495
+
496
+ // Own constructor properties of ArrowCUDA-1.0.ArrowCUDA.IPCMemoryHandle
497
+
498
+ ipc_memory_handle?: any | null
499
+ }
500
+
501
+ }
502
+
503
+ export interface IPCMemoryHandle {
504
+
505
+ // Own properties of ArrowCUDA-1.0.ArrowCUDA.IPCMemoryHandle
506
+
507
+ readonly ipc_memory_handle: any
508
+
509
+ // Own fields of ArrowCUDA-1.0.ArrowCUDA.IPCMemoryHandle
510
+
511
+ parent_instance: GObject.Object
512
+
513
+ // Owm methods of ArrowCUDA-1.0.ArrowCUDA.IPCMemoryHandle
514
+
515
+ serialize(): Arrow.Buffer
516
+
517
+ // Class property signals of ArrowCUDA-1.0.ArrowCUDA.IPCMemoryHandle
518
+
519
+ connect(sigName: "notify::ipc-memory-handle", callback: (($obj: IPCMemoryHandle, pspec: GObject.ParamSpec) => void)): number
520
+ connect_after(sigName: "notify::ipc-memory-handle", callback: (($obj: IPCMemoryHandle, pspec: GObject.ParamSpec) => void)): number
521
+ emit(sigName: "notify::ipc-memory-handle", ...args: any[]): void
522
+ connect(sigName: string, callback: (...args: any[]) => void): number
523
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
524
+ emit(sigName: string, ...args: any[]): void
525
+ disconnect(id: number): void
526
+ }
527
+
528
+ export class IPCMemoryHandle extends GObject.Object {
529
+
530
+ // Own properties of ArrowCUDA-1.0.ArrowCUDA.IPCMemoryHandle
531
+
532
+ static name: string
533
+ static $gtype: GObject.GType<IPCMemoryHandle>
534
+
535
+ // Constructors of ArrowCUDA-1.0.ArrowCUDA.IPCMemoryHandle
536
+
537
+ constructor(config?: IPCMemoryHandle.ConstructorProperties)
538
+ constructor(data: Uint8Array)
539
+ static new(data: Uint8Array): IPCMemoryHandle
540
+ _init(config?: IPCMemoryHandle.ConstructorProperties): void
541
+ }
542
+
543
+ export interface BufferClass {
544
+
545
+ // Own fields of ArrowCUDA-1.0.ArrowCUDA.BufferClass
546
+
547
+ parent_class: Arrow.BufferClass
548
+ }
549
+
550
+ export abstract class BufferClass {
551
+
552
+ // Own properties of ArrowCUDA-1.0.ArrowCUDA.BufferClass
553
+
554
+ static name: string
555
+ }
556
+
557
+ export interface BufferInputStreamClass {
558
+
559
+ // Own fields of ArrowCUDA-1.0.ArrowCUDA.BufferInputStreamClass
560
+
561
+ parent_class: Arrow.BufferInputStreamClass
562
+ }
563
+
564
+ export abstract class BufferInputStreamClass {
565
+
566
+ // Own properties of ArrowCUDA-1.0.ArrowCUDA.BufferInputStreamClass
567
+
568
+ static name: string
569
+ }
570
+
571
+ export interface BufferOutputStreamClass {
572
+
573
+ // Own fields of ArrowCUDA-1.0.ArrowCUDA.BufferOutputStreamClass
574
+
575
+ parent_class: Arrow.OutputStreamClass
576
+ }
577
+
578
+ export abstract class BufferOutputStreamClass {
579
+
580
+ // Own properties of ArrowCUDA-1.0.ArrowCUDA.BufferOutputStreamClass
581
+
582
+ static name: string
583
+ }
584
+
585
+ export interface ContextClass {
586
+
587
+ // Own fields of ArrowCUDA-1.0.ArrowCUDA.ContextClass
588
+
589
+ parent_class: GObject.ObjectClass
590
+ }
591
+
592
+ export abstract class ContextClass {
593
+
594
+ // Own properties of ArrowCUDA-1.0.ArrowCUDA.ContextClass
595
+
596
+ static name: string
597
+ }
598
+
599
+ export interface DeviceManagerClass {
600
+
601
+ // Own fields of ArrowCUDA-1.0.ArrowCUDA.DeviceManagerClass
602
+
603
+ parent_class: GObject.ObjectClass
604
+ }
605
+
606
+ export abstract class DeviceManagerClass {
607
+
608
+ // Own properties of ArrowCUDA-1.0.ArrowCUDA.DeviceManagerClass
609
+
610
+ static name: string
611
+ }
612
+
613
+ export interface HostBufferClass {
614
+
615
+ // Own fields of ArrowCUDA-1.0.ArrowCUDA.HostBufferClass
616
+
617
+ parent_class: Arrow.MutableBufferClass
618
+ }
619
+
620
+ export abstract class HostBufferClass {
621
+
622
+ // Own properties of ArrowCUDA-1.0.ArrowCUDA.HostBufferClass
623
+
624
+ static name: string
625
+ }
626
+
627
+ export interface IPCMemoryHandleClass {
628
+
629
+ // Own fields of ArrowCUDA-1.0.ArrowCUDA.IPCMemoryHandleClass
630
+
631
+ parent_class: GObject.ObjectClass
632
+ }
633
+
634
+ export abstract class IPCMemoryHandleClass {
635
+
636
+ // Own properties of ArrowCUDA-1.0.ArrowCUDA.IPCMemoryHandleClass
637
+
638
+ static name: string
639
+ }
640
+
641
+ /**
642
+ * Name of the imported GIR library
643
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
644
+ */
645
+ export const __name__: string
646
+ /**
647
+ * Version of the imported GIR library
648
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
649
+ */
650
+ export const __version__: string
651
+ // END