SynGame/allegro-5.0.10-mingw-4.7.0/include/allegro5/allegro_acodec.h

41 lines
978 B
C
Raw Normal View History

2019-09-10 11:14:36 +03:00
#ifndef __al_included_allegro5_allegro_acodec_h
#define __al_included_allegro5_allegro_acodec_h
#include "allegro5/allegro.h"
#include "allegro5/allegro_audio.h"
#ifdef __cplusplus
extern "C" {
#endif
#if (defined ALLEGRO_MINGW32) || (defined ALLEGRO_MSVC)
#ifndef ALLEGRO_STATICLINK
#ifdef ALLEGRO_ACODEC_SRC
#define _ALLEGRO_ACODEC_DLL __declspec(dllexport)
#else
#define _ALLEGRO_ACODEC_DLL __declspec(dllimport)
#endif
#else
#define _ALLEGRO_ACODEC_DLL
#endif
#endif
#if defined ALLEGRO_MSVC
#define ALLEGRO_ACODEC_FUNC(type, name, args) _ALLEGRO_ACODEC_DLL type __cdecl name args
#elif defined ALLEGRO_MINGW32
#define ALLEGRO_ACODEC_FUNC(type, name, args) extern type name args
#else
#define ALLEGRO_ACODEC_FUNC AL_FUNC
#endif
ALLEGRO_ACODEC_FUNC(bool, al_init_acodec_addon, (void));
ALLEGRO_ACODEC_FUNC(uint32_t, al_get_allegro_acodec_version, (void));
#ifdef __cplusplus
}
#endif
#endif