FFI: Save GetLastError() around ffi.load() and symbol resolving, too.
[luajit-2.0.git] / src / lj_parse.h
blob091653592658d793de00b3703370189b4903b5fe
1 /*
2 ** Lua parser (source code -> bytecode).
3 ** Copyright (C) 2005-2011 Mike Pall. See Copyright Notice in luajit.h
4 */
6 #ifndef _LJ_PARSE_H
7 #define _LJ_PARSE_H
9 #include "lj_obj.h"
10 #include "lj_lex.h"
12 LJ_FUNC GCproto *lj_parse(LexState *ls);
13 LJ_FUNC GCstr *lj_parse_keepstr(LexState *ls, const char *str, size_t l);
14 #if LJ_HASFFI
15 LJ_FUNC void lj_parse_keepcdata(LexState *ls, TValue *tv, GCcdata *cd);
16 #endif
18 #endif