summaryrefslogtreecommitdiff
path: root/src/binding.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-08-15 23:36:48 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-08-21 15:37:45 -0400
commit18d495c7d17cf3fce3835e732094d058f51eddaa (patch)
treef7244cfd83dbff9d8aaf67203feb0f3a24fe95f3 /src/binding.rs
parentcb1393cdaea4bfbee69efbf7ce86a4adfc4593b3 (diff)
Better error handling in src/handlers.rs
Introduces error codes that are shared between JS/RS Fixes #526.
Diffstat (limited to 'src/binding.rs')
-rw-r--r--src/binding.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/binding.rs b/src/binding.rs
index 405f9d7f5..9789fc4e0 100644
--- a/src/binding.rs
+++ b/src/binding.rs
@@ -11,6 +11,7 @@ pub struct DenoC {
}
#[repr(C)]
+#[derive(PartialEq)]
pub struct deno_buf {
pub alloc_ptr: *mut u8,
pub alloc_len: usize,