@girs/cogl-10 10.0.0-3.2.5 → 10.0.0-3.2.7

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 CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/cogl-10)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Cogl-10, generated from library version 10.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.5.
8
+ GJS TypeScript type definitions for Cogl-10, generated from library version 10.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
9
9
 
10
10
 
11
11
  ## Install
package/cogl-10.d.cts CHANGED
@@ -1103,7 +1103,7 @@ export function pixel_format_get_n_planes(format: PixelFormat): number
1103
1103
  * @param format a #CoglPixelFormat
1104
1104
  * @returns A string representation of @format.
1105
1105
  */
1106
- export function pixel_format_to_string(format: PixelFormat): string | null
1106
+ export function pixel_format_to_string(format: PixelFormat): string
1107
1107
  /**
1108
1108
  * Attaches a shader to a program object. A program can have multiple
1109
1109
  * vertex or fragment shaders but only one of them may provide a
@@ -1121,7 +1121,7 @@ export function program_attach_shader(program_handle: Handle, shader_handle: Han
1121
1121
  * @param uniform_name the name of a uniform.
1122
1122
  * @returns the offset of a uniform in a specified program.
1123
1123
  */
1124
- export function program_get_uniform_location(handle: Handle, uniform_name: string | null): number
1124
+ export function program_get_uniform_location(handle: Handle, uniform_name: string): number
1125
1125
  /**
1126
1126
  * Links a program making it ready for use. Note that calling this
1127
1127
  * function is optional. If it is not called the program will
@@ -1175,8 +1175,8 @@ export function program_set_uniform_int(program: Handle, uniform_location: numbe
1175
1175
  export function program_set_uniform_matrix(program: Handle, uniform_location: number, dimensions: number, transpose: boolean, value: number[]): void
1176
1176
  export function scanout_error_quark(): GLib.Quark
1177
1177
  export function set_tracing_disabled_on_thread(main_context: GLib.MainContext): void
1178
- export function set_tracing_enabled_on_thread(main_context: GLib.MainContext, group: string | null, filename: string | null): void
1179
- export function set_tracing_enabled_on_thread_with_fd(main_context: GLib.MainContext, group: string | null, fd: number): void
1178
+ export function set_tracing_enabled_on_thread(main_context: GLib.MainContext, group: string, filename: string): void
1179
+ export function set_tracing_enabled_on_thread_with_fd(main_context: GLib.MainContext, group: string, fd: number): void
1180
1180
  /**
1181
1181
  * Retrieves the type of a shader #CoglHandle
1182
1182
  * @param handle #CoglHandle for a shader.
@@ -1193,7 +1193,7 @@ export function shader_get_type(handle: Handle): ShaderType
1193
1193
  * @param shader #CoglHandle for a shader.
1194
1194
  * @param source Shader source.
1195
1195
  */
1196
- export function shader_source(shader: Handle, source: string | null): void
1196
+ export function shader_source(shader: Handle, source: string): void
1197
1197
  export function texture_error_quark(): number
1198
1198
  /**
1199
1199
  * Creates a #CoglTexture from a #CoglBitmap.
@@ -1222,8 +1222,8 @@ export function texture_new_from_data(width: number, height: number, flags: Text
1222
1222
  * @param internal_format the #CoglPixelFormat to use for the GPU storage of the texture. If %COGL_PIXEL_FORMAT_ANY is given then a premultiplied format similar to the format of the source data will be used. The default blending equations of Cogl expect premultiplied color data; the main use of passing a non-premultiplied format here is if you have non-premultiplied source data and are going to adjust the blend mode (see cogl_material_set_blend()) or use the data for something other than straight blending.
1223
1223
  * @returns A newly created #CoglTexture or %NULL on failure
1224
1224
  */
1225
- export function texture_new_from_file(filename: string | null, flags: TextureFlags, internal_format: PixelFormat): Texture
1226
- export function trace_describe(head: TraceHead, description: string | null): void
1225
+ export function texture_new_from_file(filename: string, flags: TextureFlags, internal_format: PixelFormat): Texture
1226
+ export function trace_describe(head: TraceHead, description: string): void
1227
1227
  export function trace_end(head: TraceHead): void
