diff options
Diffstat (limited to 'manual')
| -rw-r--r-- | manual/manual.of | 8 |
1 files changed, 4 insertions, 4 deletions
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, | |||
| 20 | and rapid prototyping. | 20 | and rapid prototyping. |
| 21 | 21 | ||
| 22 | Lua is implemented as a library, written in @emphx{clean C}, | 22 | Lua is implemented as a library, written in @emphx{clean C}, |
| 23 | the common subset of @N{Standard C} and C++. | 23 | the common subset of @N{standard C} and C++. |
| 24 | The Lua distribution includes a host program called @id{lua}, | 24 | The Lua distribution includes a host program called @id{lua}, |
| 25 | which uses the Lua library to offer a complete, | 25 | which uses the Lua library to offer a complete, |
| 26 | standalone Lua interpreter, | 26 | standalone Lua interpreter, |
| @@ -2963,7 +2963,7 @@ static void *l_alloc (void *ud, void *ptr, size_t osize, | |||
| 2963 | return realloc(ptr, nsize); | 2963 | return realloc(ptr, nsize); |
| 2964 | } | 2964 | } |
| 2965 | } | 2965 | } |
| 2966 | Note that @N{Standard C} ensures | 2966 | Note that @N{ISO C} ensures |
| 2967 | that @T{free(NULL)} has no effect and that | 2967 | that @T{free(NULL)} has no effect and that |
| 2968 | @T{realloc(NULL,size)} is equivalent to @T{malloc(size)}. | 2968 | @T{realloc(NULL,size)} is equivalent to @T{malloc(size)}. |
| 2969 | 2969 | ||
| @@ -5780,7 +5780,7 @@ with @id{tname} in the registry. | |||
| 5780 | 5780 | ||
| 5781 | Creates a new Lua state. | 5781 | Creates a new Lua state. |
| 5782 | It calls @Lid{lua_newstate} with an | 5782 | It calls @Lid{lua_newstate} with an |
| 5783 | allocator based on the @N{standard C} allocation functions | 5783 | allocator based on the @N{ISO C} allocation functions |
| 5784 | and then sets a warning function and a panic function @see{C-error} | 5784 | and then sets a warning function and a panic function @see{C-error} |
| 5785 | that print messages to the standard error output. | 5785 | that print messages to the standard error output. |
| 5786 | 5786 | ||
| @@ -6898,7 +6898,7 @@ including if necessary a path and an extension. | |||
| 6898 | @id{funcname} must be the exact name exported by the @N{C library} | 6898 | @id{funcname} must be the exact name exported by the @N{C library} |
| 6899 | (which may depend on the @N{C compiler} and linker used). | 6899 | (which may depend on the @N{C compiler} and linker used). |
| 6900 | 6900 | ||
| 6901 | This function is not supported by @N{Standard C}. | 6901 | This functionality is not supported by @N{ISO C}. |
| 6902 | As such, it is only available on some platforms | 6902 | As such, it is only available on some platforms |
| 6903 | (Windows, Linux, Mac OS X, Solaris, BSD, | 6903 | (Windows, Linux, Mac OS X, Solaris, BSD, |
| 6904 | plus other Unix systems that support the @id{dlfcn} standard). | 6904 | plus other Unix systems that support the @id{dlfcn} standard). |
