Skip to content

Commit 784e65d

Browse files
making wasmer_byte_array fields public
1 parent 8408260 commit 784e65d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/runtime-c-api/src/lib.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ pub mod table;
9797
pub mod trampoline;
9898
pub mod value;
9999

100-
#[derive(Debug)]
101100
#[allow(non_camel_case_types)]
102101
#[repr(C)]
103102
pub enum wasmer_result_t {
@@ -119,6 +118,6 @@ pub struct wasmer_limit_option_t {
119118

120119
#[repr(C)]
121120
pub struct wasmer_byte_array {
122-
bytes: *const u8,
123-
bytes_len: u32,
121+
pub bytes: *const u8,
122+
pub bytes_len: u32,
124123
}

0 commit comments

Comments
 (0)