| 488 | ** building result (memory error [1] or buffer overflow [2]). |
| 489 | */ |
| 490 | typedef struct BuffFS { |
| 491 | lua_State *L; |
| 492 | char *b; |
| 493 | size_t buffsize; |
| 494 | size_t blen; /* length of string in 'buff' */ |
| 495 | int err; |
| 496 | char space[BUFVFS]; /* initial buffer */ |
| 497 | } BuffFS; |
| 498 | |
| 499 | |
| 500 | static void initbuff (lua_State *L, BuffFS *buff) { |
nothing calls this directly
no outgoing calls
no test coverage detected