Need extern (C) interface even though using Derelict GLFW

Mike Parker via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jan 4 00:59:05 PST 2015


On 1/4/2015 1:34 PM, WhatMeWorry wrote:

>
> Now it resizes the screen successfully, but I feel like I've failed by
> using extern (C) nothrow. Shouldn't Derelict GLFW be providing a D
> interface?
>
> Maybe GLFW callback functions can't handled through Derelict GLFW?
>
>
Derelict provides direct bindings, not wrappers. Any of the Derelict 
packages can be used as the core of a wrapper that provides a more 
D-like API, but that's beyond the scope of the Derelict project.


More information about the Digitalmars-d-learn mailing list