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

This commit is contained in:
2026-06-16 09:09:16 +02:00
parent b6ac5ac994
commit 43d43ac9ea
165 changed files with 758 additions and 758 deletions
+3 -3
View File
@@ -39,7 +39,7 @@ static bool init_buffers_and_fonts() {
return true;
}
static void handle_key_event(const Montauk::WinEvent& ev, bool& search_pending) {
static void handle_key_event(const montauk::abi::WinEvent& ev, bool& search_pending) {
uint8_t ascii = ev.key.ascii;
uint8_t scan = ev.key.scancode;
@@ -65,7 +65,7 @@ static void handle_key_event(const Montauk::WinEvent& ev, bool& search_pending)
else if (scan == 0x4F) { g_scroll_y = max_sc; }
}
static void handle_mouse_event(const Montauk::WinEvent& ev, bool& search_pending) {
static void handle_mouse_event(const montauk::abi::WinEvent& ev, bool& search_pending) {
int mx = ev.mouse.x, my = ev.mouse.y;
g_mouse_x = mx;
g_mouse_y = my;
@@ -169,7 +169,7 @@ extern "C" void _start() {
continue;
}
Montauk::WinEvent ev;
montauk::abi::WinEvent ev;
int r = win.poll(&ev);
if (r < 0) break;
+1 -1
View File
@@ -41,7 +41,7 @@ bool ensure_wiki_tls_ready(char* err, int err_len) {
}
bool welcome_feed_path(char* path, int path_len) {
Montauk::DateTime dt {};
montauk::abi::DateTime dt {};
montauk::gettime(&dt);
if (dt.Year < 2001 || dt.Month < 1 || dt.Month > 12 ||