New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proper C array declaration #751

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

Comments

Projects
None yet
1 participant
@nddrylliog
Member

nddrylliog commented Dec 6, 2013

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.

@ghost ghost assigned nddrylliog Dec 6, 2013

nddrylliog added a commit that referenced this issue Dec 6, 2013

@nddrylliog

This comment has been minimized.

Member

nddrylliog commented Dec 6, 2013

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