Sha256: fe1e1a4391d56e0bc39ee992041f9a5dc54ee0b4f65f1d037f15275269506937
Contents?: true
Size: 871 Bytes
Versions: 31
Compression:
Stored size: 871 Bytes
Contents
#ifndef RUBYFFI_CLOSUREPOOL_H #define RUBYFFI_CLOSUREPOOL_H typedef struct ClosurePool_ ClosurePool; typedef struct Closure_ Closure; struct Closure_ { void* info; /* opaque handle for storing closure-instance specific data */ void* function; /* closure-instance specific function, called by custom trampoline */ void* code; /* The native trampoline code location */ struct ClosurePool_* pool; Closure* next; }; void rbffi_ClosurePool_Init(VALUE module); ClosurePool* rbffi_ClosurePool_New(int closureSize, bool (*prep)(void* ctx, void *code, Closure* closure, char* errbuf, size_t errbufsize), void* ctx); void rbffi_ClosurePool_Free(ClosurePool *); Closure* rbffi_Closure_Alloc(ClosurePool *); void rbffi_Closure_Free(Closure *); void* rbffi_Closure_GetCodeAddress(Closure *); #endif /* RUBYFFI_CLOSUREPOOL_H */
Version data entries
31 entries across 31 versions & 3 rubygems