mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
MacOS by default uses statically linked readline
(plus detail in the manual)
This commit is contained in:
parent
6ca33260d2
commit
84938a7d2b
2 changed files with 4 additions and 6 deletions
|
|
@ -79,9 +79,7 @@
|
||||||
#if defined(LUA_USE_MACOSX)
|
#if defined(LUA_USE_MACOSX)
|
||||||
#define LUA_USE_POSIX
|
#define LUA_USE_POSIX
|
||||||
#define LUA_USE_DLOPEN /* macOS does not need -ldl */
|
#define LUA_USE_DLOPEN /* macOS does not need -ldl */
|
||||||
#if !defined(LUA_READLINELIB)
|
#define LUA_USE_READLINE
|
||||||
#define LUA_READLINELIB "libedit.dylib"
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2692,9 +2692,9 @@ which behaves like a nil value.
|
||||||
|
|
||||||
@sect3{constchar|@title{Pointers to Strings}
|
@sect3{constchar|@title{Pointers to Strings}
|
||||||
|
|
||||||
Several functions in the API accept pointers (@T{const char*})
|
Several functions in the API have parameters
|
||||||
to C strings.
|
that are pointers to C strings (@T{const char*}).
|
||||||
Some of there parameters have an associated length (@T{size_t}).
|
Some of these parameters have an associated length (@T{size_t}).
|
||||||
Unless stated otherwise,
|
Unless stated otherwise,
|
||||||
when there is an associated length,
|
when there is an associated length,
|
||||||
the string can contain embedded zeros;
|
the string can contain embedded zeros;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue