diff options
| author | Roberto I <roberto@inf.puc-rio.br> | 2026-07-15 15:39:07 -0300 |
|---|---|---|
| committer | Roberto I <roberto@inf.puc-rio.br> | 2026-07-15 15:39:07 -0300 |
| commit | 84938a7d2b680d2d28ec99606e84fe712efd9a69 (patch) | |
| tree | 9a707aa4041ee66d1dd4ac869dd99596d07dce82 | |
| parent | 6ca33260d26f1b8fab982b13c89de1f445361328 (diff) | |
| download | lua-84938a7d2b680d2d28ec99606e84fe712efd9a69.tar.gz lua-84938a7d2b680d2d28ec99606e84fe712efd9a69.tar.bz2 lua-84938a7d2b680d2d28ec99606e84fe712efd9a69.zip | |
MacOS by default uses statically linked readline
(plus detail in the manual)
| -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; |
