add IPC to build && fix errors

This commit is contained in:
2025-04-18 15:31:41 +05:00
parent f81b5c1b23
commit 180d3f795b
5 changed files with 20 additions and 11 deletions

View File

@@ -9,13 +9,14 @@
#include "syscalls.h"
#include "scancodes.h"
#include "ARP_entry.h"
#include "ARP_entry.h"
#include "systemColors.h"
#include "sockets/socket_lua.h"
#include "debug/debug.h"
#include "graphic.h"
#include "IPC/ipc.h"
#include "IPC/IPC_msg.h"
/*
Режим ввода с клавиатуры
@@ -1636,6 +1637,8 @@ static const luaL_Reg syscallsLib[] = {
{ "Done", syscalls_Done },
{ "DefineBreakpoint", syscalls_DefineBreakpoint },
{ "UndefBreakpoint", syscalls_UndefBreakpoint },
{ "DefineIPCBuffer", syscalls_DefineIPCBuffer },
{ "SendIPCMessage", syscalls_SendIPCMessage },
{ NULL, NULL }
};
@@ -1835,6 +1838,7 @@ LUALIB_API int luaopen_syscalls(lua_State* L)
syscalls_push_buttons(L);
syscalls_push_connectionStatus(L);
syscalls_push_graphic(L);
syscalls_register_IPC_msg(L);
syscalls_register_ARPEntry(L);
syscalls_register_SystemColors(L);