Skip to content

Generating bindings for C library/ABI #158

@oysteinkrog

Description

@oysteinkrog

What is the story if I want to generate bindings for e.g. ffmpeg?
Having a "C" mode seems like a very useful thing to me, is this something that is a goal/desired? (I'm really tired of creating p/invoke stuff by hand ...)

I have not found a way to generate nice C bindings using the existing options, but I've been able to get calling convention etc. correct by modifying Parser.cpp to pass -std=gnu99.
I guess there might be some work needed other places as well to get things working, any ideas/suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions