@thi.ng/wasm-api-bindgen 1.2.38 → 1.2.40

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 (3) hide show
  1. package/CHANGELOG.md +8 -1
  2. package/package.json +18 -18
  3. package/zig.js +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-08-06T18:02:31Z
3
+ - **Last updated**: 2025-09-02T13:15:31Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -11,6 +11,13 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
11
11
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
12
  and/or version bumps of transitive dependencies.
13
13
 
14
+ ### [1.2.40](https://github.com/thi-ng/umbrella/tree/@thi.ng/wasm-api-bindgen@1.2.40) (2025-09-02)
15
+
16
+ #### 🩹 Bug fixes
17
+
18
+ - update zig function pointer callconv ([5cfd515](https://github.com/thi-ng/umbrella/commit/5cfd515))
19
+ - use `callconv(.c)` (older format now deprecated in 0.15.1)
20
+
14
21
  ### [1.2.36](https://github.com/thi-ng/umbrella/tree/@thi.ng/wasm-api-bindgen@1.2.36) (2025-08-06)
15
22
 
16
23
  #### ♻️ Refactoring
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/wasm-api-bindgen",
3
- "version": "1.2.38",
3
+ "version": "1.2.40",
4
4
  "description": "Polyglot bindings code generators (TS/JS, Zig, C11) for hybrid WebAssembly projects",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -41,24 +41,24 @@
41
41
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
42
42
  },
43
43
  "dependencies": {
44
- "@thi.ng/api": "^8.12.1",
45
- "@thi.ng/args": "^2.9.2",
46
- "@thi.ng/arrays": "^2.13.10",
47
- "@thi.ng/binary": "^3.4.59",
48
- "@thi.ng/checks": "^3.7.17",
49
- "@thi.ng/compare": "^2.4.27",
50
- "@thi.ng/defmulti": "^3.0.75",
51
- "@thi.ng/errors": "^2.5.41",
52
- "@thi.ng/file-io": "^2.2.8",
53
- "@thi.ng/logger": "^3.1.16",
54
- "@thi.ng/paths": "^5.2.20",
55
- "@thi.ng/strings": "^3.9.21",
56
- "@thi.ng/wasm-api": "^2.3.31"
44
+ "@thi.ng/api": "^8.12.2",
45
+ "@thi.ng/args": "^2.9.3",
46
+ "@thi.ng/arrays": "^2.13.11",
47
+ "@thi.ng/binary": "^3.4.60",
48
+ "@thi.ng/checks": "^3.7.18",
49
+ "@thi.ng/compare": "^2.4.28",
50
+ "@thi.ng/defmulti": "^3.0.76",
51
+ "@thi.ng/errors": "^2.5.42",
52
+ "@thi.ng/file-io": "^2.2.9",
53
+ "@thi.ng/logger": "^3.1.17",
54
+ "@thi.ng/paths": "^5.2.21",
55
+ "@thi.ng/strings": "^3.9.22",
56
+ "@thi.ng/wasm-api": "^2.4.1"
57
57
  },
58
58
  "devDependencies": {
59
- "@types/node": "^24.1.0",
60
- "esbuild": "^0.25.8",
61
- "typedoc": "^0.28.9",
59
+ "@types/node": "^24.3.0",
60
+ "esbuild": "^0.25.9",
61
+ "typedoc": "^0.28.12",
62
62
  "typescript": "^5.9.2"
63
63
  },
64
64
  "keywords": [
@@ -128,5 +128,5 @@
128
128
  "tag": "wasm",
129
129
  "year": 2022
130
130
  },
131
- "gitHead": "f6ebc1302dc9211d588293aa0897173c6e54f4e5\n"
131
+ "gitHead": "4ebea5f30d4e2d28a12dfb01b39533fdfda0ab43\n"
132
132
  }
package/zig.js CHANGED
@@ -80,7 +80,7 @@ pub const ${name}Slice = bindgen.Slice([]${type}, [*]${type});`,
80
80
  opts2
81
81
  ).type;
82
82
  acc.push(
83
- `pub const ${ptr.name} = *const fn (${args}) callconv(.C) ${rtype};`,
83
+ `pub const ${ptr.name} = *const fn (${args}) callconv(.c) ${rtype};`,
84
84
  ""
85
85
  );
86
86
  }