summaryrefslogtreecommitdiff
path: root/src/binaryen-c.h
diff options
context:
space:
mode:
authorCOFFEETALES <46571757+COFFEETALES@users.noreply.github.com>2019-11-13 04:18:28 +0100
committerThomas Lively <7121787+tlively@users.noreply.github.com>2019-11-12 19:18:28 -0800
commit284e3946029d347b8bf1dc189988081a5636f89f (patch)
treea5f835f8e13e2c5a1d4110f41f1c1153c4fca6af /src/binaryen-c.h
parent5ee9e0a0e34da622e525a58b4cfa8ebab3a0b1a1 (diff)
downloadbinaryen-284e3946029d347b8bf1dc189988081a5636f89f.tar.gz
binaryen-284e3946029d347b8bf1dc189988081a5636f89f.tar.bz2
binaryen-284e3946029d347b8bf1dc189988081a5636f89f.zip
uint32_t instead of int64_t as return type for GetMemorySegmentByteOffset (#2432)
`uint32_t` instead of `int64_t` as return type for `GetMemorySegmentByteOffset` and minor fixes on tests.
Diffstat (limited to 'src/binaryen-c.h')
-rw-r--r--src/binaryen-c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binaryen-c.h b/src/binaryen-c.h
index dd5acf325..67eda040a 100644
--- a/src/binaryen-c.h
+++ b/src/binaryen-c.h
@@ -1190,7 +1190,7 @@ BINARYEN_API void BinaryenSetMemory(BinaryenModuleRef module,
// Memory segments. Query utilities.
BINARYEN_API uint32_t BinaryenGetNumMemorySegments(BinaryenModuleRef module);
-BINARYEN_API int64_t
+BINARYEN_API uint32_t
BinaryenGetMemorySegmentByteOffset(BinaryenModuleRef module, BinaryenIndex id);
BINARYEN_API size_t BinaryenGetMemorySegmentByteLength(BinaryenModuleRef module,
BinaryenIndex id);