module metal.printer

Code Map

module metal.printer;


alias Sink = void delegate(scope (const(scope (char)[]));

struct Ring
{
public:
	buf: char[10258];
	sinks: Sink[4];
	writePos: u32;
	numSinks: u32;


public:
	fn put(str: scope (const(scope (char)[])) { }
	fn addSink(sink: Sink) { }
	fn print(sink: Sink) { }
}

global ring: Ring;

fn valToHex(v: u64) char { }
fn write(a: scope (const(scope (char)[])) { }
fn writeln() { }
fn writeln(a: scope (const(scope (char)[])) { }
fn writeHex(v: u8) { }
fn writeHex(v: u16) { }
fn writeHex(hex: u32) { }
fn writeHex(hex: u64) { }