Proper C array declaration #751

Closed
nddrylliog opened this Issue Dec 6, 2013 · 1 comment

Projects

None yet

1 participant

@nddrylliog
Member

Something like:

a: Char* = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf]

Doesn't do what you expect at all. This doesn't either:

a := [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf] as Char*

That's really painful, as it turns out.

@nddrylliog nddrylliog was assigned Dec 6, 2013
@nddrylliog nddrylliog added a commit that referenced this issue Dec 6, 2013
@nddrylliog nddrylliog Closes #752, closes #751 be949a4
@nddrylliog
Member

Code's really ugly, but it works...

@nddrylliog nddrylliog closed this Dec 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment