5#ifndef RUNTIME_VM_COMPILER_FFI_CALLBACK_H_
6#define RUNTIME_VM_COMPILER_FFI_CALLBACK_H_
8#if defined(DART_PRECOMPILED_RUNTIME)
9#error "AOT runtime should not use compiler sources (including header files)"
24 const Function& dart_target,
25 const Instance& exceptional_return,
33 const Function& ffi_trampoline,
void SetFfiCallbackCode(Thread *thread, const Function &ffi_trampoline, const Code &code)
FunctionPtr NativeCallbackFunction(const FunctionType &c_signature, const Function &dart_target, const Instance &exceptional_return, FfiCallbackKind kind)