Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pipewire pipewire
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 584
    • Issues 584
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PipeWirePipeWire
  • pipewirepipewire
  • Issues
  • #264
Closed
Open
Issue created Aug 09, 2020 by Tom Wagner@ryuukyuMaintainer

Inline functions can't be called with FFI

Hello,
I am trying to use Pipewire from Rust via its Foreign Function Interface.
Unfortunately, there are some functions like pw_core_get_registry that I can not call because they are in the header and therefore not in the .so to link to.
As they also use a lot of deeply nested macros, they seem pretty annoying to reimplement in another language.
Is there a reason these functions are marked inline and in the header, or would you consider moving them into a source file?

Assignee
Assign to
Time tracking