repo.or.cz
/
luajit-2.0.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FFI: Save GetLastError() around ffi.load() and symbol resolving, too.
[luajit-2.0.git]
/
src
/
lj_ff.h
blob
0b01e16ab6f100f73988f558a0a0007a25e9bf8f
1
/*
2
** Fast function IDs.
3
** Copyright (C) 2005-2011 Mike Pall. See Copyright Notice in luajit.h
4
*/
5
6
#ifndef _LJ_FF_H
7
#define _LJ_FF_H
8
9
/* Fast function ID. */
10
typedef
enum
{
11
FF_LUA_
=
FF_LUA
,
/* Lua function (must be 0). */
12
FF_C_
=
FF_C
,
/* Regular C function (must be 1). */
13
#define FFDEF(name) FF_##name,
14
#include
"lj_ffdef.h"
15
FF__MAX
16
}
FastFunc
;
17
18
#endif