mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 12:40:31 +00:00
module: remove CAST_MODULE
as module.deleter no longer exist, this should not be required
This commit is contained in:
@@ -53,11 +53,6 @@
|
||||
* s->mod.priv_data = s; // optional
|
||||
* module_register(&s->mod, s->parent);
|
||||
* ```
|
||||
*
|
||||
* @note
|
||||
* Struct module should be first inside the struct in order to be able to call
|
||||
* @ref CAST_MODULE to it (however, it is currently strictly required only for
|
||||
* @ref tx and @ref video_compress_info modules).
|
||||
*/
|
||||
|
||||
#ifndef MODULE_H_
|
||||
@@ -191,8 +186,6 @@ struct module *get_parent_module(struct module *node);
|
||||
void dump_tree(struct module *root_node, int indent);
|
||||
void dump_parents(struct module *node);
|
||||
|
||||
#define CAST_MODULE(x) ((struct module *) x)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user