Skip to content

Commit cd887c1

Browse files
committed
chore: formatting
1 parent 7d368c4 commit cd887c1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/binaryen-c.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5512,7 +5512,8 @@ void BinaryenSetMemory(BinaryenModuleRef module,
55125512
uint32_t BinaryenGetNumMemorySegments(BinaryenModuleRef module) {
55135513
return ((Module*)module)->dataSegments.size();
55145514
}
5515-
bool BinaryenHasMemorySegment(BinaryenModuleRef module, const char* segmentName) {
5515+
bool BinaryenHasMemorySegment(BinaryenModuleRef module,
5516+
const char* segmentName) {
55165517
return (Module*)module->getDataSegmentOrNull(Name(segmentName)) != NULL;
55175518
}
55185519
uint32_t BinaryenGetMemorySegmentByteOffset(BinaryenModuleRef module,

src/binaryen-c.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3017,7 +3017,8 @@ BINARYEN_API bool BinaryenMemoryIs64(BinaryenModuleRef module,
30173017
// Memory segments. Query utilities.
30183018

30193019
BINARYEN_API uint32_t BinaryenGetNumMemorySegments(BinaryenModuleRef module);
3020-
BINARYEN_API bool BinaryenHasMemorySegment(BinaryenModuleRef module, const char* segmentName);
3020+
BINARYEN_API bool BinaryenHasMemorySegment(BinaryenModuleRef module,
3021+
const char* segmentName);
30213022
BINARYEN_API uint32_t BinaryenGetMemorySegmentByteOffset(
30223023
BinaryenModuleRef module, const char* segmentName);
30233024
BINARYEN_API size_t BinaryenGetMemorySegmentByteLength(BinaryenModuleRef module,

0 commit comments

Comments
 (0)