diff options
author | Andreas Rumpf <andreas@andreas-desktop> | 2010-01-17 22:19:10 +0100 |
---|---|---|
committer | Andreas Rumpf <andreas@andreas-desktop> | 2010-01-17 22:19:10 +0100 |
commit | 8259d9d15aa34dbbd84bb19150ab16a27378dd88 (patch) | |
tree | 585fa5a6e030824a4122ad7597fb81e47351c388 /lib/wrappers/sdl | |
parent | 5c33646e8312b7669b4829156bbf44875d22c7cd (diff) | |
download | Nim-8259d9d15aa34dbbd84bb19150ab16a27378dd88.tar.gz |
wrappers do not contain invalid identifiers
Diffstat (limited to 'lib/wrappers/sdl')
-rwxr-xr-x | lib/wrappers/sdl/sdl_mixer.nim | 4 | ||||
-rwxr-xr-x | lib/wrappers/sdl/sdl_mixer_nosmpeg.nim | 4 | ||||
-rwxr-xr-x | lib/wrappers/sdl/smpeg.nim | 2 |
3 files changed, 5 insertions, 5 deletions
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.} |