VirtualBox

source: vbox/trunk/src/VBox/Additions/common/crOpenGL/feedback/feedbackspu_proto.py@ 29041

Last change on this file since 29041 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
6import sys
7
8import apiutil
9
10
11apiutil.CopyrightC()
12
13print """
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
23keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
24
25for 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
32print """
33#endif
34"""
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette