Add comments.

This commit is contained in:
losfair
2019-05-14 16:13:42 +08:00
parent 32f9aee6fe
commit 1e7a928d64
2 changed files with 20 additions and 12 deletions

View File

@ -91,9 +91,12 @@ pub trait RunnableModule: Send + Sync {
unsafe fn do_early_trap(&self, data: Box<dyn Any>) -> !;
/// Returns the machine code associated with this module.
fn get_code(&self) -> Option<&[u8]> {
None
}
/// Returns the beginning offsets of all functions, including import trampolines.
fn get_offsets(&self) -> Option<Vec<usize>> {
None
}