atilaneves / dpp

Directly include C headers in D source code
Boost Software License 1.0
230 stars 31 forks source link

libvirt #174

Open Laeeth opened 5 years ago

Laeeth commented 5 years ago

But how to make an Anonymous_124 when the name will change.

../stdlib/extra/source/kaleidic/sil/std/extra/sys/libvirt.d(4654,17): Error: function kaleidic.sil.std.extra.sys.libvirt.VirtNetwork.getXML(_Anonymous_124 flags) is not callable using argument types (int)
../stdlib/extra/source/kaleidic/sil/std/extra/sys/libvirt.d(4654,17):        cannot pass argument 0 of type int to parameter _Anonymous_124 flags
problem registering implicit constructor for WorkbookOpen
/opt/ldc2-1.13.0-linux-x86_64/bin/ldc2 failed with exit code 1.
➜
Laeeth commented 5 years ago

I know how to make one of course, but it's not particularly pleasant to use dpp vs alternatives.