This commit is contained in:
ed
2026-09-09 12:38:18 -04:00
parent d3fd791537
commit 588fa20778
9 changed files with 164 additions and 148 deletions
+7 -4
View File
@@ -12,15 +12,18 @@ typedef Enum_(U1, X8616_SerializeStatus) {
typedef Struct_(X8616_SerializeRequest) {
X8616_DecodedInstruction* instructions;
U4 instruction_count;
U4 instruction_count; byte_pad(4);
Slice output;
Slice scratch;
FArena* info_arena;
X8616_InfoList_R msgs;
};
typedef Struct_(X8616_SerializeInfo) {
Str8 text;
U4 instructions_written;
X8616_SerializeStatus status;
X8616_InfoList msgs;
Str8 text;
U4 instructions_written;
byte_pad(4);
};
X8616_SerializeInfo x8616_serialize_instructions(X8616_SerializeRequest request);