VirtualBox

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

Last change on this file since 16255 was 15532, checked in by vboxsync, 16 years ago

crOpenGL: export to OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 677 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
8sys.path.append( "../glapi_parser" )
9import apiutil
10
11
12apiutil.CopyrightC()
13
14print """/* DO NOT EDIT! THIS CODE IS AUTOGENERATED BY unpack_extend.py */
15
16#ifndef UNPACK_EXTEND_H
17#define UNPACK_EXTEND_H 1
18
19"""
20
21
22#
23# Print extern declarations for all special unpacker functions
24#
25for func_name in apiutil.AllSpecials( "unpacker" ):
26 if "extpack" in apiutil.ChromiumProps(func_name):
27 print 'extern void crUnpackExtend%s(void);' % func_name
28 else:
29 print 'extern void crUnpack%s(void);' % func_name
30
31print """
32#endif
33"""
34
35
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