Skip to content

Commit 4843473

Browse files
authored
Re-export host functions from hyperlight host package (#1314)
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
1 parent 4a3a3c9 commit 4843473

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • src/hyperlight_host/src/func

src/hyperlight_host/src/func/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,18 @@ pub(crate) mod host_functions;
2929

3030
/// Re-export for `HostFunction` trait
3131
pub use host_functions::{HostFunction, Registerable};
32+
/// Re-export for `ParameterType` enum
33+
pub use hyperlight_common::flatbuffer_wrappers::function_types::ParameterType;
3234
/// Re-export for `ParameterValue` enum
3335
pub use hyperlight_common::flatbuffer_wrappers::function_types::ParameterValue;
3436
/// Re-export for `ReturnType` enum
3537
pub use hyperlight_common::flatbuffer_wrappers::function_types::ReturnType;
3638
/// Re-export for `ReturnValue` enum
3739
pub use hyperlight_common::flatbuffer_wrappers::function_types::ReturnValue;
40+
/// Re-export for `HostFunctionDefinition`
41+
pub use hyperlight_common::flatbuffer_wrappers::host_function_definition::HostFunctionDefinition;
42+
/// Re-export for `HostFunctionDetails`
43+
pub use hyperlight_common::flatbuffer_wrappers::host_function_details::HostFunctionDetails;
3844
pub use hyperlight_common::func::{
3945
ParameterTuple, ResultType, SupportedParameterType, SupportedReturnType,
4046
};

0 commit comments

Comments
 (0)