| 87 | |
| 88 | |
| 89 | static TString *LoadString (LoadState *S) { |
| 90 | size_t size = LoadByte(S); |
| 91 | if (size == 0xFF) |
| 92 | LoadVar(S, size); |
| 93 | if (size == 0) |
| 94 | return NULL; |
| 95 | else { |
| 96 | char *s = luaZ_openspace(S->L, S->b, --size); |
| 97 | LoadVector(S, s, size); |
| 98 | return luaS_newlstr(S->L, s, size); |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | |
| 103 | static void LoadCode (LoadState *S, Proto *f) { |
no test coverage detected