diff options
| author | Roberto I <roberto@inf.puc-rio.br> | 2025-09-05 15:36:47 -0300 |
|---|---|---|
| committer | Roberto I <roberto@inf.puc-rio.br> | 2025-09-05 15:36:47 -0300 |
| commit | 9ea06e61f20ae34974226074fc6123dbb54a07c2 (patch) | |
| tree | fe3333a7b89490be71b26047a5bc2d836113bf72 /lapi.c | |
| parent | ffbcadfb4197213d55222bca3ecc52606cd980f4 (diff) | |
| download | lua-9ea06e61f20ae34974226074fc6123dbb54a07c2.tar.gz lua-9ea06e61f20ae34974226074fc6123dbb54a07c2.tar.bz2 lua-9ea06e61f20ae34974226074fc6123dbb54a07c2.zip | |
Details
- LUAMOD_API defined as 'extern "C"' in C++.
- "ANSI C" is in fact "ISO C" (comments)
- Removed option -std from makefile in testes/libs. (Easier to change
to C++ for tests).
Diffstat (limited to 'lapi.c')
| -rw-r--r-- | lapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -484,7 +484,7 @@ LUA_API lua_State *lua_tothread (lua_State *L, int idx) { | |||
| 484 | 484 | ||
| 485 | /* | 485 | /* |
| 486 | ** Returns a pointer to the internal representation of an object. | 486 | ** Returns a pointer to the internal representation of an object. |
| 487 | ** Note that ANSI C does not allow the conversion of a pointer to | 487 | ** Note that ISO C does not allow the conversion of a pointer to |
| 488 | ** function to a 'void*', so the conversion here goes through | 488 | ** function to a 'void*', so the conversion here goes through |
| 489 | ** a 'size_t'. (As the returned pointer is only informative, this | 489 | ** a 'size_t'. (As the returned pointer is only informative, this |
| 490 | ** conversion should not be a problem.) | 490 | ** conversion should not be a problem.) |
