diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-04-25 16:24:10 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-04-25 16:24:10 -0300 |
| commit | 8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc (patch) | |
| tree | 4ad0b914b84005b706fb6c9af302132d789b133a /llex.h | |
| parent | 8c3c3e769195facf6b8c061f4fab1d86e6606be8 (diff) | |
| download | lua-8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc.tar.gz lua-8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc.tar.bz2 lua-8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc.zip | |
added LUAI_FUNC to functions not in the API
Diffstat (limited to 'llex.h')
| -rw-r--r-- | llex.h | 17 |
1 files changed, 9 insertions, 8 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: llex.h,v 1.52 2004/12/03 20:54:12 roberto Exp roberto $ | 2 | ** $Id: llex.h,v 1.53 2005/04/07 13:09:07 roberto Exp roberto $ |
| 3 | ** Lexical Analyzer | 3 | ** Lexical Analyzer |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -66,13 +66,14 @@ typedef struct LexState { | |||
| 66 | } LexState; | 66 | } LexState; |
| 67 | 67 | ||
| 68 | 68 | ||
| 69 | void luaX_init (lua_State *L); | 69 | LUAI_FUNC void luaX_init (lua_State *L); |
| 70 | void luaX_setinput (lua_State *L, LexState *LS, ZIO *z, TString *source); | 70 | LUAI_FUNC void luaX_setinput (lua_State *L, LexState *LS, ZIO *z, |
| 71 | TString *luaX_newstring (LexState *LS, const char *str, size_t l); | 71 | TString *source); |
| 72 | int luaX_lex (LexState *LS, SemInfo *seminfo); | 72 | LUAI_FUNC TString *luaX_newstring (LexState *LS, const char *str, size_t l); |
| 73 | void luaX_lexerror (LexState *ls, const char *msg, int token); | 73 | LUAI_FUNC int luaX_lex (LexState *LS, SemInfo *seminfo); |
| 74 | void luaX_syntaxerror (LexState *ls, const char *s); | 74 | LUAI_FUNC void luaX_lexerror (LexState *ls, const char *msg, int token); |
| 75 | const char *luaX_token2str (LexState *ls, int token); | 75 | LUAI_FUNC void luaX_syntaxerror (LexState *ls, const char *s); |
| 76 | LUAI_FUNC const char *luaX_token2str (LexState *ls, int token); | ||
| 76 | 77 | ||
| 77 | 78 | ||
| 78 | #endif | 79 | #endif |
