Contributor
Prerak Mann

Generating Dart FFI bindings from C header Files


Mentors
jonasfj, Daco Harkes
Organization
Dart

Writing dart FFI bindings is cumbersome and prone to human error, especially across different versions. A tool that will generate dart bindings directly from C header files is needed. Such tools already exist for other languages like Kotlin’s CInterop, PyAutoC, Java’s Jextract (from project Panama, under progress), etc.

Basic Project Details:

  • Input : Configurations, (path to the C header files, dynamic library, etc)
  • Output : Generated dart bindings - “Structs, Constants, Function Signatures, and Bindings”