diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/binaryen-c.cpp | 2 | ||||
-rw-r--r-- | src/binaryen-c.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/binaryen-c.cpp b/src/binaryen-c.cpp index b9bf9752f..d6701f540 100644 --- a/src/binaryen-c.cpp +++ b/src/binaryen-c.cpp @@ -3996,7 +3996,7 @@ BinaryenExpressionRef BinaryenGlobalGetInitExpr(BinaryenGlobalRef global) { const char* BinaryenEventGetName(BinaryenEventRef event) { return ((Event*)event)->name.c_str(); } -int BinaryenEventGetAttribute(BinaryenEventRef event) { +uint32_t BinaryenEventGetAttribute(BinaryenEventRef event) { return ((Event*)event)->attribute; } BinaryenType BinaryenEventGetParams(BinaryenEventRef event) { diff --git a/src/binaryen-c.h b/src/binaryen-c.h index 881b0fddc..1841c919e 100644 --- a/src/binaryen-c.h +++ b/src/binaryen-c.h @@ -2473,7 +2473,7 @@ BinaryenGlobalGetInitExpr(BinaryenGlobalRef global); // Gets the name of the specified `Event`. BINARYEN_API const char* BinaryenEventGetName(BinaryenEventRef event); // Gets the attribute of the specified `Event`. -BINARYEN_API int BinaryenEventGetAttribute(BinaryenEventRef event); +BINARYEN_API uint32_t BinaryenEventGetAttribute(BinaryenEventRef event); // Gets the parameters type of the specified `Event`. BINARYEN_API BinaryenType BinaryenEventGetParams(BinaryenEventRef event); // Gets the results type of the specified `Event`. |