Interface NFIBackendFactory


public interface NFIBackendFactory
Service interface for languages that implement a backend for the Truffle NFI.
  • Method Details

    • getBackendId

      String getBackendId()
      Provides the backend id. NFI backends can be selected by using the "with <id>" syntax.
    • createBackend

      NFIBackend createBackend(com.oracle.truffle.api.ContextThreadLocal<NFIState> state)
      Create an instance of an NFIBackend.