mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Patch odin doc binary format
This commit is contained in:
@@ -11,7 +11,7 @@ String :: distinct Array(byte)
|
|||||||
|
|
||||||
Version_Type_Major :: 0
|
Version_Type_Major :: 0
|
||||||
Version_Type_Minor :: 2
|
Version_Type_Minor :: 2
|
||||||
Version_Type_Patch :: 0
|
Version_Type_Patch :: 1
|
||||||
|
|
||||||
Version_Type :: struct {
|
Version_Type :: struct {
|
||||||
major, minor, patch: u8,
|
major, minor, patch: u8,
|
||||||
|
|||||||
+3
-2
@@ -15,7 +15,7 @@ struct OdinDocVersionType {
|
|||||||
|
|
||||||
#define OdinDocVersionType_Major 0
|
#define OdinDocVersionType_Major 0
|
||||||
#define OdinDocVersionType_Minor 2
|
#define OdinDocVersionType_Minor 2
|
||||||
#define OdinDocVersionType_Patch 0
|
#define OdinDocVersionType_Patch 1
|
||||||
|
|
||||||
struct OdinDocHeaderBase {
|
struct OdinDocHeaderBase {
|
||||||
u8 magic[8];
|
u8 magic[8];
|
||||||
@@ -175,7 +175,8 @@ enum OdinDocEntityFlag : u64 {
|
|||||||
|
|
||||||
struct OdinDocEntity {
|
struct OdinDocEntity {
|
||||||
OdinDocEntityKind kind;
|
OdinDocEntityKind kind;
|
||||||
u32 flags;
|
u32 reserved;
|
||||||
|
u64 flags;
|
||||||
OdinDocPosition pos;
|
OdinDocPosition pos;
|
||||||
OdinDocString name;
|
OdinDocString name;
|
||||||
OdinDocTypeIndex type;
|
OdinDocTypeIndex type;
|
||||||
|
|||||||
Reference in New Issue
Block a user