Last change
on this file since 76447 was 63942, checked in by vboxsync, 8 years ago |
OpenGL: fixed the most annoying coding style flaws, mainly removing spaces after '(' and before ')', no semantic change
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
763 bytes
|
Line | |
---|
1 | # Copyright (c) 2001, Stanford University
|
---|
2 | # All rights reserved.
|
---|
3 | #
|
---|
4 | # See the file LICENSE.txt for information on redistributing this software.
|
---|
5 |
|
---|
6 | from __future__ import print_function
|
---|
7 | import sys
|
---|
8 |
|
---|
9 | import apiutil
|
---|
10 |
|
---|
11 |
|
---|
12 | apiutil.CopyrightC()
|
---|
13 |
|
---|
14 | print("""
|
---|
15 | /* DO NOT EDIT - generated by feedback.py */
|
---|
16 |
|
---|
17 | #ifndef FEEDBACKSPU_PROTO_H
|
---|
18 | #define FEEDBACKSPU_PROTO_H
|
---|
19 |
|
---|
20 | #include "feedbackspu.h"
|
---|
21 |
|
---|
22 | """)
|
---|
23 |
|
---|
24 | keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
|
---|
25 |
|
---|
26 | for func_name in keys:
|
---|
27 | if apiutil.FindSpecial( "feedback_state", func_name ):
|
---|
28 | return_type = apiutil.ReturnType(func_name)
|
---|
29 | params = apiutil.Parameters(func_name)
|
---|
30 | print('extern %s FEEDBACKSPU_APIENTRY feedbackspu_%s(%s);' % (return_type, func_name, apiutil.MakeDeclarationString(params)))
|
---|
31 |
|
---|
32 |
|
---|
33 | print("""
|
---|
34 | #endif
|
---|
35 | """)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.