filleduchaos / dart-bindgen

An experimental library/tool for generating Dart interfaces from header files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor clang_plugin

filleduchaos opened this issue · comments

commented

The code in clang_plugin/src/plugin.c is truly hideous and needs to be refactored for sanity's sake.

I was so preoccupied with whether I could, I didn't stop to think whether I should.

commented

Aims:

  • Better pseudo-exceptions, abstracted away as much as possible
  • Move helpers to their own file
  • Move un-wrappers for each declaration type to their own files