Last change
on this file since 28347 was 17269, checked in by vboxsync, 16 years ago |
export to OSE
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
724 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 | import sys
|
---|
7 |
|
---|
8 | import apiutil
|
---|
9 |
|
---|
10 |
|
---|
11 | apiutil.CopyrightC()
|
---|
12 |
|
---|
13 | print """
|
---|
14 | /* DO NOT EDIT - generated by feedback.py */
|
---|
15 |
|
---|
16 | #ifndef FEEDBACKSPU_PROTO_H
|
---|
17 | #define FEEDBACKSPU_PROTO_H
|
---|
18 |
|
---|
19 | #include "feedbackspu.h"
|
---|
20 |
|
---|
21 | """
|
---|
22 |
|
---|
23 | keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
|
---|
24 |
|
---|
25 | for func_name in keys:
|
---|
26 | if apiutil.FindSpecial( "feedback_state", func_name ):
|
---|
27 | return_type = apiutil.ReturnType(func_name)
|
---|
28 | params = apiutil.Parameters(func_name)
|
---|
29 | print 'extern %s FEEDBACKSPU_APIENTRY feedbackspu_%s( %s );' % (return_type, func_name, apiutil.MakeDeclarationString(params))
|
---|
30 |
|
---|
31 |
|
---|
32 | print """
|
---|
33 | #endif
|
---|
34 | """
|
---|
Note:
See
TracBrowser
for help on using the repository browser.