1. Jason McKesson
  2. glLoadGen
  3. Issues
Issue #5 resolved

Add a pointer_cpp style

Jason McKesson
repo owner created an issue

Add a C++ equivalent to the pointer_c style. It should provide the following:

  • Wrap everything except the typedefs in a namespace, bound to the prefix.

  • Enums are not prefixed with {{{(W)GL(X)_}}}; that's what namespaces are for.

  • Enums are actual enumerators.

  • Functions are not prefixed with {{{(w)gl(X)}}}.

  • Function pointers are directly exposed (rather than mangled and #defined into place as with {{{pointer_c}}}). That way, intellisense and other code completion works better.