Commits

Jason McKesson committed 510d743

Small fixes.

  • Participants
  • Parent commits a31457b

Comments (0)

Files changed (2)

Style_Pointer_CPP.wiki

 The {{{pointer_cpp}}} style is designed to work well in C++. Where {{{pointer_c}}} maximizes interoperability with other systems (it defines global functions with the expected C names), {{{pointer_cpp}}} is primarily about making it easy for intellisense and the like to find the function definitions for easy work.
 
-With the exception of the typedefs, everything lives in a C++ namespace based on each spec: {{{gl}}}, {{{wgl}}}, and {{{glx}}}. If the {{{-prefix}}} option was provided, then the spec namespace will itself be within a namespace named for the prefix.
+With the exception of the typedefs, everything lives in a C++ namespace based on each spec: {{{gl}}}, {{{wgl}}}, and {{{glX}}} (the same names that would have gone on the front of the function names). If the {{{-prefix}}} option was provided, then the spec namespace will itself be within a namespace named for the prefix.
 
 The extension variables are in their own namespace: {{{<prefix>::<spec>::exts}}}. The type of the variable is not a mere {{{bool}}}; it is an {{{exts::LoadTest}}}. This type is convertible to bool (via the safe-bool idiom, so no need to worry about that), but it also has a function to see how many functions failed to load for that extension. It will always report that it loaded if the extension string is in the spec; the {{{exts::LoadTest::GetNumFailed()}}} will return the number of functions that failed to load (if any).
 
 
 There are a number of styles available, with documentation explaining exactly what they generate:
 
-* [[Style_Pointer_C|pointer_c]]: Used for C-style header generation.
-* [[Style_Pointer_CPP|pointer_cpp]]: Used for creating C++-style loaders, wrapping as much as possible in namespaces.
+* [[Style_Pointer_C|{{{pointer_c}}}]]: Used for C-style header generation.
+* [[Style_Pointer_CPP|{{{pointer_cpp}}}]]: Used for creating C++-style loaders, wrapping as much as possible in namespaces.
 
 ==User-created styles==