Skip to content

Removing HostFunctionDefinitions region #453

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/how-to-use-flatbuffers.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# How to use FlatBuffers

> Note: the last generation of the flatbuffer code was with done with flatc version 25.2.10 (i.e., the last version as of May 1st, 2025).

Flatbuffers is used to serialize and deserialize some data structures.

Schema files are used to define the data structures and are used to generate the code to serialize and deserialize the data structures.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ impl TryFrom<&ReturnValue> for Vec<u8> {
&mut builder,
&hlsizeprefixedbufferArgs {
value: Some(val),
size_: v.len() as i32,
size: v.len() as i32,
},
)
};
Expand Down

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions src/hyperlight_common/src/flatbuffer_wrappers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,4 @@ pub mod guest_error;
pub mod guest_log_data;
/// cbindgen:ignore
pub mod guest_log_level;
/// cbindgen:ignore
pub mod host_function_definition;
/// cbindgen:ignore
pub mod host_function_details;
pub mod util;
2 changes: 1 addition & 1 deletion src/hyperlight_common/src/flatbuffer_wrappers/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl FlatbufferSerializable for &[u8] {
Fbhlsizeprefixedbuffer::create(
builder,
&FbhlsizeprefixedbufferArgs {
size_: self.len() as i32,
size: self.len() as i32,
value: Some(vec_offset),
},
)
Expand Down
Loading