Skip to content

Instantly share code, notes, and snippets.

@forflo
Created November 14, 2015 23:46
Show Gist options
  • Save forflo/b4072451827357d40878 to your computer and use it in GitHub Desktop.
Save forflo/b4072451827357d40878 to your computer and use it in GitHub Desktop.
struct * = { // @
cchar = [5], // @->[0]
cdouble = [255.255], // @->[1]
struct * = { // @->[2]
struct * = { // @->[2]->[0]
cdouble = [7431.123], // @->[2]->[0]->[0]
cchar = [?], // @->[2]->[0]->[1]
cint = [-123] // @->[2]->[0]->[2]
}, // --
struct * = { // @->[2]->[1]
cdouble = [431.123], // @->[2]->[1]->[0]
cchar = [/], // @->[2]->[1]->[1]
cint = [-999] // @->[2]->[1]->[2]
}, // --
struct = { // @->[2]->[2] (equivalent to @->[2]->[2].[0] !)
cchar = [4], // @->[2]->[2].[0]
cint = [4711], // @->[2]->[2].[1]
struct = { // @->[2]->[2].[2]
cdouble = [42.42], // @->[2]->[2].[2].[0]
clong = [4000000] // @->[2]->[2].[2].[1]
} // --
} // --
} // --
} // --
struct = { // @ (equivalent to @.[0])
cchar = [3], // @.[0]
cdouble = [43.43] // @.[1]
} // --
struct = { // @
int * = [300] // @.[0]->[$] (equivalten to @->[$]
}
cuchar = [?] // @
cdouble * = [4500] // @->[$]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment