@thi.ng/wasm-api 0.13.0 → 0.13.1
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 +1 -1
- package/codegen/c11.js +1 -2
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
package/codegen/c11.js
CHANGED
|
@@ -36,11 +36,10 @@ export const C11 = (opts = {}) => {
|
|
|
36
36
|
#ifdef __cplusplus
|
|
37
37
|
extern "C" {
|
|
38
38
|
#endif
|
|
39
|
-
|
|
40
39
|
${opts.debug ? "\n#include <stdalign.h>" : ""}
|
|
41
40
|
#include <stddef.h>
|
|
42
41
|
#include <stdint.h>${opts.pre ? `\n${opts.pre}` : ""}`,
|
|
43
|
-
post: () => `${opts.post ? `${opts.post}\n` : ""}#ifdef __cplusplus\n}\n#endif`,
|
|
42
|
+
post: () => `${opts.post ? `${opts.post}\n` : ""}#ifdef __cplusplus\n}\n#endif\n`,
|
|
44
43
|
doc: (doc, acc, opts) => {
|
|
45
44
|
acc.push(...prefixLines("// ", doc, opts.lineWidth));
|
|
46
45
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/wasm-api",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"description": "Generic, modular, extensible API bridge, polyglot glue code and bindings code generators for hybrid JS & WebAssembly projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -37,18 +37,18 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@thi.ng/api": "^8.4.3",
|
|
40
|
-
"@thi.ng/args": "^2.2.
|
|
40
|
+
"@thi.ng/args": "^2.2.4",
|
|
41
41
|
"@thi.ng/binary": "^3.3.6",
|
|
42
42
|
"@thi.ng/checks": "^3.2.6",
|
|
43
43
|
"@thi.ng/compare": "^2.1.13",
|
|
44
|
-
"@thi.ng/defmulti": "^2.1.
|
|
45
|
-
"@thi.ng/errors": "^2.2.
|
|
46
|
-
"@thi.ng/file-io": "^0.3.
|
|
44
|
+
"@thi.ng/defmulti": "^2.1.17",
|
|
45
|
+
"@thi.ng/errors": "^2.2.2",
|
|
46
|
+
"@thi.ng/file-io": "^0.3.14",
|
|
47
47
|
"@thi.ng/hex": "^2.2.1",
|
|
48
|
-
"@thi.ng/idgen": "^2.1.
|
|
48
|
+
"@thi.ng/idgen": "^2.1.15",
|
|
49
49
|
"@thi.ng/logger": "^1.4.0",
|
|
50
|
-
"@thi.ng/paths": "^5.1.
|
|
51
|
-
"@thi.ng/strings": "^3.3.
|
|
50
|
+
"@thi.ng/paths": "^5.1.17",
|
|
51
|
+
"@thi.ng/strings": "^3.3.14"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@microsoft/api-extractor": "^7.31.1",
|
|
@@ -136,5 +136,5 @@
|
|
|
136
136
|
"status": "alpha",
|
|
137
137
|
"year": 2022
|
|
138
138
|
},
|
|
139
|
-
"gitHead": "
|
|
139
|
+
"gitHead": "c3f7d6598c7d7d0c61ba87150a56deac12649d7b\n"
|
|
140
140
|
}
|