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
The following code
package main import "core:fmt" main :: proc() { switch (0) { case 1: fmt.println("case 1a") //fmt.println("case 1b") case: fmt.println("default a") //fmt.println("default b") } }
gets formatted as
The text was updated successfully, but these errors were encountered:
Related? The following:
package main import win "core:sys/windows" Image :: struct { width, height: u16, } foo :: proc(image: Image) { imageInfo := win.BITMAPINFO { bmiHeader = { biSize = size_of(win.BITMAPINFOHEADER), biPlanes = 1, biBitCount = u16(32), biCompression = win.BI_RGB, biWidth = i32(image.width), biHeight = i32(image.height), // NOTE: bottom-up DIB // biHeight = -i32(image.height), // NOTE: top-down DIB }, } }
gets formatted as:
package main import win "core:sys/windows" Image :: struct { width, height: u16, } foo :: proc(image: Image) { imageInfo := win.BITMAPINFO { bmiHeader = { biSize = size_of(win.BITMAPINFOHEADER), biPlanes = 1, biBitCount = u16(32), biCompression = win.BI_RGB, biWidth = i32(image.width), biHeight = i32(image.height), },// NOTE: bottom-up DIB // biHeight = -i32(image.height), // NOTE: top-down DIB } }
Sorry, something went wrong.
No branches or pull requests
The following code
gets formatted as
The text was updated successfully, but these errors were encountered: