Class PanamaTag
java.lang.Object
ai.tegmentum.wasmtime4j.panama.PanamaTag
- All Implemented Interfaces:
ai.tegmentum.wasmtime4j.memory.Tag
Panama FFI implementation of the
Tag interface.
This class wraps a native Wasmtime tag using the Panama Foreign Function API for the WebAssembly exception handling proposal.
- Since:
- 1.0.0
-
Method Details
-
getType
public ai.tegmentum.wasmtime4j.type.TagType getType(ai.tegmentum.wasmtime4j.Store store) throws ai.tegmentum.wasmtime4j.exception.WasmException - Specified by:
getTypein interfaceai.tegmentum.wasmtime4j.memory.Tag- Throws:
ai.tegmentum.wasmtime4j.exception.WasmException
-
equals
public boolean equals(ai.tegmentum.wasmtime4j.memory.Tag other, ai.tegmentum.wasmtime4j.Store store) throws ai.tegmentum.wasmtime4j.exception.WasmException - Specified by:
equalsin interfaceai.tegmentum.wasmtime4j.memory.Tag- Throws:
ai.tegmentum.wasmtime4j.exception.WasmException
-
getNativeHandle
public long getNativeHandle()- Specified by:
getNativeHandlein interfaceai.tegmentum.wasmtime4j.memory.Tag
-
close
public void close()Closes this tag and releases native resources.
-