Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I got around to adding dependency ordering for types (which has decreased my work in wrapping libav/ffmpeg significantly!). I'm not sure if or how this fits in with your other ideas (cf. Build EAR tool in #33), but if you haven't made much progress in that arena, this might be useful.
ExprUnit
type for grouping together expressions(e.g., enums), specifying dependencies, and maintaining
wrapped/output status
cache_wrapped
(subsumed above)empty_structs
is now aSet
type
declarations,enum
s, andtypealiases
are stored in thecommon_buf
, along with dependency information.Expr
s are grouped together in the sameExprUnit
Expr
s, there is oneExprUnit
perExpr
common_buf
OrderedDict
is dumped to anarray with dependencies properly ordered. (Circular
dependecies are implicitly detected, but remain.)
Note: this subsumes #96, although those changes can be backed out. I find it useful having blank lines in the output, though.