summaryrefslogtreecommitdiff
path: root/src/binary-reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-reader.h')
-rw-r--r--src/binary-reader.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/binary-reader.h b/src/binary-reader.h
index fb13819b..46424977 100644
--- a/src/binary-reader.h
+++ b/src/binary-reader.h
@@ -116,10 +116,10 @@ class BinaryReaderDelegate {
Type type,
bool mutable_) = 0;
virtual Result OnImportEvent(Index import_index,
- string_view module_name,
- string_view field_name,
- Index event_index,
- TypeVector& sig) = 0;
+ string_view module_name,
+ string_view field_name,
+ Index event_index,
+ Index sig_index) = 0;
virtual Result EndImportSection() = 0;
/* Function section */
@@ -373,7 +373,7 @@ class BinaryReaderDelegate {
/* Event section */
virtual Result BeginEventSection(Offset size) = 0;
virtual Result OnEventCount(Index count) = 0;
- virtual Result OnEventType(Index index, TypeVector& sig) = 0;
+ virtual Result OnEventType(Index index, Index sig_index) = 0;
virtual Result EndEventSection() = 0;
/* InitExpr - used by elem, data and global sections; these functions are