blob: 8815abd52d2bfb153d880bdc7e80cce1a94dad10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
// TODO(ry) This library handles parsing and sending Flatbuffers. It's written
// in C++ because flatbuffer support for Rust is not quite there. However, once
// flatbuffers are supported in Rust, all of this code should be ported back to
// Rust.
#ifndef REPLY_H_
#define REPLY_H_
#include <stdint.h>
#include "deno.h"
extern "C" {
// Parse incoming messages with C++ Flatbuffers, call into rust handlers.
void deno_handle_msg_from_js(Deno* d, deno_buf buf);
}
#endif // REPLY_H_
|