C++ binding issues with C++ function returning a simple POD struct.

Jerry via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 22 07:04:06 PDT 2017


Note that you also probably need extern(C++) on the struct ImVec2.

https://github.com/ParticlePeter/imgui_lib/blob/master/source/imgui/types.d#L84


More information about the Digitalmars-d-learn mailing list