mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 15:14:33 +00:00
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.
This commit is contained in:
parent
c05cbc8eac
commit
ae0544b7ce
6 changed files with 40 additions and 144 deletions
|
@ -6,7 +6,7 @@
|
|||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
||||
extern deno_snapshot snapshot; // Loaded in libdeno/test.cc
|
||||
const deno_buf empty = {nullptr, 0, nullptr, 0};
|
||||
const deno_buf empty = {nullptr, 0};
|
||||
const deno_snapshot empty_snapshot = {nullptr, 0};
|
||||
|
||||
#endif // TEST_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue