mirror of
https://github.com/lua/lua.git
synced 2026-07-22 05:59:11 +00:00
MacOS by default uses statically linked readline
(plus detail in the manual)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user