aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2018-01-10 22:40:15 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2018-01-10 22:40:15 +0100
commit358227e6ef73d9e9a590743af8b59df46a665528 (patch)
treefb3803fc855ee98b17ef8efd54ae6c5a6bdbd5b6 /include
parentec262bc612b10c52512c19cf7f1e731bfc812025 (diff)
downloadsynthpod-358227e6ef73d9e9a590743af8b59df46a665528.tar.xz
app: don't export any symbols from internal API.
Diffstat (limited to 'include')
-rw-r--r--include/synthpod_app.h38
-rw-r--r--include/synthpod_common.h2
-rw-r--r--include/synthpod_ui.h26
3 files changed, 32 insertions, 34 deletions
diff --git a/include/synthpod_app.h b/include/synthpod_app.h
index 778323f0..b6f8f814 100644
--- a/include/synthpod_app.h
+++ b/include/synthpod_app.h
@@ -122,63 +122,63 @@ struct _sp_app_driver_t {
sp_close_request_t close_request;
};
-SYNTHPOD_SYMBOL_EXTERN sp_app_t *
+sp_app_t *
sp_app_new(const LilvWorld *world, sp_app_driver_t *driver, void *data);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_app_activate(sp_app_t *app);
-SYNTHPOD_SYMBOL_EXTERN const sp_app_system_source_t *
+const sp_app_system_source_t *
sp_app_get_system_sources(sp_app_t *app);
-SYNTHPOD_SYMBOL_EXTERN const sp_app_system_sink_t *
+const sp_app_system_sink_t *
sp_app_get_system_sinks(sp_app_t *app);
-SYNTHPOD_SYMBOL_EXTERN bool
+bool
sp_app_from_ui(sp_app_t *app, const LV2_Atom *atom);
-SYNTHPOD_SYMBOL_EXTERN bool
+bool
sp_app_from_worker(sp_app_t *app, uint32_t len, const void *data);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_worker_from_app(sp_app_t *app, uint32_t len, const void *data);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_app_run_pre(sp_app_t *app, uint32_t nsamples);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_app_run_post(sp_app_t *app, uint32_t nsamples);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_app_deactivate(sp_app_t *app);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_app_free(sp_app_t *app);
-SYNTHPOD_SYMBOL_EXTERN LV2_State_Status
+LV2_State_Status
sp_app_save(sp_app_t *app, LV2_State_Store_Function store,
LV2_State_Handle state, uint32_t flags, const LV2_Feature *const *features);
-SYNTHPOD_SYMBOL_EXTERN LV2_State_Status
+LV2_State_Status
sp_app_restore(sp_app_t *app, LV2_State_Retrieve_Function retrieve,
LV2_State_Handle state, uint32_t flags, const LV2_Feature *const *features);
-SYNTHPOD_SYMBOL_EXTERN bool
+bool
sp_app_bypassed(sp_app_t *app);
-SYNTHPOD_SYMBOL_EXTERN uint32_t
+uint32_t
sp_app_options_set(sp_app_t *app, const LV2_Options_Option *options);
-SYNTHPOD_SYMBOL_EXTERN int
+int
sp_app_nominal_block_length(sp_app_t *app, uint32_t nsamples);
-SYNTHPOD_SYMBOL_EXTERN int
+int
sp_app_com_event(sp_app_t *app, LV2_URID otype);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_app_bundle_load(sp_app_t *app, LV2_URID urn, bool via_app);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_app_bundle_save(sp_app_t *app, LV2_URID urn, bool via_app);
#endif // _SYNTHPOD_APP_H
diff --git a/include/synthpod_common.h b/include/synthpod_common.h
index bdb32431..099bc97f 100644
--- a/include/synthpod_common.h
+++ b/include/synthpod_common.h
@@ -33,11 +33,9 @@
#define SYNTHPOD_ROOT_NK_URI SYNTHPOD_PREFIX"root_4_nk"
#ifdef _WIN32
-# define SYNTHPOD_SYMBOL_EXTERN __declspec(dllexport)
# define mlock(...)
# define munlock(...)
#else
-# define SYNTHPOD_SYMBOL_EXTERN __attribute__((visibility("default")))
# include <sys/mman.h> // mlock
#endif
diff --git a/include/synthpod_ui.h b/include/synthpod_ui.h
index e353ccb5..a54f128a 100644
--- a/include/synthpod_ui.h
+++ b/include/synthpod_ui.h
@@ -88,44 +88,44 @@ struct _sp_ui_driver_t {
sp_ui_features_t features;
};
-SYNTHPOD_SYMBOL_EXTERN sp_ui_t *
+sp_ui_t *
sp_ui_new(Evas_Object *win, const LilvWorld *world, sp_ui_driver_t *driver,
void *data, int show_splash);
-SYNTHPOD_SYMBOL_EXTERN Evas_Object *
+Evas_Object *
sp_ui_widget_get(sp_ui_t *ui);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_ui_refresh(sp_ui_t *ui);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_ui_from_app(sp_ui_t *ui, const LV2_Atom *atom);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_ui_bundle_new(sp_ui_t *ui);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_ui_bundle_load(sp_ui_t *ui, const char *bundle_path);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_ui_bundle_save(sp_ui_t *ui, const char *bundle_path);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_ui_resize(sp_ui_t *ui, int w, int h);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_ui_iterate(sp_ui_t *ui);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_ui_run(sp_ui_t *ui);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_ui_free(sp_ui_t *ui);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_ui_del(sp_ui_t *ui, bool delete_self);
-SYNTHPOD_SYMBOL_EXTERN void
+void
sp_ui_quit(sp_ui_t *ui);