wrappers do not contain invalid identifiers

This commit is contained in:
Andreas Rumpf 2010-01-17 22:19:10 +01:00
commit 8259d9d15a
24 changed files with 887 additions and 895 deletions

View file

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

View file

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

View file

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