@thi.ng/wasm-api-bindgen 1.2.39 → 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.
- package/CHANGELOG.md +8 -1
- package/package.json +3 -3
- package/zig.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2025-09-
|
|
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.
|
|
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",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@thi.ng/logger": "^3.1.17",
|
|
54
54
|
"@thi.ng/paths": "^5.2.21",
|
|
55
55
|
"@thi.ng/strings": "^3.9.22",
|
|
56
|
-
"@thi.ng/wasm-api": "^2.4.
|
|
56
|
+
"@thi.ng/wasm-api": "^2.4.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/node": "^24.3.0",
|
|
@@ -128,5 +128,5 @@
|
|
|
128
128
|
"tag": "wasm",
|
|
129
129
|
"year": 2022
|
|
130
130
|
},
|
|
131
|
-
"gitHead": "
|
|
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(.
|
|
83
|
+
`pub const ${ptr.name} = *const fn (${args}) callconv(.c) ${rtype};`,
|
|
84
84
|
""
|
|
85
85
|
);
|
|
86
86
|
}
|