1228
1228
  /**
1229
1229
  * A callback function to use for cogl_debug_object_foreach_type().
@@ -1339,7 +1339,7 @@ export interface Texture extends Object {
1339
1339
  * @param key name of the key for that association
1340
1340
  * @returns the data if found, or %NULL if no such data exists.
1341
1341
  */
1342
- get_data(key: string | null): any | null
1342
+ get_data(key: string): any | null
1343
1343
  /**
1344
1344
  * Queries the GL handles for a GPU side texture through its #CoglTexture.
1345
1345
  *
@@ -1469,7 +1469,7 @@ export interface Texture extends Object {
1469
1469
  * @param key name of the key
1470
1470
  * @param data data to associate with that key
1471
1471
  */
1472
- set_data(key: string | null, data: any | null): void
1472
+ set_data(key: string, data: any | null): void
1473
1473
  /**
1474
1474
  * Affects the internal storage format for this texture by specifying
1475
1475
  * whether red, green and blue color components should be stored as
@@ -1577,7 +1577,7 @@ export class Texture extends GObject.Object {
1577
1577
  * @param internal_format the #CoglPixelFormat to use for the GPU storage of the texture. If %COGL_PIXEL_FORMAT_ANY is given then a premultiplied format similar to the format of the source data will be used. The default blending equations of Cogl expect premultiplied color data; the main use of passing a non-premultiplied format here is if you have non-premultiplied source data and are going to adjust the blend mode (see cogl_material_set_blend()) or use the data for something other than straight blending.
1578
1578
  * @returns A newly created #CoglTexture or %NULL on failure
1579
1579
  */
1580
- static new_from_file(filename: string | null, flags: TextureFlags, internal_format: PixelFormat): Texture
1580
+ static new_from_file(filename: string, flags: TextureFlags, internal_format: PixelFormat): Texture
1581
1581
  static error_quark(): number
1582
1582
  }
1583
1583
 
@@ -1624,7 +1624,7 @@ export class Bitmap extends Object {
1624
1624
  * @param filename the file to load.
1625
1625
  * @returns a #CoglBitmap to the new loaded image data, or %NULL if loading the image failed.
1626
1626
  */
1627
- static new_from_file(filename: string | null): Bitmap
1627
+ static new_from_file(filename: string): Bitmap
1628
1628
  _init(config?: Bitmap.ConstructorProperties): void
1629
1629
  static error_quark(): number
1630
1630
  /**
@@ -1633,7 +1633,7 @@ export class Bitmap extends Object {
1633
1633
  * @param filename the file to check
1634
1634
  * @returns %TRUE if the image was successfully parsed
1635
1635
  */
1636
- static get_size_from_file(filename: string | null): [ /* returnType */ boolean, /* width */ number, /* height */ number ]
1636
+ static get_size_from_file(filename: string): [ /* returnType */ boolean, /* width */ number, /* height */ number ]
1637
1637
  }
1638
1638
 
1639
1639
  export module Context {
@@ -1787,6 +1787,7 @@ export module Framebuffer {
1787
1787
  driver_config?: any | null
1788
1788
  height?: number | null
1789
1789
  width?: number | null
1790
+ driverConfig?: any | null
1790
1791
  }
1791
1792
 
1792
1793
  }
