create buffer class && some warnings fixes && update manual && create vscode tasks

This commit is contained in:
2025-05-08 23:48:52 +05:00
parent 79a79c5409
commit 521d00fdb8
16 changed files with 547 additions and 107 deletions

View File

@@ -33,7 +33,7 @@ int syscalls_indexARPEntry(lua_State* L)
else if (strcmp(index, "MAC") == 0)
{
char str[7];
memset(str, entry->MAC, 6);
memcpy(str, &entry->MAC, 6);
str[6] = '\n';
lua_pushstring(L, str);
}
@@ -79,7 +79,7 @@ int syscalls_newindexARPEntry(lua_State* L)
}
else
{
_ksys_debug_puts("err\n");
luaL_error(L, "wrong index: %s", index);
}
return 0;