summaryrefslogtreecommitdiff
path: root/src/binary-reader.h
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2020-03-23 18:54:14 -0700
committerGitHub <noreply@github.com>2020-03-23 18:54:14 -0700
commit7898e57f28c89565b99e894e764e058346e28fbe (patch)
tree91d72a1bcef76ecb83f3f550710bee8f9152b8ce /src/binary-reader.h
parentdc396c9d57d59c33c99f5f6c6c1b8f67de086dc8 (diff)
downloadwabt-7898e57f28c89565b99e894e764e058346e28fbe.tar.gz
wabt-7898e57f28c89565b99e894e764e058346e28fbe.tar.bz2
wabt-7898e57f28c89565b99e894e764e058346e28fbe.zip
Parse ArrayTypes (#1364)
The following formats are supported: * (type (array i32)) * (type (array (field i32))) * (type (array (field (mut i32)))) This PR adds support for reading/writing binary and text, but no interpreter support yet.
Diffstat (limited to 'src/binary-reader.h')
-rw-r--r--src/binary-reader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/binary-reader.h b/src/binary-reader.h
index ce1ef4e7..b0151f43 100644
--- a/src/binary-reader.h
+++ b/src/binary-reader.h
@@ -97,6 +97,7 @@ class BinaryReaderDelegate {
virtual Result OnStructType(Index index,
Index field_count,
TypeMut* fields) = 0;
+ virtual Result OnArrayType(Index index, TypeMut field) = 0;
virtual Result EndTypeSection() = 0;
/* Import section */