mirror of
https://github.com/Ed94/metadesk.git
synced 2026-07-22 23:47:50 +00:00
[plugin macros] clean up all usage of context; also document a few more things
This commit is contained in:
+10
-10
@@ -207,21 +207,14 @@
|
||||
column: MD_u32,
|
||||
};
|
||||
|
||||
////////////////////////////////
|
||||
//~ Message Levels
|
||||
|
||||
@enum MD_MessageKind: {
|
||||
None,
|
||||
Warning,
|
||||
Error,
|
||||
CatastrophicError,
|
||||
}
|
||||
|
||||
////////////////////////////////
|
||||
//~ String-To-Node table
|
||||
|
||||
@doc("Controls the behavior of routines that write into maps when the written key was already in the map.")
|
||||
@enum MD_MapCollisionRule: {
|
||||
@doc("When the key written was already in the map, a new key value pair is attached to the same chain always. Leaving multiple values associated to the same key.")
|
||||
Chain,
|
||||
@doc("When the key written was already in the map, the existing value is replaced with the newly inserted value.")
|
||||
Overwrite,
|
||||
}
|
||||
|
||||
@@ -303,6 +296,13 @@
|
||||
////////////////////////////////
|
||||
//~ Parsing State
|
||||
|
||||
@enum MD_MessageKind: {
|
||||
None,
|
||||
Warning,
|
||||
Error,
|
||||
CatastrophicError,
|
||||
}
|
||||
|
||||
@struct MD_Error: {
|
||||
next: *MD_Error,
|
||||
string: MD_String8,
|
||||
|
||||
Reference in New Issue
Block a user