MacOS by default uses statically linked readline

(plus detail in the manual)
This commit is contained in:
Roberto I
2026-07-15 15:39:07 -03:00
parent 6ca33260d2
commit 84938a7d2b
2 changed files with 4 additions and 6 deletions

View File

@@ -79,9 +79,7 @@
#if defined(LUA_USE_MACOSX)
#define LUA_USE_POSIX
#define LUA_USE_DLOPEN /* macOS does not need -ldl */
#if !defined(LUA_READLINELIB)
#define LUA_READLINELIB "libedit.dylib"
#endif
#define LUA_USE_READLINE
#endif

View File

@@ -2692,9 +2692,9 @@ which behaves like a nil value.
@sect3{constchar|@title{Pointers to Strings}
Several functions in the API accept pointers (@T{const char*})
to C strings.
Some of there parameters have an associated length (@T{size_t}).
Several functions in the API have parameters
that are pointers to C strings (@T{const char*}).
Some of these parameters have an associated length (@T{size_t}).
Unless stated otherwise,
when there is an associated length,
the string can contain embedded zeros;