Szymon Gatner:
> That would be just it:
>
> import dchip.all;
>
> void main()
> {
> cpBody* bodies[];
> auto b = cpBodyNew(0, 0);
> bodies ~= b;
> }
>
> where dchip is pulled using dub. As described earlier, wrapping
> cpBody* in another struct or Tuple works.
Now you have to remove all imports from the code :-)
Bye,
bearophile