swig -dmd -c++ test.i
で test_wrap.cxx, test.d testPINVOKE.d が吐かれて
mv test_wrap.cxx test_wrap.cpp
bcc32 -tWD -e"test_wrap.dll" test_wrap.cpp test.cpp
で test_wrap.dll ができてる(ように見える)んだけど、
implib -a test_wrap.lib test_wrap.dll
で作ったライブラリがなんか、中身すっからかんなのはなぜだ!
ぜんぜんわかんない。助けてえらい人