@@ -1796,6 +1797,7 @@ export interface Framebuffer {
1796
1797
  // Own properties of Cogl-10.Cogl.Framebuffer
1797
1798
 
1798
1799
  readonly driver_config: any
1800
+ readonly driverConfig: any
1799
1801
  height: number
1800
1802
  width: number
1801
1803
 
@@ -3192,7 +3194,7 @@ export interface Pipeline {
3192
3194
  * @param uniform_name The name of a uniform
3193
3195
  * @returns A integer representing the location of the given uniform.
3194
3196
  */
3195
- get_uniform_location(uniform_name: string | null): number
3197
+ get_uniform_location(uniform_name: string): number
3196
3198
  /**
3197
3199
  * Queries what user program has been associated with the given
3198
3200
  * `pipeline` using cogl_pipeline_set_user_program().
@@ -3285,7 +3287,7 @@ export interface Pipeline {
3285
3287
  * @param blend_string A <link linkend="cogl-Blend-Strings">Cogl blend string</link> describing the desired blend function.
3286
3288
  * @returns %TRUE if the blend string was successfully parsed, and the described blending is supported by the underlying driver/hardware. If there was an error, %FALSE is returned and @error is set accordingly (if present).
3287
3289
  */
3288
- set_blend(blend_string: string | null): boolean
3290
+ set_blend(blend_string: string): boolean
3289
3291
  /**
3290
3292
  * When blending is setup to reference a CONSTANT blend factor then
3291
3293
  * blending will depend on the constant set with this function.
@@ -3436,7 +3438,7 @@ export interface Pipeline {
3436
3438
  * @param blend_string A <link linkend="cogl-Blend-Strings">Cogl blend string</link> describing the desired texture combine function.
3437
3439
  * @returns %TRUE if the blend string was successfully parsed, and the described texture combining is supported by the underlying driver and or hardware. On failure, %FALSE is returned and @error is set
3438
3440
  */
3439
- set_layer_combine(layer_index: number, blend_string: string | null): boolean
3441
+ set_layer_combine(layer_index: number, blend_string: string): boolean
3440
3442
  /**
3441
3443
  * When you are using the 'CONSTANT' color source in a layer combine
3442
3444
  * description then you can use this function to define its value.
@@ -3751,13 +3753,13 @@ export interface Texture2D extends Texture {
3751
3753
  * @param key name of the key for that association
3752
3754
  * @returns the data if found, or %NULL if no such data exists.
3753
3755
  */
3754
- get_data(key: string | null): any | null
3756
+ get_data(key: string): any | null
3755
3757
  /**
3756
3758
  * Gets a named field from the objects table of associations (see g_object_set_data()).
3757
3759
  * @param key name of the key for that association
3758
3760
  * @returns the data if found, or %NULL if no such data exists.
3759
3761
  */
3760
- get_data(key: string | null): any | null
3762
+ get_data(key: string): any | null
3761
3763
  /**
3762
3764
  * `texture` a #CoglTexture.
3763
3765
  * Sets all the pixels for a given mipmap `level` by copying the pixel
@@ -3825,7 +3827,7 @@ export interface Texture2D extends Texture {
3825
3827
  * @param key name of the key
3826
3828
  * @param data data to associate with that key
3827
3829
  */
3828
- set_data(key: string | null, data: any | null): void
3830
+ set_data(key: string, data: any | null): void
3829
3831
  /**
3830
3832
  * Each object carries around a table of associations from
3831
3833
  * strings to pointers. This function lets you set an association.
@@ -3840,7 +3842,7 @@ export interface Texture2D extends Texture {
3840
3842
  * @param key name of the key
3841
3843
  * @param data data to associate with that key
3842
3844
  */
3843
- set_data(key: string | null, data: any | null): void
3845
+ set_data(key: string, data: any | null): void
3844
3846
 
3845
3847
  // Class property signals of Cogl-10.Cogl.Texture2D
3846
3848
 
@@ -3927,13 +3929,13 @@ export interface Texture2DSliced extends Texture {
3927
3929
  * @param key name of the key for that association
3928
3930
  * @returns the data if found, or %NULL if no such data exists.
3929
3931
  */
3930
- get_data(key: string | null): any | null
3932
+ get_data(key: string): any | null
3931
3933
  /**
3932
3934
  * Gets a named field from the objects table of associations (see g_object_set_data()).
3933
3935
  * @param key name of the key for that association
3934
3936
  * @returns the data if found, or %NULL if no such data exists.
3935
3937
  */
3936
- get_data(key: string | null): any | null
3938
+ get_data(key: string): any | null
3937
3939
  /**
3938
3940
  * `texture` a #CoglTexture.
3939
3941
  * Sets all the pixels for a given mipmap `level` by copying the pixel
@@ -4001,7 +4003,7 @@ export interface Texture2DSliced extends Texture {
4001
4003
  * @param key name of the key
4002
4004
  * @param data data to associate with that key
4003
4005
  */
4004
- set_data(key: string | null, data: any | null): void
4006
+ set_data(key: string, data: any | null): void
4005
4007
  /**
4006
4008
  * Each object carries around a table of associations from
4007
4009
  * strings to pointers. This function lets you set an association.
@@ -4016,7 +4018,7 @@ export interface Texture2DSliced extends Texture {
4016
4018
  * @param key name of the key
4017
4019
  * @param data data to associate with that key
4018
4020
  */
4019
- set_data(key: string | null, data: any | null): void
4021
+ set_data(key: string, data: any | null): void
4020
4022
 
4021
4023
  // Class property signals of Cogl-10.Cogl.Texture2DSliced
4022
4024
 
@@ -4325,7 +4327,7 @@ export interface DebugObjectTypeInfo {
4325
4327
  * A human readable name for the type.
4326
4328
  * @field
4327
4329
  */
4328
- name: string | null
4330
+ name: string
4329
4331
  /**
4330
4332
  * The number of objects of this type that are
4331
4333
  * currently in use
@@ -4579,7 +4581,7 @@ export interface TraceHead {
4579
4581
  // Own fields of Cogl-10.Cogl.TraceHead
4580
4582
 
4581
4583
  begin_time: number
4582
- name: string | null
4584
+ name: string
4583
4585
  description: string | null
4584
4586
  }
4585
4587
 
package/cogl-10.d.ts CHANGED
@@ -1105,7 +1105,7 @@ function pixel_format_get_n_planes(format: PixelFormat): number
1105
1105
  * @param format a #CoglPixelFormat
1106
1106
  * @returns A string representation of @format.
1107
1107
  */
1108
- function pixel_format_to_string(format: PixelFormat): string | null
1108
+ function pixel_format_to_string(format: PixelFormat): string
1109
1109
  /**
1110
1110
  * Attaches a shader to a program object. A program can have multiple
1111
1111
  * vertex or fragment shaders but only one of them may provide a
@@ -1123,7 +1123,7 @@ function program_attach_shader(program_handle: Handle, shader_handle: Handle): v
1123
1123
  * @param uniform_name the name of a uniform.
1124
1124
  * @returns the offset of a uniform in a specified program.
1125
1125
  */
1126
- function program_get_uniform_location(handle: Handle, uniform_name: string | null): number
1126
+ function program_get_uniform_location(handle: Handle, uniform_name: string): number
1127
1127
  /**
1128
1128
  * Links a program making it ready for use. Note that calling this
1129
1129
  * function is optional. If it is not called the program will
@@ -1177,8 +1177,8 @@ function program_set_uniform_int(program: Handle, uniform_location: number, n_co
1177
1177
  function program_set_uniform_matrix(program: Handle, uniform_location: number, dimensions: number, transpose: boolean, value: number[]): void
1178
1178
  function scanout_error_quark(): GLib.Quark
1179
1179
  function set_tracing_disabled_on_thread(main_context: GLib.MainContext): void
1180
- function set_tracing_enabled_on_thread(main_context: GLib.MainContext, group: string | null, filename: string | null): void
1181
- function set_tracing_enabled_on_thread_with_fd(main_context: GLib.MainContext, group: string | null, fd: number): void
1180
+ function set_tracing_enabled_on_thread(main_context: GLib.MainContext, group: string, filename: string): void
1181
+ function set_tracing_enabled_on_thread_with_fd(main_context: GLib.MainContext, group: string, fd: number): void
1182
1182
  /**
1183
1183
  * Retrieves the type of a shader #CoglHandle
1184
1184
  * @param handle #CoglHandle for a shader.
@@ -1195,7 +1195,7 @@ function shader_get_type(handle: Handle): ShaderType
1195
1195
  * @param shader #CoglHandle for a shader.
1196
1196
  * @param source Shader source.
1197
1197
  */
1198
- function shader_source(shader: Handle, source: string | null): void
1198
+ function shader_source(shader: Handle, source: string): void
1199
1199
  function texture_error_quark(): number
1200
1200
  /**
1201
1201
  * Creates a #CoglTexture from a #CoglBitmap.
@@ -1224,8 +1224,8 @@ function texture_new_from_data(width: number, height: number, flags: TextureFlag
1224
1224
  * @param internal_format the #CoglPixelFormat to use for the GPU storage of the texture. If %COGL_PIXEL_FORMAT_ANY is given then a premultiplied format similar to the format of the source data will be used. The default blending equations of Cogl expect premultiplied color data; the main use of passing a non-premultiplied format here is if you have non-premultiplied source data and are going to adjust the blend mode (see cogl_material_set_blend()) or use the data for something other than straight blending.
1225
1225
  * @returns A newly created #CoglTexture or %NULL on failure
1226
1226
  */
1227
- function texture_new_from_file(filename: string | null, flags: TextureFlags, internal_format: PixelFormat): Texture
1228
- function trace_describe(head: TraceHead, description: string | null): void
1227
+ function texture_new_from_file(filename: string, flags: TextureFlags, internal_format: PixelFormat): Texture
1228
+ function trace_describe(head: TraceHead, description: string): void
1229
1229
  function trace_end(head: TraceHead): void
1230
1230
  /**
1231
1231
  * A callback function to use for cogl_debug_object_foreach_type().
@@ -1341,7 +1341,7 @@ interface Texture extends Object {
1341
1341
  * @param key name of the key for that association
1342
1342
  * @returns the data if found, or %NULL if no such data exists.
1343
1343
  */
1344
- get_data(key: string | null): any | null
1344
+ get_data(key: string): any | null
1345
1345
  /**
1346
1346
  * Queries the GL handles for a GPU side texture through its #CoglTexture.
1347
1347
  *
@@ -1471,7 +1471,7 @@ interface Texture extends Object {
1471
1471
  * @param key name of the key
1472
1472
  * @param data data to associate with that key
1473
1473
  */
1474
- set_data(key: string | null, data: any | null): void
1474
+ set_data(key: string, data: any | null): void
1475
1475
  /**
1476
1476
  * Affects the internal storage format for this texture by specifying
1477
1477
  * whether red, green and blue color components should be stored as
@@ -1579,7 +1579,7 @@ class Texture extends GObject.Object {
1579
1579
  * @param internal_format the #CoglPixelFormat to use for the GPU storage of the texture. If %COGL_PIXEL_FORMAT_ANY is given then a premultiplied format similar to the format of the source data will be used. The default blending equations of Cogl expect premultiplied color data; the main use of passing a non-premultiplied format here is if you have non-premultiplied source data and are going to adjust the blend mode (see cogl_material_set_blend()) or use the data for something other than straight blending.
1580
1580
  * @returns A newly created #CoglTexture or %NULL on failure
1581
1581
  */
1582
- static new_from_file(filename: string | null, flags: TextureFlags, internal_format: PixelFormat): Texture
1582
+ static new_from_file(filename: string, flags: TextureFlags, internal_format: PixelFormat): Texture
1583
1583
  static error_quark(): number
1584
1584
  }
1585
1585
 
@@ -1626,7 +1626,7 @@ class Bitmap extends Object {
1626
1626
  * @param filename the file to load.
1627
1627
  * @returns a #CoglBitmap to the new loaded image data, or %NULL if loading the image failed.
1628
1628
  */
1629
- static new_from_file(filename: string | null): Bitmap
1629
+ static new_from_file(filename: string): Bitmap
1630
1630
  _init(config?: Bitmap.ConstructorProperties): void
1631
1631
  static error_quark(): number
1632
1632
  /**
@@ -1635,7 +1635,7 @@ class Bitmap extends Object {
1635
1635
  * @param filename the file to check
1636
1636
  * @returns %TRUE if the image was successfully parsed
1637
1637
  */
1638
- static get_size_from_file(filename: string | null): [ /* returnType */ boolean, /* width */ number, /* height */ number ]
1638
+ static get_size_from_file(filename: string): [ /* returnType */ boolean, /* width */ number, /* height */ number ]
1639
1639
  }
1640
1640
 
1641
1641
  module Context {
@@ -1789,6 +1789,7 @@ module Framebuffer {
1789
1789
  driver_config?: any | null
1790
1790
  height?: number | null
1791
1791
  width?: number | null
1792
+ driverConfig?: any | null
1792
1793
  }
1793
1794
 
1794
1795
  }
@@ -1798,6 +1799,7 @@ interface Framebuffer {
1798
1799
  // Own properties of Cogl-10.Cogl.Framebuffer
1799
1800
 
1800
1801
  readonly driver_config: any
1802
+ readonly driverConfig: any
1801
1803
  height: number
1802
1804
  width: number
1803
1805
 
@@ -3194,7 +3196,7 @@ interface Pipeline {
3194
3196
  * @param uniform_name The name of a uniform
3195
3197
  * @returns A integer representing the location of the given uniform.
3196
3198
  */
3197
- get_uniform_location(uniform_name: string | null): number
3199
+ get_uniform_location(uniform_name: string): number
3198
3200
  /**
3199
3201
  * Queries what user program has been associated with the given
3200
3202
  * `pipeline` using cogl_pipeline_set_user_program().
@@ -3287,7 +3289,7 @@ interface Pipeline {
3287
3289
  * @param blend_string A <link linkend="cogl-Blend-Strings">Cogl blend string</link> describing the desired blend function.
3288
3290
  * @returns %TRUE if the blend string was successfully parsed, and the described blending is supported by the underlying driver/hardware. If there was an error, %FALSE is returned and @error is set accordingly (if present).
3289
3291
  */
3290
- set_blend(blend_string: string | null): boolean
3292
+ set_blend(blend_string: string): boolean
3291
3293
  /**
3292
3294
  * When blending is setup to reference a CONSTANT blend factor then
3293
3295
  * blending will depend on the constant set with this function.
@@ -3438,7 +3440,7 @@ interface Pipeline {
3438
3440
  * @param blend_string A <link linkend="cogl-Blend-Strings">Cogl blend string</link> describing the desired texture combine function.
3439
3441
  * @returns %TRUE if the blend string was successfully parsed, and the described texture combining is supported by the underlying driver and or hardware. On failure, %FALSE is returned and @error is set
3440
3442
  */
3441
- set_layer_combine(layer_index: number, blend_string: string | null): boolean
3443
+ set_layer_combine(layer_index: number, blend_string: string): boolean
3442
3444
  /**
3443
3445
  * When you are using the 'CONSTANT' color source in a layer combine
3444
3446
  * description then you can use this function to define its value.
@@ -3753,13 +3755,13 @@ interface Texture2D extends Texture {
3753
3755
  * @param key name of the key for that association
3754
3756
  * @returns the data if found, or %NULL if no such data exists.
3755
3757
  */
3756
- get_data(key: string | null): any | null
3758
+ get_data(key: string): any | null
3757
3759
  /**
3758
3760
  * Gets a named field from the objects table of associations (see g_object_set_data()).
3759
3761
  * @param key name of the key for that association
3760
3762
  * @returns the data if found, or %NULL if no such data exists.
3761
3763
  */
3762
- get_data(key: string | null): any | null
3764
+ get_data(key: string): any | null
3763
3765
  /**
3764
3766
  * `texture` a #CoglTexture.
3765
3767
  * Sets all the pixels for a given mipmap `level` by copying the pixel
@@ -3827,7 +3829,7 @@ interface Texture2D extends Texture {
3827
3829
  * @param key name of the key
3828
3830
  * @param data data to associate with that key
3829
3831
  */
3830
- set_data(key: string | null, data: any | null): void
3832
+ set_data(key: string, data: any | null): void
3831
3833
  /**
3832
3834
  * Each object carries around a table of associations from
3833
3835
  * strings to pointers. This function lets you set an association.
@@ -3842,7 +3844,7 @@ interface Texture2D extends Texture {
3842
3844
  * @param key name of the key
3843
3845
  * @param data data to associate with that key
3844
3846
  */
3845
- set_data(key: string | null, data: any | null): void
3847
+ set_data(key: string, data: any | null): void
3846
3848
 
3847
3849
  // Class property signals of Cogl-10.Cogl.Texture2D
3848
3850
 
@@ -3929,13 +3931,13 @@ interface Texture2DSliced extends Texture {
3929
3931
  * @param key name of the key for that association
3930
3932
  * @returns the data if found, or %NULL if no such data exists.
3931
3933
  */
3932
- get_data(key: string | null): any | null
3934
+ get_data(key: string): any | null
3933
3935
  /**
3934
3936
  * Gets a named field from the objects table of associations (see g_object_set_data()).
3935
3937
  * @param key name of the key for that association
3936
3938
  * @returns the data if found, or %NULL if no such data exists.
3937
3939
  */
3938
- get_data(key: string | null): any | null
3940
+ get_data(key: string): any | null
3939
3941
  /**
3940
3942
  * `texture` a #CoglTexture.
3941
3943
  * Sets all the pixels for a given mipmap `level` by copying the pixel
@@ -4003,7 +4005,7 @@ interface Texture2DSliced extends Texture {
4003
4005
  * @param key name of the key
4004
4006
  * @param data data to associate with that key
4005
4007
  */
4006
- set_data(key: string | null, data: any | null): void
4008
+ set_data(key: string, data: any | null): void
4007
4009
  /**
4008
4010
  * Each object carries around a table of associations from
4009
4011
  * strings to pointers. This function lets you set an association.
@@ -4018,7 +4020,7 @@ interface Texture2DSliced extends Texture {
4018
4020
  * @param key name of the key
4019
4021
  * @param data data to associate with that key
4020
4022
  */
4021
- set_data(key: string | null, data: any | null): void
4023
+ set_data(key: string, data: any | null): void
4022
4024
 
4023
4025
  // Class property signals of Cogl-10.Cogl.Texture2DSliced
4024
4026
 
@@ -4327,7 +4329,7 @@ interface DebugObjectTypeInfo {
4327
4329
  * A human readable name for the type.
4328
4330
  * @field
4329
4331
  */
4330
- name: string | null
4332
+ name: string
4331
4333
  /**
4332
4334
  * The number of objects of this type that are
4333
4335
  * currently in use
@@ -4581,7 +4583,7 @@ interface TraceHead {
4581
4583
  // Own fields of Cogl-10.Cogl.TraceHead
4582
4584
 
4583
4585
  begin_time: number
4584
- name: string | null
4586
+ name: string
4585
4587
  description: string | null
4586
4588
  }
4587
4589
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/cogl-10",
3
- "version": "10.0.0-3.2.5",
3
+ "version": "10.0.0-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for Cogl-10, generated from library version 10.0.0",
5
5
  "type": "module",
6
6
  "module": "cogl-10.js",
@@ -25,12 +25,12 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit cogl-10.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/cairo-1.0": "^1.0.0-3.2.5",
29
- "@girs/gjs": "^3.2.5",
30
- "@girs/gl-1.0": "^1.0.0-3.2.5",
31
- "@girs/glib-2.0": "^2.78.0-3.2.5",
32
- "@girs/gobject-2.0": "^2.78.0-3.2.5",
33
- "@girs/graphene-1.0": "^1.0.0-3.2.5"
28
+ "@girs/cairo-1.0": "^1.0.0-3.2.7",
29
+ "@girs/gjs": "^3.2.7",
30
+ "@girs/gl-1.0": "^1.0.0-3.2.7",
31
+ "@girs/glib-2.0": "^2.78.0-3.2.7",
32
+ "@girs/gobject-2.0": "^2.78.0-3.2.7",
33
+ "@girs/graphene-1.0": "^1.0.0-3.2.7"
34
34
  },
35
35
  "devDependencies": {
36
36
  "typescript": "*"