Publish TableElementType for library users.

This commit is contained in:
Dan Gohman
2018-11-30 16:41:54 -08:00
parent f0dbba0ec8
commit 6e17bebf44
2 changed files with 4 additions and 1 deletions

View File

@@ -90,7 +90,9 @@ pub struct Table {
/// WebAssembly table element. Can be a function or a scalar type.
#[derive(Debug, Clone, Copy)]
pub enum TableElementType {
/// A scalar type.
Val(ir::Type),
/// A function.
Func,
}