prog_t no longer has a header
This "header" is now embedded directly into the struct. The semantic of a header never really matters in the actual runtime anyway, it's only for bytecode (de)serialising.
This commit is contained in:
@@ -165,11 +165,6 @@ typedef struct
|
||||
{
|
||||
word start_address;
|
||||
word count;
|
||||
} prog_header_t;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
prog_header_t header;
|
||||
inst_t instructions[];
|
||||
} prog_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user