From e15f1f2bb7a38a3c94519294d031e48508d65006 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 18 Apr 2023 09:44:10 -0300 Subject: Details Typos in comments and details in the manual. --- manual/manual.of | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'manual') diff --git a/manual/manual.of b/manual/manual.of index 6d19e251..ac1d7e60 100644 --- a/manual/manual.of +++ b/manual/manual.of @@ -20,7 +20,7 @@ making it ideal for configuration, scripting, and rapid prototyping. Lua is implemented as a library, written in @emphx{clean C}, -the common subset of @N{Standard C} and C++. +the common subset of @N{standard C} and C++. The Lua distribution includes a host program called @id{lua}, which uses the Lua library to offer a complete, standalone Lua interpreter, @@ -2963,7 +2963,7 @@ static void *l_alloc (void *ud, void *ptr, size_t osize, return realloc(ptr, nsize); } } -Note that @N{Standard C} ensures +Note that @N{ISO C} ensures that @T{free(NULL)} has no effect and that @T{realloc(NULL,size)} is equivalent to @T{malloc(size)}. @@ -5780,7 +5780,7 @@ with @id{tname} in the registry. Creates a new Lua state. It calls @Lid{lua_newstate} with an -allocator based on the @N{standard C} allocation functions +allocator based on the @N{ISO C} allocation functions and then sets a warning function and a panic function @see{C-error} that print messages to the standard error output. @@ -6898,7 +6898,7 @@ including if necessary a path and an extension. @id{funcname} must be the exact name exported by the @N{C library} (which may depend on the @N{C compiler} and linker used). -This function is not supported by @N{Standard C}. +This functionality is not supported by @N{ISO C}. As such, it is only available on some platforms (Windows, Linux, Mac OS X, Solaris, BSD, plus other Unix systems that support the @id{dlfcn} standard). -- cgit v1.2.3-55-g6feb