mirror of https://github.com/mosra/magnum.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
411 B
20 lines
411 B
@require(passthru, functions, enums, options, version, extensions) |
|
#include "flextGL.h" |
|
|
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
@for category,funcs in functions: |
|
@if len(funcs) > 0 and category not in ['VERSION_1_0', 'VERSION_1_1']: |
|
|
|
/* GL_@category */ |
|
@for f in funcs: |
|
FLEXTGL_EXPORT @f.returntype\ |
|
(APIENTRY *flextgl@f.name)(@f.param_type_list_string()) = nullptr; |
|
@end |
|
@end |
|
@end |
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif
|
|
|