|
|
1.1 ! root 1: // ! 2: // nono ! 3: // Copyright (C) 2020 nono project ! 4: // Licensed under nono-license.txt ! 5: // ! 6: ! 7: // ! 8: // nono の基本ヘッダ ! 9: // ! 10: ! 11: #pragma once ! 12: ! 13: #include "header.h" ! 14: ! 15: #define NONO_MAJOR_VER (1) ! 16: #define NONO_MINOR_VER (0) ! 17: #define NONO_PATCH_VER (0) ! 18: #define NONO_DATE "2024/10/31" ! 19: ! 20: // パニック (PC を表示しない) ! 21: #define PANIC(...) panic_func(__PRETTY_FUNCTION__, __VA_ARGS__) ! 22: [[noreturn]] extern void panic_func(const char *funcname, const char *fmt, ...) ! 23: __printflike(2, 3); ! 24: ! 25: // VM 用パニック (PC を表示する) ! 26: #define VMPANIC(...) vmpanic_func(__PRETTY_FUNCTION__, __VA_ARGS__) ! 27: [[noreturn]] extern void vmpanic_func(const char *funcname, const char *fmt, ! 28: ...) __printflike(2, 3);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.