Commit graph

22 commits

Author SHA1 Message Date
the_fiddler
52678e9479 Modified CppSpecWriter to generate single-file bindings. 2011-09-26 11:18:57 +00:00
the_fiddler
2fc35f4d70 Add APIENTRY to allow calling convention definitions. 2010-12-07 01:26:11 +00:00
the_fiddler
30238a15b7 Use namespaces instead of structs, since C++ does not support partial structures (which are necessary for the core/compatibility split). 2010-12-06 22:32:47 +00:00
the_fiddler
54f940a82a * CppSpecWriter.cs: Do not use macros to define enumerations, as
this makes debugging difficult.
2010-12-06 10:26:06 +00:00
the_fiddler
cdec8f54dc * CppSpecWriter.cs: Do not allow namespaces that start with a digit. 2010-12-06 09:52:05 +00:00
the_fiddler
9d85ba0f98 * CppSpecWriter.cs: Added inclusion guards to gldefs++ header. 2010-12-06 00:50:36 +00:00
the_fiddler
1ba7a853a4 * CppSpecWriter.cs: Renamed output files to gldef++.
Added preprocessor macros for enum generation.
2010-12-06 00:46:23 +00:00
the_fiddler
4d14448bbf * CppSpecWriter.cs: Fixed indentation for #if-#endif directives. 2010-12-05 22:58:05 +00:00
the_fiddler
f9528892ae * CppSpecWriter.cs: Fixed enumeration of deprecated functions.
Fixed declaration of Init() methods.
2010-12-05 16:28:30 +00:00
the_fiddler
b2d603efa8 * CppSpecWriter.cs: Fixed namespace paths for delegate loader. 2010-12-05 16:19:49 +00:00
the_fiddler
6b0784c6ca * CppSpecWriter.cs: Replace String[] parameters by String*, as the
former is not valid C++ syntax.
2010-12-05 16:03:42 +00:00
the_fiddler
e23230de06 * CppSpecWriter.cs: Remove unnecessary transformation for namespace
separators.
2010-12-05 15:54:14 +00:00
the_fiddler
84dcb6395f * CppSpecWriter.cs: Fixed handling of return types in wrappers.
Removed [OutAttribute] from the header.
2010-12-05 15:33:09 +00:00
the_fiddler
c43b148431 * CppSpecWriter.cs: FIxed handling of enum parameters.
Moved delegates to private structures.
2010-12-05 15:26:54 +00:00
the_fiddler
c765eaeb55 * CppSpecWriter.cs: Added definitions for GL types. 2010-12-05 11:52:51 +00:00
the_fiddler
5b4df1cdaa * CppSpecWriter.cs: Move 3dfx namespace to T3dfx, since namespaces
may not start with a digit.
2010-12-05 11:32:49 +00:00
the_fiddler
441c2cc15f * CppSpecWriter.cs: Fixed declaration of function pointers. Modified
to use the delegate-wrapper paradigm, instead of exposing function
  pointers directly. This way we can rely on the compiler for overload
  resolution.
2010-12-05 10:47:06 +00:00
the_fiddler
b4834360cc * CppSpecWriter.cs: Defined Init() methods, declared all OpenGL
functions and fixed the formatting of the header.
2010-12-05 09:51:36 +00:00
the_fiddler
4a5313ad47 * CppSpecWriter.cs: Added constructor declaration. 2010-12-05 09:08:57 +00:00
the_fiddler
b3649572ea * CppSpecWriter.cs: Mark deprecated functions. 2010-12-05 08:48:44 +00:00
the_fiddler
863e2b6542 * CppSpecWriter.cs: Improved C++ output (still needs work). 2010-12-05 02:20:18 +00:00
the_fiddler
8e089cc1c3 Merged gl4 branch into trunk 2010-12-04 21:51:40 +00:00