@girs/gjs 3.0.0-beta.12 → 3.0.0-beta.14
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 +6 -2
- package/ambient.d.ts +65 -31
- package/cairo.cjs +6 -0
- package/cairo.d.cts +8 -0
- package/cairo.d.ts +6 -0
- package/cairo.js +6 -0
- package/gettext.cjs +6 -0
- package/gettext.d.cts +41 -0
- package/gettext.d.ts +41 -0
- package/gettext.js +6 -0
- package/gjs.cjs +4 -3
- package/gjs.d.cts +428 -457
- package/gjs.d.ts +37 -66
- package/gjs.js +3 -2
- package/package.json +437 -401
- package/system.cjs +5 -0
- package/system.d.cts +31 -0
- package/system.d.ts +31 -0
- package/system.js +5 -0
package/system.cjs
ADDED
package/system.d.cts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type GObject from '@girs/gobject-2.0';
|
|
2
|
+
|
|
3
|
+
export const programInvocationName: string
|
|
4
|
+
export const version: number
|
|
5
|
+
export const programPath: string | null
|
|
6
|
+
/** Equal to ARGV */
|
|
7
|
+
export const programArgs: string[]
|
|
8
|
+
export function exit(code: number): void
|
|
9
|
+
export function addressOfGObject(o: GObject.Object): object
|
|
10
|
+
export function addressOf(o: any): object
|
|
11
|
+
/** Runs the garbage collector */
|
|
12
|
+
export function gc(): void
|
|
13
|
+
export function refcount(o: GObject.Object): number
|
|
14
|
+
export function dumpHeap(path: string): void
|
|
15
|
+
export function dumpMemoryInfo(path: string): void
|
|
16
|
+
|
|
17
|
+
declare const System: {
|
|
18
|
+
programInvocationName: typeof programInvocationName,
|
|
19
|
+
version: typeof version,
|
|
20
|
+
programPath: typeof programPath,
|
|
21
|
+
programArgs: typeof programArgs,
|
|
22
|
+
exit: typeof exit,
|
|
23
|
+
addressOfGObject: typeof addressOfGObject,
|
|
24
|
+
addressOf: typeof addressOf,
|
|
25
|
+
gc: typeof gc,
|
|
26
|
+
refcount: typeof refcount,
|
|
27
|
+
dumpHeap: typeof dumpHeap,
|
|
28
|
+
dumpMemoryInfo: typeof dumpMemoryInfo,
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export default System
|
package/system.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type GObject from '@girs/gobject-2.0';
|
|
2
|
+
|
|
3
|
+
export const programInvocationName: string
|
|
4
|
+
export const version: number
|
|
5
|
+
export const programPath: string | null
|
|
6
|
+
/** Equal to ARGV */
|
|
7
|
+
export const programArgs: string[]
|
|
8
|
+
export function exit(code: number): void
|
|
9
|
+
export function addressOfGObject(o: GObject.Object): object
|
|
10
|
+
export function addressOf(o: any): object
|
|
11
|
+
/** Runs the garbage collector */
|
|
12
|
+
export function gc(): void
|
|
13
|
+
export function refcount(o: GObject.Object): number
|
|
14
|
+
export function dumpHeap(path: string): void
|
|
15
|
+
export function dumpMemoryInfo(path: string): void
|
|
16
|
+
|
|
17
|
+
declare const System: {
|
|
18
|
+
programInvocationName: typeof programInvocationName,
|
|
19
|
+
version: typeof version,
|
|
20
|
+
programPath: typeof programPath,
|
|
21
|
+
programArgs: typeof programArgs,
|
|
22
|
+
exit: typeof exit,
|
|
23
|
+
addressOfGObject: typeof addressOfGObject,
|
|
24
|
+
addressOf: typeof addressOf,
|
|
25
|
+
gc: typeof gc,
|
|
26
|
+
refcount: typeof refcount,
|
|
27
|
+
dumpHeap: typeof dumpHeap,
|
|
28
|
+
dumpMemoryInfo: typeof dumpMemoryInfo,
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export default System
|
package/system.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
|
|
2
|
+
import System, { programInvocationName, version, programPath, programArgs, exit, addressOfGObject, addressOf, gc, refcount, dumpHeap, dumpMemoryInfo } from 'system';
|
|
3
|
+
|
|
4
|
+
export { programInvocationName, version, programPath, programArgs, exit, addressOfGObject, addressOf, gc, refcount, dumpHeap, dumpMemoryInfo };
|
|
5
|
+
export default System;
|