| 266 | |
| 267 | |
| 268 | static void fchecksize (LoadState *S, size_t size, const char *tname) { |
| 269 | if (loadByte(S) != size) |
| 270 | error(S, luaO_pushfstring(S->L, "%s size mismatch", tname)); |
| 271 | } |
| 272 | |
| 273 | |
| 274 | #define checksize(S,t) fchecksize(S,sizeof(t),#t) |
nothing calls this directly
no test coverage detected