From 8259d9d15aa34dbbd84bb19150ab16a27378dd88 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Sun, 17 Jan 2010 22:19:10 +0100 Subject: wrappers do not contain invalid identifiers --- lib/wrappers/sdl/sdl_mixer.nim | 4 ++-- lib/wrappers/sdl/sdl_mixer_nosmpeg.nim | 4 ++-- lib/wrappers/sdl/smpeg.nim | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/wrappers/sdl') diff --git a/lib/wrappers/sdl/sdl_mixer.nim b/lib/wrappers/sdl/sdl_mixer.nim index f840dc52a..a17ef09d4 100755 --- a/lib/wrappers/sdl/sdl_mixer.nim +++ b/lib/wrappers/sdl/sdl_mixer.nim @@ -207,7 +207,7 @@ type #music_cmd.h types TMidiEvent*{.final.} = object time*: int32 channel*: uint8 - type_*: uint8 + typ*: uint8 a*: uint8 b*: uint8 @@ -280,7 +280,7 @@ type #music_cmd.h types # end; PMix_Music* = ptr TMix_Music TMix_Music*{.final.} = object # The internal format for a music chunk interpreted via mikmod - type_*: TMix_MusicType # other fields are not aviable + typ*: TMix_MusicType # other fields are not aviable # data : TMusicUnion; # fading : TMix_Fading; # fade_volume : integer; diff --git a/lib/wrappers/sdl/sdl_mixer_nosmpeg.nim b/lib/wrappers/sdl/sdl_mixer_nosmpeg.nim index 6282b5edc..879867607 100755 --- a/lib/wrappers/sdl/sdl_mixer_nosmpeg.nim +++ b/lib/wrappers/sdl/sdl_mixer_nosmpeg.nim @@ -61,7 +61,7 @@ type #music_cmd.h types TMidiEvent*{.final.} = object time*: int32 channel*: uint8 - type_*: uint8 + typ*: uint8 a*: uint8 b*: uint8 @@ -122,7 +122,7 @@ type #music_cmd.h types MUS_NONE, MUS_CMD, MUS_WAV, MUS_MOD, MUS_MID, MUS_OGG PMix_Music* = ptr TMix_Music TMix_Music*{.final.} = object - type_*: TMix_MusicType + typ*: TMix_MusicType TMixFunction* = proc (udata: Pointer, stream: PUint8, length: int): Pointer{. cdecl.} # This macro can be used to fill a version structure with the compile-time diff --git a/lib/wrappers/sdl/smpeg.nim b/lib/wrappers/sdl/smpeg.nim index ada0ed57c..733a3fcf9 100755 --- a/lib/wrappers/sdl/smpeg.nim +++ b/lib/wrappers/sdl/smpeg.nim @@ -251,7 +251,7 @@ proc SMPEG_setdisplay*(mpeg: PSMPEG, dst: PSDL_Surface, surfLock: PSDL_mutex, callback: TSMPEG_DisplayCallback){.cdecl, importc, dynlib: SmpegLibName.} # Set or clear looping play on an SMPEG object -proc SMPEG_loop*(mpeg: PSMPEG, repeat_: int){.cdecl, importc, dynlib: SmpegLibName.} +proc SMPEG_loop*(mpeg: PSMPEG, repeat: int){.cdecl, importc, dynlib: SmpegLibName.} # Scale pixel display on an SMPEG object proc SMPEG_scaleXY*(mpeg: PSMPEG, width, height: int){.cdecl, importc, dynlib: SmpegLibName.} -- cgit 1.4.1-2-gfad0