[nostalgia/core] Rename event handler to update handler

This commit is contained in:
2022-03-19 20:11:53 -05:00
parent 8e660f6b15
commit 2223fe7863
9 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -8,10 +8,10 @@ namespace nostalgia::core {
class Context;
using event_handler = int(*)(Context*);
using UpdateHandler = int(*)(Context*);
// Sets event handler that sleeps for the time given in the return value. The
// sleep time is a minimum of ~16 milliseconds.
void setEventHandler(Context *ctx, event_handler) noexcept;
void setUpdateHandler(Context *ctx, UpdateHandler) noexcept;
}