@gtkx/gir 0.14.0 → 0.15.0

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.
@@ -255,7 +255,7 @@ export class RawGirParser {
255
255
  direction: String(param["@_direction"] ?? "in") || "in",
256
256
  callerAllocates: callerAllocates === "1",
257
257
  nullable: param["@_nullable"] === "1",
258
- optional: param["@_allow-none"] === "1",
258
+ optional: param["@_allow-none"] === "1" || param["@_optional"] === "1",
259
259
  scope: scope,
260
260
  closure: closure !== undefined ? parseInt(closure, 10) : undefined,
261
261
  destroy: destroy !== undefined ? parseInt(destroy, 10) : undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gtkx/gir",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "GObject Introspection file parser for GTKX",
5
5
  "keywords": [
6
6
  "gtkx",