better extension loading for the OpenGL wrapper

This commit is contained in:
Araq 2012-10-09 17:11:33 +02:00
commit cf06131dec
6 changed files with 40 additions and 10 deletions

View file

@ -111,6 +111,8 @@ type
typeNodes*, nimTypes*: int # used for type info generation
typeNodesName*, nimTypesName*: PRope # used for type info generation
labels*: natural # for generating unique module-scope names
extensionLoaders*: array['0'..'9', PRope] # special procs for the
# OpenGL wrapper
var
mainModProcs*, mainModInit*, mainDatInit*: PRope # parts of the main module