cleanup: namespace Montauk (capital M) => montauk::abi
This commit is contained in:
1 parent
b6ac5ac994
commit
43d43ac9ea
165 files changed
+758
-758
No files matched your search
@@ -917,7 +917,7 @@ extern "C" void _start() {
|
||||
ui_render();
|
||||
|
||||
// Create socket and connect
|
||||
irc.fd = montauk::socket(Montauk::SOCK_TCP);
|
||||
irc.fd = montauk::socket(montauk::abi::SOCK_TCP);
|
||||
if (irc.fd < 0) {
|
||||
msg_add("\033[31m*** Failed to create socket\033[0m");
|
||||
ui_render();
|
||||
@@ -955,7 +955,7 @@ extern "C" void _start() {
|
||||
|
||||
// Poll keyboard
|
||||
if (montauk::is_key_available()) {
|
||||
Montauk::KeyEvent ev;
|
||||
montauk::abi::KeyEvent ev;
|
||||
montauk::getkey(&ev);
|
||||
|
||||
if (!ev.pressed) {
|
||||
@@ -1029,7 +1029,7 @@ extern "C" void _start() {
|
||||
} else {
|
||||
if (!dirty) {
|
||||
montauk::wait_handle(irc.fd,
|
||||
Montauk::IPC_SIGNAL_READABLE | Montauk::IPC_SIGNAL_PEER_CLOSED,
|
||||
montauk::abi::IPC_SIGNAL_READABLE | montauk::abi::IPC_SIGNAL_PEER_CLOSED,
|
||||
10);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user