cleanup: namespace Montauk (capital M) => montauk::abi
This commit is contained in:
@@ -24,7 +24,7 @@ struct WsWindow {
|
||||
: id(-1), pixels(nullptr), width(0), height(0), scale_factor(1), closed(false) {}
|
||||
|
||||
bool create(const char* title, int w, int h) {
|
||||
Montauk::WinCreateResult wres;
|
||||
montauk::abi::WinCreateResult wres;
|
||||
if (montauk::win_create(title, w, h, &wres) < 0 || wres.id < 0)
|
||||
return false;
|
||||
|
||||
@@ -37,7 +37,7 @@ struct WsWindow {
|
||||
return true;
|
||||
}
|
||||
|
||||
int poll(Montauk::WinEvent* ev) {
|
||||
int poll(montauk::abi::WinEvent* ev) {
|
||||
if (id < 0 || closed) return -1;
|
||||
|
||||
int r = montauk::win_poll(id, ev);
|
||||
|
||||
Reference in New Issue
Block a user