summaryrefslogtreecommitdiff
path: root/core/libdeno/internal.h
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2019-05-02 00:18:18 +0200
committerBert Belder <bertbelder@gmail.com>2019-05-02 06:25:44 +0200
commitae0544b7ce8370fcd9322dd10a8c2ebdcbabe75c (patch)
treedaf4280ceb1e6a4da127f3db9eea06837082b113 /core/libdeno/internal.h
parentc05cbc8eac91a9e1ab9b87c688ac4392eff01445 (diff)
core: remove support for moving deno_buf ownership from C++ to JavaScript
The functionality hasn't been in use for a long time. Without this feature, the `alloc_ptr` and `alloc_len` fields are no longer necessary.
Diffstat (limited to 'core/libdeno/internal.h')
-rw-r--r--core/libdeno/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/libdeno/internal.h b/core/libdeno/internal.h
index b75cc9717..5e0051a8a 100644
--- a/core/libdeno/internal.h
+++ b/core/libdeno/internal.h
@@ -157,7 +157,7 @@ static intptr_t external_references[] = {
reinterpret_cast<intptr_t>(MessageCallback),
0};
-static const deno_buf empty_buf = {nullptr, 0, nullptr, 0};
+static const deno_buf empty_buf = {nullptr, 0};
static const deno_snapshot empty_snapshot = {nullptr, 0};
Deno* NewFromSnapshot(void* user_data, deno_recv_cb cb);