floooh / sokol-nim

nim bindings for https://github.com/floooh/sokol
MIT License
76 stars 14 forks source link

not need i32 when I know var type and for gen_nim.py #22

Closed Angluca closed 6 months ago

Angluca commented 12 months ago

var xx = [0'i32] # must i32 because don't know it's type so must 0'i32 var xxxx: array[1, int32 or int64] = [0] # all ok, Not need 0'i32 0'i64 now

Angluca commented 12 months ago

I 'v add sokol in nimble package, You can change package too. https://github.com/nim-lang/packages/pull/2641/files We can 'nimble search or install sokol' when It upgrade success ( Must 'nimble update' before :)