cbindgen icon indicating copy to clipboard operation
cbindgen copied to clipboard

Apply defines to struct literal

Open youknowone opened this issue 1 year ago • 3 comments

Fix #955

youknowone avatar May 17 '24 07:05 youknowone

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.

youknowone avatar May 17 '24 10:05 youknowone

@emilio could you take another look?

youknowone avatar Sep 24 '24 12:09 youknowone

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.

youknowone avatar May 20 '25 12:05 youknowone