diff options
Diffstat (limited to '')
| -rw-r--r-- | loadlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -345,8 +345,8 @@ static void *freelib (void *ud, void *ptr, size_t osize, size_t nsize) { | |||
| 345 | ** Create a library string that, when deallocated, will unload 'plib' | 345 | ** Create a library string that, when deallocated, will unload 'plib' |
| 346 | */ | 346 | */ |
| 347 | static void createlibstr (lua_State *L, void *plib) { | 347 | static void createlibstr (lua_State *L, void *plib) { |
| 348 | static const char dummy[] = /* common long body for all library strings */ | 348 | /* common content for all library strings */ |
| 349 | "01234567890123456789012345678901234567890123456789"; | 349 | static const char dummy[] = "01234567890"; |
| 350 | lua_pushexternalstring(L, dummy, sizeof(dummy) - 1, freelib, plib); | 350 | lua_pushexternalstring(L, dummy, sizeof(dummy) - 1, freelib, plib); |
| 351 | } | 351 | } |
| 352 | 352 | ||
