Instantiate C struct on heap

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Aug 4 14:21:14 PDT 2016


On Thursday, 4 August 2016 at 21:02:59 UTC, TencoDK wrote:
> derelict/window.d (binding from C):
> struct sfWindow;

That kind of struct isn't supposed to be created directly... 
there should be a create window function in the library somewhere.


More information about the Digitalmars-d-learn mailing list