diff options
author | EXetoC <exetoc@gmail.com> | 2013-07-18 23:25:29 +0200 |
---|---|---|
committer | EXetoC <exetoc@gmail.com> | 2013-07-18 23:25:29 +0200 |
commit | 1e3934e4648fa19b741ef19c82fa30d75bb14f15 (patch) | |
tree | 1a17a224e7b8f356a2fadff634302c8d65400678 /lib/wrappers | |
parent | 6e4dfc8eb51d0a60b9f466412ca497bae475a0f8 (diff) | |
download | Nim-1e3934e4648fa19b741ef19c82fa30d75bb14f15.tar.gz |
dynlib
Diffstat (limited to 'lib/wrappers')
-rw-r--r-- | lib/wrappers/sdl/sdl_image.nim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/wrappers/sdl/sdl_image.nim b/lib/wrappers/sdl/sdl_image.nim index 538a8a6f5..2bd731506 100644 --- a/lib/wrappers/sdl/sdl_image.nim +++ b/lib/wrappers/sdl/sdl_image.nim @@ -170,8 +170,10 @@ const IMG_INIT_TIF* = 0x00000004 IMG_INIT_WEBP* = 0x00000008 -proc IMG_Init*(flags: cint): int {.cdecl, importc: "IMG_Init".} -proc IMG_Quit*() {.cdecl, importc: "IMG_Quit".} +proc IMG_Init*(flags: cint): int {.cdecl, importc: "IMG_Init", + dynlib: ImageLibName.} +proc IMG_Quit*() {.cdecl, importc: "IMG_Quit", + dynlib: ImageLibName.} proc IMG_LoadTyped_RW*(src: PRWops, freesrc: cint, theType: cstring): PSurface{. cdecl, importc: "IMG_LoadTyped_RW", dynlib: ImageLibName.} # Convenience functions |