Use nimterop head
This commit is contained in:
parent
d9f624b1ea
commit
79476a4027
2 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ srcDir = "src"
|
||||||
# Dependencies
|
# Dependencies
|
||||||
|
|
||||||
requires "nim >= 1.0.6",
|
requires "nim >= 1.0.6",
|
||||||
"https://github.com/jyapayne/nimterop#93c8372",
|
"https://github.com/jyapayne/nimterop#head",
|
||||||
"opengl >= 1.2.6",
|
"opengl >= 1.2.6",
|
||||||
"sdl2#head",
|
"sdl2#head",
|
||||||
"https://github.com/jyapayne/nim-glew#head",
|
"https://github.com/jyapayne/nim-glew#head",
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ cDefine("NANOVG_GL3", "")
|
||||||
cOverride:
|
cOverride:
|
||||||
# Standard Nim code to wrap types, consts, procs, etc.
|
# Standard Nim code to wrap types, consts, procs, etc.
|
||||||
type
|
type
|
||||||
NVGcolor* {.bycopy, impnanovgHdr, importc: "struct NVGcolor".} = object
|
NVGcolor* {.bycopy, importc: "struct NVGcolor".} = object
|
||||||
r*: cfloat
|
r*: cfloat
|
||||||
g*: cfloat
|
g*: cfloat
|
||||||
b*: cfloat
|
b*: cfloat
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue