(&self, index: FuncIndex)
| 1087 | /// Return the offset to `VMFunctionImport` index `index`. |
| 1088 | #[inline] |
| 1089 | pub fn vmctx_vmfunction_import(&self, index: FuncIndex) -> u32 { |
| 1090 | assert!(index.as_u32() < self.num_imported_functions); |
| 1091 | self.vmctx_imported_functions_begin() |
| 1092 | + index.as_u32() * u32::from(self.size_of_vmfunction_import()) |
| 1093 | } |
| 1094 | |
| 1095 | /// Return the offset to `VMTable` index `index`. |
| 1096 | #[inline] |
no test coverage detected