@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.
- package/package.json +1 -1
- package/src/types.ts +2 -0
package/package.json
CHANGED
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
|
/**
|