Skip to content
This repository was archived by the owner on Dec 11, 2024. It is now read-only.
This repository was archived by the owner on Dec 11, 2024. It is now read-only.

How can I access current module from the source? #27

@erickskrauch

Description

@erickskrauch

Hi.

I'm developing a module that has a filter and a source. They must be interconnected. I assume that the connection should be done through the structure of the module. But I can't find any way how I can get the current module from my filter and source.

OBS has a function obs_current_module(), but it is not suitable for my task, because it only returns a pointer, which I still can't somehow cast to the Rust's module data struct.

Could you please help me with this task? I'm still just learning Rust and don't understand a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions