Strange Issues regarding aliases
Joerg Joergonson via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jun 14 10:19:59 PDT 2016
On Tuesday, 14 June 2016 at 16:08:03 UTC, Steven Schveighoffer
wrote:
> On 6/14/16 11:29 AM, Joerg Joergonson wrote:
>> [...]
>
> Your aliases are a bunch of function pointer types. This isn't
> what you likely want.
>
> I'm assuming you want to bring the existing functions into more
> categorized namespaces? What you need is to do this:
>
> public static struct fGL
> {
> alias CullFace = .CullFace; // or whatever the fully
> qualified name is.
>
> I don't have much experience with the opengl modules, so I
> can't be more specific.
>
> -Steve
This is how derelict does it, I simply moved them in to the class
for simplicity.
More information about the Digitalmars-d-learn
mailing list