| 169 | } |
| 170 | |
| 171 | static void LoadFunction(LoadState* S, Proto* f) |
| 172 | { |
| 173 | f->linedefined=LoadInt(S); |
| 174 | f->lastlinedefined=LoadInt(S); |
| 175 | f->numparams=LoadByte(S); |
| 176 | f->is_vararg=LoadByte(S); |
| 177 | f->maxstacksize=LoadByte(S); |
| 178 | LoadCode(S,f); |
| 179 | LoadConstants(S,f); |
| 180 | LoadUpvalues(S,f); |
| 181 | LoadDebug(S,f); |
| 182 | } |
| 183 | |
| 184 | /* the code below must be consistent with the code in luaU_header */ |
| 185 | #define N0 LUAC_HEADERSIZE |
no test coverage detected