Closed threadedstream closed 2 years ago
As per LLVM Language Reference Manual
The void type does not represent any value and has no size.
but NewRet expects a value. Obviously, I cannot pass the type. Is there any work-around?
Wouldn't it violate the rules if I write a value wrapper around a void type?
use NewRet(nil)
NewRet(nil)
Oh, thank you.
As per LLVM Language Reference Manual
but NewRet expects a value. Obviously, I cannot pass the type. Is there any work-around?