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.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/binary-reader.h b/src/binary-reader.h
index 67e2c80c..23c25827 100644
--- a/src/binary-reader.h
+++ b/src/binary-reader.h
@@ -82,11 +82,12 @@ class BinaryReaderDelegate {
/* Type section */
virtual Result BeginTypeSection(Offset size) = 0;
virtual Result OnTypeCount(Index count) = 0;
- virtual Result OnType(Index index,
- Index param_count,
- Type* param_types,
- Index result_count,
- Type* result_types) = 0;
+ virtual Result OnFuncType(Index index,
+ Index param_count,
+ Type* param_types,
+ Index result_count,
+ Type* result_types) = 0;
+ virtual Result OnStructType(Index index) = 0; // TODO
virtual Result EndTypeSection() = 0;
/* Import section */