diff options
Diffstat (limited to 'src/binaryen-c.h')
-rw-r--r-- | src/binaryen-c.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/binaryen-c.h b/src/binaryen-c.h index 44895f970..e70e9830e 100644 --- a/src/binaryen-c.h +++ b/src/binaryen-c.h @@ -1688,12 +1688,16 @@ BinaryenMemoryFillGetSize(BinaryenExpressionRef expr); BINARYEN_API void BinaryenMemoryFillSetSize(BinaryenExpressionRef expr, BinaryenExpressionRef sizeExpr); -// RefIsNull +// RefIs -// Gets the value expression tested to be null of a `ref.is_null` expression. +// Gets the operation performed by a `ref.is_*` expression. +BINARYEN_API BinaryenOp BinaryenRefIsGetOp(BinaryenExpressionRef expr); +// Sets the operation performed by a `ref.is_*` expression. +BINARYEN_API void BinaryenRefIsSetOp(BinaryenExpressionRef expr, BinaryenOp op); +// Gets the value expression tested by a `ref.is_*` expression. BINARYEN_API BinaryenExpressionRef BinaryenRefIsGetValue(BinaryenExpressionRef expr); -// Sets the value expression tested to be null of a `ref.is_null` expression. +// Sets the value expression tested by a `ref.is_*` expression. BINARYEN_API void BinaryenRefIsSetValue(BinaryenExpressionRef expr, BinaryenExpressionRef valueExpr); |