Skip to content
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
Closed

Proper C array declaration #751

nddrylliog opened this issue Dec 6, 2013 · 1 comment

Comments

@nddrylliog
Copy link
Member

@nddrylliog 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
Copy link
Member Author

@nddrylliog nddrylliog commented Dec 6, 2013

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

Loading

@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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant