Skip to content
Permalink
Browse files
Updated header for new SDL begin and end code.
  • Loading branch information
Stephane Peter committed Oct 27, 1999
1 parent aa18d70 commit 89de4e141060919f806c5e68f9950cfc93710c66
Showing with 9 additions and 0 deletions.
  1. +9 −0 mixer.h
@@ -31,6 +31,11 @@

#include <SDL/begin_code.h>

/* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus
extern "C" {
#endif

/* The default mixer has 8 simultaneous mixing channels */
#ifndef MIX_CHANNELS
#define MIX_CHANNELS 8
@@ -198,6 +203,10 @@ extern void Mix_CloseAudio(void);
#define Mix_SetError SDL_SetError
#define Mix_GetError SDL_GetError

/* Ends C function definitions when using C++ */
#ifdef __cplusplus
};
#endif
#include <SDL/close_code.h>

#endif /* _MIXER_H_ */

0 comments on commit 89de4e1

Please sign in to comment.