From c84116dd715c3e548f6de1b8d2e2c29b5e248132 Mon Sep 17 00:00:00 2001 From: Paulo Matos Date: Thu, 6 May 2021 19:17:46 +0200 Subject: Fix typo in function name: BinayenElementSegmentIsPassive (#3862) Becomes BinaryenElementSegmentIsPassive --- src/binaryen-c.cpp | 2 +- src/binaryen-c.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/binaryen-c.cpp b/src/binaryen-c.cpp index c91c15422..4d0a04718 100644 --- a/src/binaryen-c.cpp +++ b/src/binaryen-c.cpp @@ -4045,7 +4045,7 @@ void BinaryenElementSegmentSetTable(BinaryenElementSegmentRef elem, const char* table) { ((ElementSegment*)elem)->table = table; } -bool BinayenElementSegmentIsPassive(BinaryenElementSegmentRef elem) { +bool BinaryenElementSegmentIsPassive(BinaryenElementSegmentRef elem) { return ((ElementSegment*)elem)->table.isNull(); } diff --git a/src/binaryen-c.h b/src/binaryen-c.h index 47d255749..8e436de66 100644 --- a/src/binaryen-c.h +++ b/src/binaryen-c.h @@ -2490,7 +2490,7 @@ BinaryenElementSegmentGetData(BinaryenElementSegmentRef elem, BinaryenIndex dataId); // Returns true if the specified elem segment is passive BINARYEN_API bool -BinayenElementSegmentIsPassive(BinaryenElementSegmentRef elem); +BinaryenElementSegmentIsPassive(BinaryenElementSegmentRef elem); // // ========== Global Operations ========== -- cgit v1.2.3