Re: Strange Issues regarding aliases

2016-06-15 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 14 June 2016 at 17:37:40 UTC, Joerg Joergonson wrote: On Tuesday, 14 June 2016 at 17:34:42 UTC, Joerg Joergonson wrote: This is how derelict does it, I simply moved them in to the class for simplicity. I mean glad: http://glad.dav1d.de/ It seems that a loader is required for

Re: Strange Issues regarding aliases

2016-06-14 Thread Alex Parrill via Digitalmars-d-learn
On Tuesday, 14 June 2016 at 17:37:40 UTC, Joerg Joergonson wrote: On Tuesday, 14 June 2016 at 17:34:42 UTC, Joerg Joergonson wrote: This is how derelict does it, I simply moved them in to the class for simplicity. I mean glad: http://glad.dav1d.de/ It seems that a loader is required for

Re: Strange Issues regarding aliases

2016-06-14 Thread Steven Schveighoffer via Digitalmars-d-learn
On 6/14/16 1:37 PM, Joerg Joergonson wrote: On Tuesday, 14 June 2016 at 17:34:42 UTC, Joerg Joergonson wrote: This is how derelict does it, I simply moved them in to the class for simplicity. I mean glad: http://glad.dav1d.de/ It seems that a loader is required for some reason and that

Re: Strange Issues regarding aliases

2016-06-14 Thread Joerg Joergonson via Digitalmars-d-learn
On Tuesday, 14 June 2016 at 17:34:42 UTC, Joerg Joergonson wrote: This is how derelict does it, I simply moved them in to the class for simplicity. I mean glad: http://glad.dav1d.de/ It seems that a loader is required for some reason and that possibly could be one or both of the problems.

Re: Strange Issues regarding aliases

2016-06-14 Thread Joerg Joergonson via Digitalmars-d-learn
This is how derelict does it, I simply moved them in to the class for simplicity. I mean glad: http://glad.dav1d.de/

Re: Strange Issues regarding aliases

2016-06-14 Thread Joerg Joergonson via Digitalmars-d-learn
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

Re: Strange Issues regarding aliases

2016-06-14 Thread Steven Schveighoffer via Digitalmars-d-learn
On 6/14/16 11:29 AM, Joerg Joergonson wrote: I have stuff like public static class fGL { nothrow @nogc extern(System) { alias CullFace = void function(tGL.Enum); alias FrontFace = void function(tGL.Enum); alias HInt = void function(tGL.Enum, tGL.Enum);

Strange Issues regarding aliases

2016-06-14 Thread Joerg Joergonson via Digitalmars-d-learn
I have stuff like public static class fGL { nothrow @nogc extern(System) { alias CullFace = void function(tGL.Enum); alias FrontFace = void function(tGL.Enum); alias HInt = void function(tGL.Enum, tGL.Enum); alias