1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg/lua: fix typos

This commit is contained in:
Kaspar Schleiser 2019-10-23 21:18:07 +02:00
parent 591d08500a
commit 0ba8628b45
5 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@
* the array) given by the struct definition.
*
* For example, given the following struct and array definitions and assuming
* a 32 bit platform with strict aligment:
* a 32 bit platform with strict alignment:
* struct s1 {
* int a; // Takes up 4 bytes
* char *name; // Takes up 4 bytes

View File

@ -154,7 +154,7 @@ NORETURN static int _jump_back(lua_State *L)
{
jmp_buf *jump_buffer = *(jmp_buf **)lua_getextraspace(L);
/* FIXME: I dont think it's OK to print a message */
/* FIXME: I don't think it's OK to print a message */
lua_writestringerror("PANIC: unprotected error in call to Lua API (%s)\n",
lua_tostring(L, -1));

View File

@ -66,7 +66,7 @@
* in ascending order by this key.
*
* The definitions for the table types are in `lua_builtin.h`. The loader module
* containes empty tables, defined as weak symbols so they can be ovewritten
* contains empty tables, defined as weak symbols so they can be ovewritten
* by the application. The variables that must be defined are:
*
* ```

View File

@ -37,7 +37,7 @@ extern "C" {
* module to be loaded and does not register the module.
* Only the builtin tables are searched.
*
* Upon sucessful execution, the compiled chunk will be at the top of the lua
* Upon successful execution, the compiled chunk will be at the top of the lua
* stack.
*
* @param L Initialized Lua interpreter state.

View File

@ -159,7 +159,7 @@ LUALIB_API lua_State *lua_riot_newstate(void *memory, size_t mem_size,
* there is an error the load sequence is aborted and the index of the library
* that failed is reported.
*
* If debuging is enabled (compile with the LUA_DEBUG macro), then the test
* If debugging is enabled (compile with the LUA_DEBUG macro), then the test
* library will be unconditionally loaded.
*
* @param L Lua state