Class PanamaTag

java.lang.Object
ai.tegmentum.wasmtime4j.panama.PanamaTag
All Implemented Interfaces:
ai.tegmentum.wasmtime4j.memory.Tag

public final class PanamaTag extends Object implements 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:
      getType in interface ai.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:
      equals in interface ai.tegmentum.wasmtime4j.memory.Tag
      Throws:
      ai.tegmentum.wasmtime4j.exception.WasmException
    • getNativeHandle

      public long getNativeHandle()
      Specified by:
      getNativeHandle in interface ai.tegmentum.wasmtime4j.memory.Tag
    • close

      public void close()
      Closes this tag and releases native resources.