include/SDL_cdrom.h
changeset 337 9154ec9ca3d2
parent 297 f6ffac90895c
child 769 b8d311d90021
     1.1 --- a/include/SDL_cdrom.h	Wed Apr 10 17:12:32 2002 +0000
     1.2 +++ b/include/SDL_cdrom.h	Thu Apr 11 14:35:16 2002 +0000
     1.3 @@ -99,7 +99,7 @@
     1.4  /* Returns the number of CD-ROM drives on the system, or -1 if
     1.5     SDL_Init() has not been called with the SDL_INIT_CDROM flag.
     1.6   */
     1.7 -extern DECLSPEC int SDL_CDNumDrives(void);
     1.8 +extern DECLSPEC int SDLCALL SDL_CDNumDrives(void);
     1.9  
    1.10  /* Returns a human-readable, system-dependent identifier for the CD-ROM.
    1.11     Example:
    1.12 @@ -107,7 +107,7 @@
    1.13  	"E:"
    1.14  	"/dev/disk/ide/1/master"
    1.15  */
    1.16 -extern DECLSPEC const char * SDL_CDName(int drive);
    1.17 +extern DECLSPEC const char * SDLCALL SDL_CDName(int drive);
    1.18  
    1.19  /* Opens a CD-ROM drive for access.  It returns a drive handle on success,
    1.20     or NULL if the drive was invalid or busy.  This newly opened CD-ROM
    1.21 @@ -115,13 +115,13 @@
    1.22     CD-ROM handle.
    1.23     Drives are numbered starting with 0.  Drive 0 is the system default CD-ROM.
    1.24  */
    1.25 -extern DECLSPEC SDL_CD * SDL_CDOpen(int drive);
    1.26 +extern DECLSPEC SDL_CD * SDLCALL SDL_CDOpen(int drive);
    1.27  
    1.28  /* This function returns the current status of the given drive.
    1.29     If the drive has a CD in it, the table of contents of the CD and current
    1.30     play position of the CD will be stored in the SDL_CD structure.
    1.31  */
    1.32 -extern DECLSPEC CDstatus SDL_CDStatus(SDL_CD *cdrom);
    1.33 +extern DECLSPEC CDstatus SDLCALL SDL_CDStatus(SDL_CD *cdrom);
    1.34  
    1.35  /* Play the given CD starting at 'start_track' and 'start_frame' for 'ntracks'
    1.36     tracks and 'nframes' frames.  If both 'ntrack' and 'nframe' are 0, play 
    1.37 @@ -142,28 +142,28 @@
    1.38  
    1.39     This function returns 0, or -1 if there was an error.
    1.40  */
    1.41 -extern DECLSPEC int SDL_CDPlayTracks(SDL_CD *cdrom,
    1.42 +extern DECLSPEC int SDLCALL SDL_CDPlayTracks(SDL_CD *cdrom,
    1.43  		int start_track, int start_frame, int ntracks, int nframes);
    1.44  
    1.45  /* Play the given CD starting at 'start' frame for 'length' frames.
    1.46     It returns 0, or -1 if there was an error.
    1.47  */
    1.48 -extern DECLSPEC int SDL_CDPlay(SDL_CD *cdrom, int start, int length);
    1.49 +extern DECLSPEC int SDLCALL SDL_CDPlay(SDL_CD *cdrom, int start, int length);
    1.50  
    1.51  /* Pause play -- returns 0, or -1 on error */
    1.52 -extern DECLSPEC int SDL_CDPause(SDL_CD *cdrom);
    1.53 +extern DECLSPEC int SDLCALL SDL_CDPause(SDL_CD *cdrom);
    1.54  
    1.55  /* Resume play -- returns 0, or -1 on error */
    1.56 -extern DECLSPEC int SDL_CDResume(SDL_CD *cdrom);
    1.57 +extern DECLSPEC int SDLCALL SDL_CDResume(SDL_CD *cdrom);
    1.58  
    1.59  /* Stop play -- returns 0, or -1 on error */
    1.60 -extern DECLSPEC int SDL_CDStop(SDL_CD *cdrom);
    1.61 +extern DECLSPEC int SDLCALL SDL_CDStop(SDL_CD *cdrom);
    1.62  
    1.63  /* Eject CD-ROM -- returns 0, or -1 on error */
    1.64 -extern DECLSPEC int SDL_CDEject(SDL_CD *cdrom);
    1.65 +extern DECLSPEC int SDLCALL SDL_CDEject(SDL_CD *cdrom);
    1.66  
    1.67  /* Closes the handle for the CD-ROM drive */
    1.68 -extern DECLSPEC void SDL_CDClose(SDL_CD *cdrom);
    1.69 +extern DECLSPEC void SDLCALL SDL_CDClose(SDL_CD *cdrom);
    1.70  
    1.71  
    1.72  /* Ends C function definitions when using C++ */