binaryen icon indicating copy to clipboard operation
binaryen copied to clipboard

C API inconsistency on CallRef's isReturn

Open kripken opened this issue 1 month ago • 0 comments

CallRef gets an isReturn param

https://github.com/WebAssembly/binaryen/blob/93f40ae40a8f373fce9da8e20997eafdd618fd0b/src/binaryen-c.h#L1014-L1020

while Call/CallIndirect have two variants instead, BinaryenCall, BinaryenReturnCall. We should probably standardize on one.

Noticed in https://github.com/WebAssembly/binaryen/pull/8103/

kripken avatar Dec 09 '25 17:12 kripken