| 486 | |
| 487 | |
| 488 | static void lua_freeline (char *line) { |
| 489 | if (l_readline != NULL) /* is there a 'readline'? */ |
| 490 | free(line); /* free line created by it */ |
| 491 | /* else 'lua_readline' used an automatic buffer; nothing to free */ |
| 492 | } |
| 493 | |
| 494 | |
| 495 | #if defined(LUA_USE_DLOPEN) && defined(LUA_READLINELIB) /* { */ |