WIITD / raylib-freebasic

FreeBasic bindings for raylib
MIT License
27 stars 8 forks source link

header has illegal specifications due to using freebasic keywords as variable names #3

Closed Kaleidio closed 2 years ago

Kaleidio commented 2 years ago

D:\coding\FreeBASIC\brokeengine\BrokeEngine\lib\raylib-freebasic-main\raylib.bi(189) error 59: Illegal specification, at parameter 3 (width) of constructor stdcall(as single, as single) in 'constructor Rectangle(x as single, y as single, width as single, height as single)'

Kaleidio commented 2 years ago

This is because Width is actually a keyword reserved for the freebasic language, and freebasic syntax is not entirely case sensitive. I recommend changing the names of such variables

Kaleidio commented 2 years ago

you have also used left, right, color, name, point, ptr and data in this manner

WIITD commented 2 years ago

i paid attention to catch every illegal specification while updating to 4.2