Commit Graph

9 Commits

Author SHA1 Message Date
lyken a156af8501
core/irrt: use constexpr for NO_PARAM 2024-08-26 15:30:28 +08:00
lyken 4e6ff06215
core/irrt: refactor debug.hpp 2024-08-26 15:29:25 +08:00
lyken 8d441576f2
core/irrt: use more reinterpret_cast 2024-08-26 15:26:29 +08:00
lyken 925bf47f4e
core/irrt: use __builtin_strlen 2024-08-26 15:24:50 +08:00
lyken f169d37074
core/irrt/exceptions: add debug utils with exceptions 2024-08-26 09:39:41 +08:00
lyken cf34002179
core/irrt/exceptions: allow irrt to raise exceptions
Achieved through defining all the needed Exception ID constants at link
time.

Secondly, since `Exception` is `size_t` dependent, `__nac3_raise()`
takes an opaque pointer to `Exception`.
2024-08-26 09:38:56 +08:00
lyken e9629a6688
core/irrt: split irrt.cpp into headers 2024-08-26 09:35:06 +08:00
lyken 331ab8a946
core/irrt: reformat 2024-08-26 09:35:00 +08:00
lyken 8f726ecbfa
core/irrt: comment build.rs & move irrt to nac3core/irrt 2024-08-26 09:34:27 +08:00