Add data.d
This commit is contained in:
19
SMILEBASIC/data.d
Normal file
19
SMILEBASIC/data.d
Normal file
@@ -0,0 +1,19 @@
|
||||
module otya.smilebasic.data;
|
||||
|
||||
enum DataType : byte
|
||||
{
|
||||
ushort_,
|
||||
int_,
|
||||
double_
|
||||
}
|
||||
|
||||
align(1) struct DataHeader
|
||||
{
|
||||
char[8] magic;//PCBN0001
|
||||
DataType type;
|
||||
byte dimension;
|
||||
int dim1;
|
||||
int dim2;
|
||||
int dim3;
|
||||
int dim4;
|
||||
}
|
||||
Reference in New Issue
Block a user