diff options
| -rw-r--r-- | luaconf.h | 4 | ||||
| -rw-r--r-- | manual/manual.of | 6 |
2 files changed, 4 insertions, 6 deletions
| @@ -79,9 +79,7 @@ | |||
| 79 | #if defined(LUA_USE_MACOSX) | 79 | #if defined(LUA_USE_MACOSX) |
| 80 | #define LUA_USE_POSIX | 80 | #define LUA_USE_POSIX |
| 81 | #define LUA_USE_DLOPEN /* macOS does not need -ldl */ | 81 | #define LUA_USE_DLOPEN /* macOS does not need -ldl */ |
| 82 | #if !defined(LUA_READLINELIB) | 82 | #define LUA_USE_READLINE |
| 83 | #define LUA_READLINELIB "libedit.dylib" | ||
| 84 | #endif | ||
| 85 | #endif | 83 | #endif |
| 86 | 84 | ||
| 87 | 85 | ||
diff --git a/manual/manual.of b/manual/manual.of index 65261695..426ad453 100644 --- a/manual/manual.of +++ b/manual/manual.of | |||
| @@ -2692,9 +2692,9 @@ which behaves like a nil value. | |||
| 2692 | 2692 | ||
| 2693 | @sect3{constchar|@title{Pointers to Strings} | 2693 | @sect3{constchar|@title{Pointers to Strings} |
| 2694 | 2694 | ||
| 2695 | Several functions in the API accept pointers (@T{const char*}) | 2695 | Several functions in the API have parameters |
| 2696 | to C strings. | 2696 | that are pointers to C strings (@T{const char*}). |
| 2697 | Some of there parameters have an associated length (@T{size_t}). | 2697 | Some of these parameters have an associated length (@T{size_t}). |
| 2698 | Unless stated otherwise, | 2698 | Unless stated otherwise, |
| 2699 | when there is an associated length, | 2699 | when there is an associated length, |
| 2700 | the string can contain embedded zeros; | 2700 | the string can contain embedded zeros; |
