Refactor protocols.

This commit is contained in:
Christoffer Lerno
2023-10-06 20:29:20 +02:00
committed by Christoffer Lerno
parent f3e3aa231d
commit 99cfaa1583
98 changed files with 756 additions and 590 deletions

View File

@@ -10,7 +10,7 @@ fault BacktraceFault
const Backtrace BACKTRACE_UNKNOWN = { 0, "", "", "", 0, null };
struct Backtrace
struct Backtrace (Printable)
{
uptr offset;
String function;
@@ -30,7 +30,7 @@ fn bool Backtrace.is_unknown(&self)
return !self.object_file.len;
}
fn usz! Backtrace.to_format(&self, Formatter* formatter) : Printable
fn usz! Backtrace.to_format(&self, Formatter* formatter) @dynamic
{
if (self.has_file())
{