Interface NFIBackendFactory
public interface NFIBackendFactory
Service interface for languages that implement a backend for the Truffle NFI.
-
Method Summary
Modifier and TypeMethodDescriptioncreateBackend(com.oracle.truffle.api.ContextThreadLocal<NFIState> state) Create an instance of anNFIBackend.Provides the backend id.
-
Method Details
-
getBackendId
String getBackendId()Provides the backend id. NFI backends can be selected by using the "with <id>" syntax. -
createBackend
Create an instance of anNFIBackend.
-