@gtkx/gir 0.1.38 → 0.1.41

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/types.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gtkx/gir",
3
- "version": "0.1.38",
3
+ "version": "0.1.41",
4
4
  "description": "GObject Introspection file parser for GTKX",
5
5
  "keywords": [
6
6
  "gtk",
package/src/types.ts CHANGED
@@ -334,6 +334,8 @@ export interface FfiTypeDescriptor {
334
334
  resultType?: FfiTypeDescriptor;
335
335
  /** Argument types for callbacks that need explicit type info (e.g., drawFunc). */
336
336
  argTypes?: FfiTypeDescriptor[];
337
+ /** Whether this argument is optional (can be null/undefined for pointer types). */
338
+ optional?: boolean;
337
339
  }
338
340
 
339
341
  /**