VirtualBox

source: vbox/trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_extend.py@ 78086

最後變更 在這個檔案從78086是 78086,由 vboxsync 提交於 6 年 前

GuestHost/OpenGL,HostServices/SharedOpenGL: More Windows build fixes

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id Revision
檔案大小: 787 位元組
 
1# Copyright (c) 2001, Stanford University
2# All rights reserved.
3#
4# See the file LICENSE.txt for information on redistributing this software.
5
6from __future__ import print_function
7import sys
8
9sys.path.append( "../glapi_parser" )
10import apiutil
11
12
13apiutil.CopyrightC()
14
15print("""/* DO NOT EDIT! THIS CODE IS AUTOGENERATED BY unpack_extend.py */
16
17#ifndef UNPACK_EXTEND_H
18#define UNPACK_EXTEND_H 1
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24""")
25
26
27#
28# Print extern declarations for all special unpacker functions
29#
30for func_name in apiutil.AllSpecials( "unpacker" ):
31 if "extpack" in apiutil.ChromiumProps(func_name):
32 print('extern void crUnpackExtend%s(void);' % func_name)
33 else:
34 print('extern void crUnpack%s(void);' % func_name)
35
36print("""
37#ifdef __cplusplus
38}
39#endif
40
41#endif
42""")
43
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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