We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is a general Nim question and not specific to Naylib so feel free to delete and send me to the forums instead
Using a tuple in the code I have to declare the values as int32, why is that? And is there a way to tell the compiler to use int32?
import raylib const screenW = 800 screenH = 600 screenSize = (x: 800, y: 600) proc main(): void = # works initWindow(screenW, screenH, "testing") # does not work. Error: type mismatch initWindow(screenSize.x, screenSize.y, "testing") main()
The text was updated successfully, but these errors were encountered:
screenSize.x.int32
Sorry, something went wrong.
No idea really, const implicit types buffle me as well.
No branches or pull requests
This is a general Nim question and not specific to Naylib so feel free to delete and send me to the forums instead
Using a tuple in the code I have to declare the values as int32, why is that? And is there a way to tell the compiler to use int32?
The text was updated successfully, but these errors were encountered: