Instantiate C struct on heap

TencoDK via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Aug 4 14:23:50 PDT 2016


On Thursday, 4 August 2016 at 21:21:14 UTC, Adam D. Ruppe wrote:
> 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.

Thanks, by the way.


More information about the Digitalmars-d-learn mailing list