xxxxxxxxxx
struct EntryPoint
{
string moduleName;
string functionName;
bool beforeForwarding = false;
}
static immutable EntryPoint[string] entryPoints;
shared static this()
{
EntryPoint p = {moduleName:"opengl32.forward_initialization", functionName:"wglDescribePixelFormat"};
entryPoints = ["wglDescribePixelFormat" : p];
}
void main()
{
import std.stdio;
entryPoints.writeln;
}