mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
new gg/freetype modules with sokol/fontstash backends
This commit is contained in:
@ -705,6 +705,9 @@ fn (p mut Parser) check_types2(got_, expected_ string, throw bool) bool {
|
||||
if got.starts_with('fn ') && (expected.ends_with('fn') || expected.ends_with('Fn')) {
|
||||
return true
|
||||
}
|
||||
if got.starts_with('fn ') && expected.starts_with('fn ') {
|
||||
return true
|
||||
}
|
||||
// Allow pointer arithmetic
|
||||
if expected == 'void*' && got == 'int' {
|
||||
return true
|
||||
|
Reference in New Issue
Block a user