cleanup: namespace Montauk (capital M) => montauk::abi

This commit is contained in:
2026-06-16 09:09:16 +02:00
parent b091af7653
commit e3dc1e881d
165 changed files with 758 additions and 758 deletions
+3 -3
View File
@@ -120,7 +120,7 @@ extern "C" void _start() {
}
// Create socket
int fd = montauk::socket(Montauk::SOCK_TCP);
int fd = montauk::socket(montauk::abi::SOCK_TCP);
if (fd < 0) {
montauk::print("Error: failed to create socket\n");
montauk::exit(1);
@@ -159,7 +159,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) continue;
@@ -187,7 +187,7 @@ extern "C" void _start() {
montauk::putchar(ev.ascii);
}
} else {
montauk::wait_handle(fd, Montauk::IPC_SIGNAL_READABLE | Montauk::IPC_SIGNAL_PEER_CLOSED, 10);
montauk::wait_handle(fd, montauk::abi::IPC_SIGNAL_READABLE | montauk::abi::IPC_SIGNAL_PEER_CLOSED, 10);
}
}