--- nono/vm/event.h 2026/04/29 17:04:32 1.1.1.3 +++ nono/vm/event.h 2026/04/29 17:04:35 1.1.1.4 @@ -1,12 +1,12 @@ // // nono -// Copyright (C) 2018 isaki@NetBSD.org +// Copyright (C) 2020 nono project +// Licensed under nono-license.txt // #pragma once #include "device.h" -#include #include // ユーザ定義リテラルを使ったサフィックス @@ -52,7 +52,7 @@ static inline uint64 operator"" _sec(lon } // コールバック関数の型 -typedef void (Device::*DeviceCallback_t)(int); +using DeviceCallback_t = void (Device::*)(int); // イベント //