summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Matos <pmatos@linki.tools>2021-02-25 18:54:56 +0100
committerGitHub <noreply@github.com>2021-02-25 09:54:56 -0800
commit2a00fc6b0740ba0482c8e9748c05b3d87805a712 (patch)
tree9306dd0cde5508fa39c6632e08e6f242c428fc84
parentaff7ae130f39c0c83cea0d36a996b9cb5530fbd2 (diff)
downloadbinaryen-2a00fc6b0740ba0482c8e9748c05b3d87805a712.tar.gz
binaryen-2a00fc6b0740ba0482c8e9748c05b3d87805a712.tar.bz2
binaryen-2a00fc6b0740ba0482c8e9748c05b3d87805a712.zip
Fix typo in API header (#3611)
The first occurrence of segment refers to memory.
-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 23bd5fdcc..44895f970 100644
--- a/src/binaryen-c.h
+++ b/src/binaryen-c.h
@@ -2084,7 +2084,7 @@ BINARYEN_API BinaryenTableRef BinaryenGetTableByIndex(BinaryenModuleRef module,
// Memory. One per module
-// Each segment has data in segments, a start offset in segmentOffsets, and a
+// Each memory has data in segments, a start offset in segmentOffsets, and a
// size in segmentSizes. exportName can be NULL
BINARYEN_API void BinaryenSetMemory(BinaryenModuleRef module,
BinaryenIndex initial,