projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adapt plugin system to use unified reference counting
[babeltrace.git]
/
include
/
babeltrace
/
plugin
/
plugin-internal.h
diff --git
a/include/babeltrace/plugin/plugin-internal.h
b/include/babeltrace/plugin/plugin-internal.h
index 96aa692a72da7dfea0ddab8f586f3974c5e468fb..3b60ea2f83e275edd1846a180db8c0134ecb093e 100644
(file)
--- a/
include/babeltrace/plugin/plugin-internal.h
+++ b/
include/babeltrace/plugin/plugin-internal.h
@@
-31,6
+31,7
@@
#include <babeltrace/ref-internal.h>
#include <babeltrace/plugin/component.h>
#include <babeltrace/plugin/plugin.h>
#include <babeltrace/ref-internal.h>
#include <babeltrace/plugin/component.h>
#include <babeltrace/plugin/plugin.h>
+#include <babeltrace/object-internal.h>
#include <gmodule.h>
/**
#include <gmodule.h>
/**
@@
-41,10
+42,10
@@
* reference to their plugin.
*
* This ensures that a plugin's library is not closed while it is being used
* reference to their plugin.
*
* This ensures that a plugin's library is not closed while it is being used
- * even if the bt_component_factory
which created its components
is destroyed.
+ * even if the bt_component_factory
, which created its components,
is destroyed.
*/
struct bt_plugin {
*/
struct bt_plugin {
- struct bt_
ref ref
;
+ struct bt_
object base
;
const char *name;
const char *author;
const char *license;
const char *name;
const char *author;
const char *license;
@@
-60,10
+61,4
@@
BT_HIDDEN
enum bt_component_status bt_plugin_register_component_classes(
struct bt_plugin *plugin, struct bt_component_factory *factory);
enum bt_component_status bt_plugin_register_component_classes(
struct bt_plugin *plugin, struct bt_component_factory *factory);
-BT_HIDDEN
-void bt_plugin_get(struct bt_plugin *plugin);
-
-BT_HIDDEN
-void bt_plugin_put(struct bt_plugin *plugin);
-
#endif /* BABELTRACE_PLUGIN_COMPONENT_CLASS_INTERNAL_H */
#endif /* BABELTRACE_PLUGIN_COMPONENT_CLASS_INTERNAL_H */
This page took
0.028639 seconds
and
4
git commands to generate.