[beast/devel: 25/26] BSE: remove obsoleted C plugin export macros



commit 30c7d5467797e24cb331c01c967b445a06cd133b
Author: Tim Janik <timj gnu org>
Date:   Tue Dec 18 03:37:55 2012 +0100

    BSE: remove obsoleted C plugin export macros

 bse/bseplugin.h |   39 ---------------------------------------
 1 files changed, 0 insertions(+), 39 deletions(-)
---
diff --git a/bse/bseplugin.h b/bse/bseplugin.h
index 5e9e6a6..3b6d890 100644
--- a/bse/bseplugin.h
+++ b/bse/bseplugin.h
@@ -61,45 +61,6 @@ SfiRing*	bse_plugin_path_list_files	(gboolean        include_drivers,
 const gchar*	bse_plugin_check_load		(const gchar	*file_name);
 void            bse_plugin_make_resident        ();
 
-/* --- registration macros --- */
-
-#ifdef __cplusplus
-#define BSE_DEFINE_EXPORTS()                                                                    \
-    static ::BseExportIdentity __bse_export_identity =                                          \
-                               BSE_EXPORT_IDENTITY (__enode_chain_head);                        \
-  extern "C" {                                                                                  \
-    extern ::BseExportIdentity *const BSE_EXPORT_IDENTITY_SYMBOL;                               \
-    ::BseExportIdentity *const BSE_EXPORT_IDENTITY_SYMBOL = &__bse_export_identity;             \
-  }
-#else
-#define BSE_DEFINE_EXPORTS()                                                                    \
-  static BseExportIdentity __bse_export_identity =                                              \
-                             BSE_EXPORT_IDENTITY (__enode_chain_head);                          \
-  BseExportIdentity *const BSE_EXPORT_IDENTITY_SYMBOL = &__bse_export_identity
-#endif
-
-#define BSE_DEFINE_EXPORT_STRINGS_FUNC(FUNCNAME, BLURB, AUTHORS, LICENSE)                       \
-  static void FUNCNAME (BseExportStrings *es) {                                                 \
-    es->blurb = BLURB;                                                                          \
-    es->authors = AUTHORS;                                                                      \
-    es->license = LICENSE;                                                                      \
-}
-#define BSE_REGISTER_OBJECT_P(PREV,ObjectType,ParentType,ctgry,opt,blurb,pix,cinit,cfina,iinit) \
-  BSE_DEFINE_EXPORT_STRINGS_FUNC (__enode_##ObjectType##__fill_strings, blurb, 0, 0)            \
-  static BseExportNodeClass __enode_ ## ObjectType = {                                          \
-    { PREV, BSE_EXPORT_NODE_CLASS, #ObjectType, opt, ctgry,                                     \
-      pix, __enode_##ObjectType##__fill_strings },                                              \
-    #ParentType, sizeof (ObjectType ## Class), (GClassInitFunc) cinit,                          \
-    (GClassFinalizeFunc) cfina, sizeof (ObjectType), (GInstanceInitFunc) iinit,                 \
-  };                                                                                            \
-  static BseExportNode __enode_chain_head = {                                                   \
-    (BseExportNode*) &__enode_ ## ObjectType, BSE_EXPORT_NODE_LINK,                             \
-  }
-#define BSE_REGISTER_OBJECT(ObjectType,ParentType,ctgry,opt,blurb,pix,cinit,cfina,iinit) \
-  BSE_REGISTER_OBJECT_P (NULL, ObjectType, ParentType, ctgry, opt, blurb, pix, cinit, cfina, iinit)
-#define BSE_EXPORT_TYPE_ID(EType)       (__enode_ ## EType . node.type)
-
-
 /* --- implementation details --- */
 void		         bse_plugin_init_builtins       (void);
 extern BseExportIdentity bse_builtin_export_identity; /* sync with bsecxxplugin.hh */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]