@girs/gl-1.0 1.0.0-3.3.0 → 1.0.0-4.0.0-beta.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.
- package/README.md +1 -1
- package/gl-1.0-ambient.d.ts +3 -3
- package/gl-1.0.d.ts +78 -106
- package/gl-1.0.js +0 -4
- package/package.json +9 -14
- package/gl-1.0.cjs +0 -11
- package/gl-1.0.d.cts +0 -158
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for GL-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir)
|
|
8
|
+
GJS TypeScript type definitions for GL-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.2.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/gl-1.0-ambient.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
declare module 'gi://GL?version=1.0' {
|
|
3
|
-
import
|
|
4
|
-
export default
|
|
3
|
+
import GL from '@girs/gl-1.0';
|
|
4
|
+
export default GL;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
declare module 'gi://GL' {
|
|
8
|
-
import GL10 from '
|
|
8
|
+
import GL10 from 'gi://GL?version=1.0';
|
|
9
9
|
export default GL10;
|
|
10
10
|
}
|
|
11
11
|
|
package/gl-1.0.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
/*
|
|
3
2
|
* Type Definitions for Gjs (https://gjs.guide/)
|
|
4
3
|
*
|
|
@@ -7,7 +6,7 @@
|
|
|
7
6
|
*/
|
|
8
7
|
|
|
9
8
|
import './gl-1.0-ambient.d.ts';
|
|
10
|
-
|
|
9
|
+
|
|
11
10
|
/**
|
|
12
11
|
* GL-1.0
|
|
13
12
|
*/
|
|
@@ -15,149 +14,122 @@ import './gl-1.0-import.d.ts';
|
|
|
15
14
|
import type GObject from '@girs/gobject-2.0';
|
|
16
15
|
|
|
17
16
|
export namespace GL {
|
|
17
|
+
function InitNames(): void;
|
|
18
|
+
class bitfield {
|
|
19
|
+
static $gtype: GObject.GType<bitfield>;
|
|
18
20
|
|
|
19
|
-
|
|
20
|
-
interface bitfield {
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
class bitfield {
|
|
24
|
-
|
|
25
|
-
// Own properties of GL-1.0.GL.bitfield
|
|
26
|
-
|
|
27
|
-
static name: string
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface charARB {
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
class charARB {
|
|
34
|
-
|
|
35
|
-
// Own properties of GL-1.0.GL.charARB
|
|
36
|
-
|
|
37
|
-
static name: string
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
interface clampf {
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
class clampf {
|
|
44
|
-
|
|
45
|
-
// Own properties of GL-1.0.GL.clampf
|
|
46
|
-
|
|
47
|
-
static name: string
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
interface boolean_ {
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
class boolean_ {
|
|
54
|
-
|
|
55
|
-
// Own properties of GL-1.0.GL.boolean
|
|
21
|
+
// Constructors of GL.bitfield
|
|
56
22
|
|
|
57
|
-
|
|
58
|
-
}
|
|
23
|
+
_init(...args: any[]): void;
|
|
24
|
+
}
|
|
59
25
|
|
|
60
|
-
|
|
61
|
-
|
|
26
|
+
class charARB {
|
|
27
|
+
static $gtype: GObject.GType<charARB>;
|
|
62
28
|
|
|
63
|
-
|
|
29
|
+
// Constructors of GL.charARB
|
|
64
30
|
|
|
65
|
-
|
|
31
|
+
_init(...args: any[]): void;
|
|
32
|
+
}
|
|
66
33
|
|
|
67
|
-
|
|
68
|
-
|
|
34
|
+
class clampf {
|
|
35
|
+
static $gtype: GObject.GType<clampf>;
|
|
69
36
|
|
|
70
|
-
|
|
71
|
-
}
|
|
37
|
+
// Constructors of GL.clampf
|
|
72
38
|
|
|
73
|
-
|
|
39
|
+
_init(...args: any[]): void;
|
|
40
|
+
}
|
|
74
41
|
|
|
75
|
-
|
|
42
|
+
class __boolean {
|
|
43
|
+
static $gtype: GObject.GType<__boolean>;
|
|
76
44
|
|
|
77
|
-
|
|
78
|
-
}
|
|
45
|
+
// Constructors of GL.__boolean
|
|
79
46
|
|
|
80
|
-
|
|
81
|
-
}
|
|
47
|
+
_init(...args: any[]): void;
|
|
48
|
+
}
|
|
82
49
|
|
|
83
|
-
class
|
|
50
|
+
class __enum {
|
|
51
|
+
static $gtype: GObject.GType<__enum>;
|
|
84
52
|
|
|
85
|
-
|
|
53
|
+
// Constructors of GL.__enum
|
|
86
54
|
|
|
87
|
-
|
|
88
|
-
}
|
|
55
|
+
_init(...args: any[]): void;
|
|
56
|
+
}
|
|
89
57
|
|
|
90
|
-
|
|
91
|
-
|
|
58
|
+
class float {
|
|
59
|
+
static $gtype: GObject.GType<float>;
|
|
92
60
|
|
|
93
|
-
|
|
61
|
+
// Constructors of GL.float
|
|
94
62
|
|
|
95
|
-
|
|
63
|
+
_init(...args: any[]): void;
|
|
64
|
+
}
|
|
96
65
|
|
|
97
|
-
|
|
98
|
-
|
|
66
|
+
class handleARB {
|
|
67
|
+
static $gtype: GObject.GType<handleARB>;
|
|
99
68
|
|
|
100
|
-
|
|
101
|
-
}
|
|
69
|
+
// Constructors of GL.handleARB
|
|
102
70
|
|
|
103
|
-
|
|
71
|
+
_init(...args: any[]): void;
|
|
72
|
+
}
|
|
104
73
|
|
|
105
|
-
|
|
74
|
+
class int {
|
|
75
|
+
static $gtype: GObject.GType<int>;
|
|
106
76
|
|
|
107
|
-
|
|
108
|
-
}
|
|
77
|
+
// Constructors of GL.int
|
|
109
78
|
|
|
110
|
-
|
|
111
|
-
}
|
|
79
|
+
_init(...args: any[]): void;
|
|
80
|
+
}
|
|
112
81
|
|
|
113
|
-
class
|
|
82
|
+
class intptr {
|
|
83
|
+
static $gtype: GObject.GType<intptr>;
|
|
114
84
|
|
|
115
|
-
|
|
85
|
+
// Constructors of GL.intptr
|
|
116
86
|
|
|
117
|
-
|
|
118
|
-
}
|
|
87
|
+
_init(...args: any[]): void;
|
|
88
|
+
}
|
|
119
89
|
|
|
120
|
-
|
|
121
|
-
|
|
90
|
+
class sizei {
|
|
91
|
+
static $gtype: GObject.GType<sizei>;
|
|
122
92
|
|
|
123
|
-
|
|
93
|
+
// Constructors of GL.sizei
|
|
124
94
|
|
|
125
|
-
|
|
95
|
+
_init(...args: any[]): void;
|
|
96
|
+
}
|
|
126
97
|
|
|
127
|
-
|
|
128
|
-
|
|
98
|
+
class sizeiptr {
|
|
99
|
+
static $gtype: GObject.GType<sizeiptr>;
|
|
129
100
|
|
|
130
|
-
|
|
131
|
-
}
|
|
101
|
+
// Constructors of GL.sizeiptr
|
|
132
102
|
|
|
133
|
-
|
|
103
|
+
_init(...args: any[]): void;
|
|
104
|
+
}
|
|
134
105
|
|
|
135
|
-
|
|
106
|
+
class uint {
|
|
107
|
+
static $gtype: GObject.GType<uint>;
|
|
136
108
|
|
|
137
|
-
|
|
138
|
-
}
|
|
109
|
+
// Constructors of GL.uint
|
|
139
110
|
|
|
140
|
-
|
|
141
|
-
}
|
|
111
|
+
_init(...args: any[]): void;
|
|
112
|
+
}
|
|
142
113
|
|
|
143
|
-
class
|
|
114
|
+
class __void {
|
|
115
|
+
static $gtype: GObject.GType<__void>;
|
|
144
116
|
|
|
145
|
-
|
|
117
|
+
// Constructors of GL.__void
|
|
146
118
|
|
|
147
|
-
|
|
148
|
-
}
|
|
119
|
+
_init(...args: any[]): void;
|
|
120
|
+
}
|
|
149
121
|
|
|
150
|
-
/**
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
const __name__: string
|
|
155
|
-
/**
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
const __version__: string
|
|
122
|
+
/**
|
|
123
|
+
* Name of the imported GIR library
|
|
124
|
+
* `see` https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
|
|
125
|
+
*/
|
|
126
|
+
const __name__: string;
|
|
127
|
+
/**
|
|
128
|
+
* Version of the imported GIR library
|
|
129
|
+
* `see` https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
|
|
130
|
+
*/
|
|
131
|
+
const __version__: string;
|
|
160
132
|
}
|
|
161
133
|
|
|
162
134
|
export default GL;
|
|
163
|
-
// END
|
|
135
|
+
// END
|
package/gl-1.0.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gl-1.0",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-4.0.0-beta.2",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GL-1.0, generated from library version 1.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gl-1.0.js",
|
|
@@ -8,31 +8,26 @@
|
|
|
8
8
|
"exports": {
|
|
9
9
|
"./ambient": {
|
|
10
10
|
"types": "./gl-1.0-ambient.d.ts",
|
|
11
|
+
"import": "./gl-1.0-ambient.js",
|
|
11
12
|
"default": "./gl-1.0-ambient.js"
|
|
12
13
|
},
|
|
13
14
|
"./import": {
|
|
14
15
|
"types": "./gl-1.0-import.d.ts",
|
|
16
|
+
"import": "./gl-1.0-import.js",
|
|
15
17
|
"default": "./gl-1.0-import.js"
|
|
16
18
|
},
|
|
17
19
|
".": {
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
"require": {
|
|
23
|
-
"types": "./gl-1.0.d.cts",
|
|
24
|
-
"default": "./gl-1.0.cjs"
|
|
25
|
-
}
|
|
20
|
+
"types": "./gl-1.0.d.ts",
|
|
21
|
+
"import": "./gl-1.0.js",
|
|
22
|
+
"default": "./gl-1.0.js"
|
|
26
23
|
}
|
|
27
24
|
},
|
|
28
25
|
"scripts": {
|
|
29
|
-
"test": "
|
|
30
|
-
"test:esm": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gl-1.0.d.ts",
|
|
31
|
-
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gl-1.0.d.cts"
|
|
26
|
+
"test": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gl-1.0.d.ts"
|
|
32
27
|
},
|
|
33
28
|
"dependencies": {
|
|
34
|
-
"@girs/gjs": "^
|
|
35
|
-
"@girs/gobject-2.0": "^2.
|
|
29
|
+
"@girs/gjs": "^4.0.0-beta.2",
|
|
30
|
+
"@girs/gobject-2.0": "^2.80.0-4.0.0-beta.2"
|
|
36
31
|
},
|
|
37
32
|
"devDependencies": {
|
|
38
33
|
"typescript": "*"
|
package/gl-1.0.cjs
DELETED
package/gl-1.0.d.cts
DELETED
|
@@ -1,158 +0,0 @@
|
|
|
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-gir
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import './gl-1.0-ambient.d.ts';
|
|
10
|
-
import './gl-1.0-import.d.ts';
|
|
11
|
-
/**
|
|
12
|
-
* GL-1.0
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import type GObject from '@girs/gobject-2.0';
|
|
16
|
-
|
|
17
|
-
export function InitNames(): void
|
|
18
|
-
export interface bitfield {
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export class bitfield {
|
|
22
|
-
|
|
23
|
-
// Own properties of GL-1.0.GL.bitfield
|
|
24
|
-
|
|
25
|
-
static name: string
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface charARB {
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export class charARB {
|
|
32
|
-
|
|
33
|
-
// Own properties of GL-1.0.GL.charARB
|
|
34
|
-
|
|
35
|
-
static name: string
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export interface clampf {
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export class clampf {
|
|
42
|
-
|
|
43
|
-
// Own properties of GL-1.0.GL.clampf
|
|
44
|
-
|
|
45
|
-
static name: string
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export interface boolean_ {
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export class boolean_ {
|
|
52
|
-
|
|
53
|
-
// Own properties of GL-1.0.GL.boolean
|
|
54
|
-
|
|
55
|
-
static name: string
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export interface enum_ {
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export class enum_ {
|
|
62
|
-
|
|
63
|
-
// Own properties of GL-1.0.GL.enum
|
|
64
|
-
|
|
65
|
-
static name: string
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export interface float {
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export class float {
|
|
72
|
-
|
|
73
|
-
// Own properties of GL-1.0.GL.float
|
|
74
|
-
|
|
75
|
-
static name: string
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export interface handleARB {
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export class handleARB {
|
|
82
|
-
|
|
83
|
-
// Own properties of GL-1.0.GL.handleARB
|
|
84
|
-
|
|
85
|
-
static name: string
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export interface int {
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export class int {
|
|
92
|
-
|
|
93
|
-
// Own properties of GL-1.0.GL.int
|
|
94
|
-
|
|
95
|
-
static name: string
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export interface intptr {
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export class intptr {
|
|
102
|
-
|
|
103
|
-
// Own properties of GL-1.0.GL.intptr
|
|
104
|
-
|
|
105
|
-
static name: string
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export interface sizei {
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
export class sizei {
|
|
112
|
-
|
|
113
|
-
// Own properties of GL-1.0.GL.sizei
|
|
114
|
-
|
|
115
|
-
static name: string
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export interface sizeiptr {
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
export class sizeiptr {
|
|
122
|
-
|
|
123
|
-
// Own properties of GL-1.0.GL.sizeiptr
|
|
124
|
-
|
|
125
|
-
static name: string
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export interface uint {
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
export class uint {
|
|
132
|
-
|
|
133
|
-
// Own properties of GL-1.0.GL.uint
|
|
134
|
-
|
|
135
|
-
static name: string
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export interface void_ {
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
export class void_ {
|
|
142
|
-
|
|
143
|
-
// Own properties of GL-1.0.GL.void
|
|
144
|
-
|
|
145
|
-
static name: string
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* Name of the imported GIR library
|
|
150
|
-
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
|
|
151
|
-
*/
|
|
152
|
-
export const __name__: string
|
|
153
|
-
/**
|
|
154
|
-
* Version of the imported GIR library
|
|
155
|
-
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
|
|
156
|
-
*/
|
|
157
|
-
export const __version__: string
|
|
158
|
-
// END
|