VirtualBox

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

最後變更 在這個檔案從37624是 17269,由 vboxsync 提交於 16 年 前

export to OSE

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 724 位元組
 
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"""
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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