@jdxcode/aube-ffi 1.28.0 → 1.29.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.
- package/aube.h +6 -0
- package/package.json +9 -9
package/aube.h
CHANGED
|
@@ -50,6 +50,12 @@ AUBE_API uint64_t aube_add(
|
|
|
50
50
|
* aube_string_free. */
|
|
51
51
|
AUBE_API char *aube_wait(uint64_t handle);
|
|
52
52
|
|
|
53
|
+
/* Next buffered event for an operation started with bufferEvents: true, or
|
|
54
|
+
* NULL when none is pending or the handle is unknown/consumed. Free the
|
|
55
|
+
* returned string with aube_string_free. Events still buffered when
|
|
56
|
+
* aube_wait returns are discarded with the handle. */
|
|
57
|
+
AUBE_API char *aube_events_next(uint64_t handle);
|
|
58
|
+
|
|
53
59
|
/* Returns 0 when cancellation was requested, -1 for an unknown handle, and -2
|
|
54
60
|
* when a panic is caught. */
|
|
55
61
|
AUBE_API int32_t aube_cancel(uint64_t handle);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jdxcode/aube-ffi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.29.0",
|
|
4
4
|
"description": "C ABI bindings for embedding the aube package manager",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/jdx/aube",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"node": ">=18"
|
|
25
25
|
},
|
|
26
26
|
"optionalDependencies": {
|
|
27
|
-
"@jdxcode/aube-ffi-darwin-arm64": "1.
|
|
28
|
-
"@jdxcode/aube-ffi-darwin-x64": "1.
|
|
29
|
-
"@jdxcode/aube-ffi-linux-arm64": "1.
|
|
30
|
-
"@jdxcode/aube-ffi-linux-x64": "1.
|
|
31
|
-
"@jdxcode/aube-ffi-linux-arm64-musl": "1.
|
|
32
|
-
"@jdxcode/aube-ffi-linux-x64-musl": "1.
|
|
33
|
-
"@jdxcode/aube-ffi-win32-arm64": "1.
|
|
34
|
-
"@jdxcode/aube-ffi-win32-x64": "1.
|
|
27
|
+
"@jdxcode/aube-ffi-darwin-arm64": "1.29.0",
|
|
28
|
+
"@jdxcode/aube-ffi-darwin-x64": "1.29.0",
|
|
29
|
+
"@jdxcode/aube-ffi-linux-arm64": "1.29.0",
|
|
30
|
+
"@jdxcode/aube-ffi-linux-x64": "1.29.0",
|
|
31
|
+
"@jdxcode/aube-ffi-linux-arm64-musl": "1.29.0",
|
|
32
|
+
"@jdxcode/aube-ffi-linux-x64-musl": "1.29.0",
|
|
33
|
+
"@jdxcode/aube-ffi-win32-arm64": "1.29.0",
|
|
34
|
+
"@jdxcode/aube-ffi-win32-x64": "1.29.0"
|
|
35
35
|
}
|
|
36
36
|
}
|