Elide GraalVM25.6.0-elide.4
All types
Versions and modules

NFIBackendFactory

Javainterfacein com.oracle.truffle.nfi.backend.spi

public interface NFIBackendFactory

Service interface for languages that implement a backend for the Truffle NFI.

Methods2

String getBackendId()

getBackendId

String getBackendId()

Provides the backend id. NFI backends can be selected by using the "with <id>" syntax.

Returns

String
No description.
NFIBackend createBackend(ContextThreadLocal<NFIState>)

createBackend

NFIBackend createBackend(ContextThreadLocal<NFIState> state)

Create an instance of an NFIBackend.

Parameters

stateContextThreadLocal<NFIState>
No description.

Returns

NFIBackend
No description.