Use nimterop head

This commit is contained in:
Joey Yakimowich-Payne 2020-09-12 11:02:04 -06:00
commit 79476a4027
2 changed files with 2 additions and 2 deletions

View file

@ -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",

View file

@ -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