mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
scanner: make the 1. float error a warning for now
This commit is contained in:
@ -8,6 +8,8 @@ fn C.darwin_draw_string(x int, y int, s string, cfg voidptr)
|
||||
|
||||
fn C.darwin_text_width(s string) int
|
||||
|
||||
fn C.darwin_text_width_runes(r []rune) int
|
||||
|
||||
fn C.darwin_window_refresh()
|
||||
|
||||
fn C.darwin_draw_rect(f32, f32, f32, f32, voidptr)
|
||||
|
@ -68,7 +68,6 @@ int darwin_text_width(string s) {
|
||||
return (int)(ceil(size.width));
|
||||
}
|
||||
|
||||
|
||||
void darwin_draw_rect(float x, float y, float width, float height, gx__Color c) {
|
||||
NSColor* color = nscolor(c);
|
||||
NSRect rect = NSMakeRect(x, y, width, height);
|
||||
|
Reference in New Issue
Block a user