Skip to content

Commit 0393071

Browse files
Jake ChampionJakeChampion
authored andcommitted
allow use of RequestOrResponse::is_instance and RequestOrResponse::body_stream from other files by adding them to the header file
we plan to move the built-ins into their own files and they will require access to these functions
1 parent caca734 commit 0393071

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

c-dependencies/js-compute-runtime/js-compute-builtins.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ void markWizeningAsFinished();
8686

8787
bool define_fastly_sys(JSContext *cx, JS::HandleObject global);
8888

89+
namespace RequestOrResponse {
90+
bool is_instance(JSObject *obj);
91+
JSObject *body_stream(JSObject *obj);
92+
} // namespace RequestOrResponse
93+
8994
namespace FetchEvent {
9095
enum class State {
9196
unhandled,

0 commit comments

Comments
 (0)