Commits

Jason McKesson committed 97eeed1

Removed bad info.
Added special adjustment for single-section roots..

Comments (0)

Files changed (2)

Command Line Options.wiki

 
 Works like {{{extfile}}}, except that the directory for the file is relative to the place where the {{{LoadGen.lua}}} file is.
 
-==Styles==
-
-Styles define how the system 
-
-The different styles have specific meaning for how code is generated by the system. These styles are:
-
-==pointer_c==
-
-This builds header/loader files that are C-compatible. Everything is global (since there's nothing non-global in C). OpenGL enumerators are #defines.
-
-The functions will be global function pointers (hence the "pointer" in the name), but because of potential name conflicts with static OpenGL loading, their function pointer names will not be their actual names (for example, "glBindTexture"'s function pointer will not be called that). Instead, the function pointer will be mangled (and prefixed); a #define will be used to effectively convert from the function pointer's actual name to user-expected name.
-
-The global function pointer names will be prefixed.
-
-Here is an example:
-==pointer_cpp==
-
-This builds header/loader files that are in a C++ style. The only globals are OpenGL typedefs (which can't be namespaced for various reasons). Everything else lies in a namespace named {{{<prefix><spec>}}}.
-
-Enumerators will be in an actual enumeration. Also, since the namespace already segregates the OpenGL stuff into its own place, there is no need to have the "gl" and "GL_" prefixes for functions and enumerators.
-
-There are certain OpenGL enums that start with characters that are forbidden for C++ enumerators. Such enumerators will be prefixed with an "_" character.
-Also, there is no #define gimmickry to get the function names right. The function pointers are always named correctly.
-
-Here is an example:
-==OpenGL Loader Generator==
+=OpenGL Loader Generator=
 
 This loader generation system is used to create OpenGL headers and loading code for your specific needs. Rather than getting every extension and core enumerator/function all in one massive header, you get only what you actually want and ask for.