diff options
author | 2022-09-09 10:52:27 +0800 | |
---|---|---|
committer | 2022-09-08 19:52:27 -0700 | |
commit | 8d8b72cf3f7119f0bc018513d89eca5f8ec44ab3 (patch) | |
tree | b7af0511edfb0ca115a4f28f43a8be0f14ae63d8 /src/bun.js/bindings/JSReadableHelper.h | |
parent | a3cc9aaf6f66bac85e6318d3e09c0f1961d18210 (diff) | |
download | bun-8d8b72cf3f7119f0bc018513d89eca5f8ec44ab3.tar.gz bun-8d8b72cf3f7119f0bc018513d89eca5f8ec44ab3.tar.zst bun-8d8b72cf3f7119f0bc018513d89eca5f8ec44ab3.zip |
Add native helper functions for Readable and convert ReadableState properties to getter/setter (#1218)
Diffstat (limited to 'src/bun.js/bindings/JSReadableHelper.h')
-rw-r--r-- | src/bun.js/bindings/JSReadableHelper.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/bun.js/bindings/JSReadableHelper.h b/src/bun.js/bindings/JSReadableHelper.h new file mode 100644 index 000000000..9a60fc301 --- /dev/null +++ b/src/bun.js/bindings/JSReadableHelper.h @@ -0,0 +1,11 @@ +#pragma once + +#include "root.h" + +namespace WebCore { + +JSC_DECLARE_HOST_FUNCTION(jsReadable_maybeReadMore); +JSC_DECLARE_HOST_FUNCTION(jsReadable_resume); +JSC_DECLARE_HOST_FUNCTION(jsReadable_emitReadable_); + +} // namespace WebCore |