mirror of
https://github.com/vxcontrol/golua.git
synced 2026-07-01 22:14:01 -04:00
15 lines
375 B
C
15 lines
375 B
C
#ifndef _LUAJIT_FFI_CTYPEID_H
|
|
#define _LUAJIT_FFI_CTYPEID_H
|
|
|
|
#if LJ_HASFFI
|
|
#include "lj_obj.h"
|
|
|
|
/* return the ctype of the cdata at the top of the stack*/
|
|
LUA_API uint32_t luajit_ctypeid(struct lua_State *L, int idx);
|
|
|
|
LUA_API void luajit_push_cdata_int64(struct lua_State *L, int64_t n);
|
|
LUA_API void luajit_push_cdata_uint64(struct lua_State *L, int64_t n);
|
|
|
|
#endif
|
|
#endif
|