From e359521fad6146c5597d4faf3112b7d1511630c0 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 11 Apr 2014 17:30:37 +0200 Subject: export fst functions (for MSVC) --- libs/fst/fst.h | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'libs/fst') diff --git a/libs/fst/fst.h b/libs/fst/fst.h index ba7fb42c0f..e9a92e6224 100644 --- a/libs/fst/fst.h +++ b/libs/fst/fst.h @@ -5,6 +5,7 @@ #include #include +#include "ardour/libardour_visibility.h" #include "ardour/vst_types.h" #include "ardour/vestige/aeffectx.h" @@ -16,7 +17,7 @@ * * @param msg error message text (no newline at end). */ -extern void (*fst_error_callback)(const char *msg); +LIBARDOUR_API void (*fst_error_callback)(const char *msg); /** * Set the @ref fst_error_callback for error message display. @@ -32,23 +33,23 @@ void fst_error (const char *fmt, ...); extern "C" { #endif -extern int fst_init (void* possible_hmodule); -extern void fst_exit (void); +LIBARDOUR_API int fst_init (void* possible_hmodule); +LIBARDOUR_API void fst_exit (void); -extern VSTHandle* fst_load (const char*); -extern int fst_unload (VSTHandle**); +LIBARDOUR_API VSTHandle* fst_load (const char*); +LIBARDOUR_API int fst_unload (VSTHandle**); -extern VSTState * fst_instantiate (VSTHandle *, audioMasterCallback amc, void* userptr); -extern void fst_close (VSTState *); +LIBARDOUR_API VSTState * fst_instantiate (VSTHandle *, audioMasterCallback amc, void* userptr); +LIBARDOUR_API void fst_close (VSTState *); -extern int fst_run_editor (VSTState *, void* window_parent); -extern void fst_destroy_editor (VSTState *); -extern void fst_move_window_into_view (VSTState *); +LIBARDOUR_API int fst_run_editor (VSTState *, void* window_parent); +LIBARDOUR_API void fst_destroy_editor (VSTState *); +LIBARDOUR_API void fst_move_window_into_view (VSTState *); -extern void fst_event_loop_remove_plugin (VSTState* fst); -extern void fst_start_threading(void); -extern void fst_stop_threading(void); -extern void fst_audio_master_idle(void); +LIBARDOUR_API void fst_event_loop_remove_plugin (VSTState* fst); +LIBARDOUR_API void fst_start_threading(void); +LIBARDOUR_API void fst_stop_threading(void); +LIBARDOUR_API void fst_audio_master_idle(void); #ifdef __cplusplus } -- cgit v1.2.3