From 2dbbff737b9961add3c27f07c57b1536e8c4ee00 Mon Sep 17 00:00:00 2001 From: jonsd Date: Wed, 13 Jun 2007 13:14:00 +0000 Subject: [PATCH] Windows DLL: add __declspec(dllexport) to each function call in speak_lib.h git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@46 d46cf337-b52f-0410-862d-fd96e6ae7743 --- windows/windows_dll/src/speak_lib.h | 42 ++++++++++++++--------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/windows/windows_dll/src/speak_lib.h b/windows/windows_dll/src/speak_lib.h index 07bea82b..2f86dbc2 100644 --- a/windows/windows_dll/src/speak_lib.h +++ b/windows/windows_dll/src/speak_lib.h @@ -139,7 +139,7 @@ typedef enum { #ifdef __cplusplus extern "C" #endif -int espeak_Initialize(espeak_AUDIO_OUTPUT output, int buflength, const char *path, int options); +ESPEAK_API int espeak_Initialize(espeak_AUDIO_OUTPUT output, int buflength, const char *path, int options); /* Must be called before any synthesis functions are called. output: the audio data can either be played by eSpeak or passed back by the SynthCallback function. @@ -158,7 +158,7 @@ typedef int (t_espeak_callback)(short*, int, espeak_EVENT*); #ifdef __cplusplus extern "C" #endif -void espeak_SetSynthCallback(t_espeak_callback* SynthCallback); +ESPEAK_API void espeak_SetSynthCallback(t_espeak_callback* SynthCallback); /* Must be called before any synthesis functions are called. This specifies a function in the calling program which is called when a buffer of speech sound data has been produced. @@ -185,7 +185,7 @@ int SynthCallback(short *wav, int numsamples, espeak_EVENT *events); #ifdef __cplusplus extern "C" #endif -void espeak_SetUriCallback(int (*UriCallback)(int, const char*, const char*)); +ESPEAK_API void espeak_SetUriCallback(int (*UriCallback)(int, const char*, const char*)); /* This function must be called before synthesis functions are used, in order to deal with