Sha256: f5f45d23303207d63dc4604660cba631179c7ac4fbc00297d72cdbbfe95b3127

Contents?: true

Size: 631 Bytes

Versions: 3

Compression:

Stored size: 631 Bytes

Contents

/*
** FFI C callback handling.
** Copyright (C) 2005-2017 Mike Pall. See Copyright Notice in luajit.h
*/

#ifndef _LJ_CCALLBACK_H
#define _LJ_CCALLBACK_H

#include "lj_obj.h"
#include "lj_ctype.h"

#if LJ_HASFFI

/* Really belongs to lj_vm.h. */
LJ_ASMF void lj_vm_ffi_callback(void);

LJ_FUNC MSize lj_ccallback_ptr2slot(CTState *cts, void *p);
LJ_FUNCA lua_State * LJ_FASTCALL lj_ccallback_enter(CTState *cts, void *cf);
LJ_FUNCA void LJ_FASTCALL lj_ccallback_leave(CTState *cts, TValue *o);
LJ_FUNC void *lj_ccallback_new(CTState *cts, CType *ct, GCfunc *fn);
LJ_FUNC void lj_ccallback_mcode_free(CTState *cts);

#endif

#endif

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
immunio-2.0.4 lua-hooks/ext/luajit/src/lj_ccallback.h
immunio-2.0.3 lua-hooks/ext/luajit/src/lj_ccallback.h
immunio-2.0.2 lua-hooks/ext/luajit/src/lj_ccallback.h