~kvik/lu9-lua

836fb511e9ada628af2b536e050ec4f7603a9eeb — kvik 3 years ago 8b4a3db
core: insert pragma incomplete where neccessary
4 files changed, 4 insertions(+), 0 deletions(-)

M llex.h
M lparser.h
M lstate.h
M lua.h
M llex.h => llex.h +1 -0
@@ 76,6 76,7 @@ typedef struct LexState {
  TString *source;  /* current source name */
  TString *envn;  /* environment variable name */
} LexState;
#pragma incomplete LexState;


LUAI_FUNC void luaX_init (lua_State *L);

M lparser.h => lparser.h +1 -0
@@ 161,6 161,7 @@ typedef struct FuncState {
  lu_byte iwthabs;  /* instructions issued since last absolute line info */
  lu_byte needclose;  /* function needs to close upvalues when returning */
} FuncState;
#pragma incomplete FuncState;


LUAI_FUNC int luaY_nvarstack (FuncState *fs);

M lstate.h => lstate.h +1 -0
@@ 184,6 184,7 @@ typedef struct CallInfo {
  short nresults;  /* expected number of results from this function */
  unsigned short callstatus;
} CallInfo;
#pragma incomplete CallInfo;


/*

M lua.h => lua.h +1 -0
@@ 55,6 55,7 @@


typedef struct lua_State lua_State;
#pragma incomplete lua_State;


/*