mirror of
https://github.com/Ed94/metadesk.git
synced 2026-06-26 05:35:00 -07:00
[api] decompose the message printing API by one notch
This commit is contained in:
@@ -1215,8 +1215,26 @@ main:
|
||||
////////////////////////////////
|
||||
//~ Error/Warning Helpers
|
||||
|
||||
@send(Nodes)
|
||||
@func MD_Message: {
|
||||
out: *FILE,
|
||||
loc: MD_CodeLoc,
|
||||
kind: MD_MessageKind,
|
||||
str: MD_String8,
|
||||
};
|
||||
|
||||
@send(Nodes)
|
||||
@func MD_Message: {
|
||||
out: *FILE,
|
||||
loc: MD_CodeLoc,
|
||||
kind: MD_MessageKind,
|
||||
fmt: *char,
|
||||
"..."
|
||||
};
|
||||
|
||||
@send(Nodes)
|
||||
@func MD_NodeMessage: {
|
||||
out: *FILE,
|
||||
node: *MD_Node,
|
||||
kind: MD_MessageKind,
|
||||
str: MD_String8,
|
||||
@@ -1224,6 +1242,7 @@ main:
|
||||
|
||||
@send(Nodes)
|
||||
@func MD_NodeMessageF: {
|
||||
out: *FILE,
|
||||
node: *MD_Node,
|
||||
kind: MD_MessageKind,
|
||||
fmt: *char,
|
||||
|
||||
Reference in New Issue
Block a user