cbindgen
cbindgen copied to clipboard
Apply defines to struct literal
Fix #955
I didn't push newline/indent fix not to break test yet. Please let me know if the approach is okay. Then I will finish the whitespace work.
@emilio could you take another look?
Though #989 fixed the similar case to #955 for modern C++ using constexpr, this patch using #define is not finished yet.
I am not interested in finishing this PR anymore because #989 is enough for my case. Please feel free to take it if anyone is interested in it.