From 36e5a072a94805d5644081052391860e2b51f710 Mon Sep 17 00:00:00 2001 From: dave caruso Date: Thu, 7 Sep 2023 07:45:00 -0700 Subject: revert (#4539) * Revert "remove native events from streams" This reverts commit e063a47a53744a2bf5b1c2dd433698c9e37b75d6. * finish revert * remove accidental submodule * dfghj --- src/bun.js/bindings/JSReadableHelper.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/bun.js/bindings/JSReadableHelper.h (limited to 'src/bun.js/bindings/JSReadableHelper.h') diff --git a/src/bun.js/bindings/JSReadableHelper.h b/src/bun.js/bindings/JSReadableHelper.h new file mode 100644 index 000000000..3e2554c2b --- /dev/null +++ b/src/bun.js/bindings/JSReadableHelper.h @@ -0,0 +1,13 @@ +#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); +JSC_DECLARE_HOST_FUNCTION(jsReadable_onEofChunk); +JSC_DECLARE_HOST_FUNCTION(jsReadable_emitReadable_); + +} // namespace WebCore -- cgit v1.2.3