Class GlobalSection.Builder

java.lang.Object
com.dylibso.chicory.wasm.types.GlobalSection.Builder
Enclosing class:
GlobalSection

public static final class GlobalSection.Builder extends Object
  • Method Details

    • addGlobal

      public GlobalSection.Builder addGlobal(Global global)
      Add a global variable definition to this section.
      Parameters:
      global - the global to add to this section (must not be null)
      Returns:
      the Builder
    • build

      public GlobalSection build()