Skip to content

v0.4.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@Superbelko Superbelko released this 06 Jun 09:40
· 17 commits to master since this release

Templates related improvements, less manual edits after generation esp. manual casts, better bitfields support

New features:
Support pragma mangle on aggregates (new in D v2.097), this makes it possible to slap pragma mangle on struct/class with reserved name in D, such as std::function (previously one had to add pragma mangle to every method in it, making it practically impossible on templates as every instantiation has to be covered manually)

extern(C++, "std")
pragma(mangle, "function")
struct function_ {
 // ... 
}

Windows binaries are built with LDC2 1.2.6, MSVS 2019 16.9.10, libclang version v12.0.1