Last change
on this file since 69500 was 69390, checked in by vboxsync, 7 years ago |
HostServices/SharedOpenGL: scm updates
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id Revision
|
File size:
718 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 | from __future__ import print_function
|
---|
7 | import sys
|
---|
8 |
|
---|
9 | sys.path.append( "../glapi_parser" )
|
---|
10 | import apiutil
|
---|
11 |
|
---|
12 |
|
---|
13 | apiutil.CopyrightC()
|
---|
14 |
|
---|
15 | print("""/* 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 | """)
|
---|
21 |
|
---|
22 |
|
---|
23 | #
|
---|
24 | # Print extern declarations for all special unpacker functions
|
---|
25 | #
|
---|
26 | for func_name in apiutil.AllSpecials( "unpacker" ):
|
---|
27 | if "extpack" in apiutil.ChromiumProps(func_name):
|
---|
28 | print('extern void crUnpackExtend%s(void);' % func_name)
|
---|
29 | else:
|
---|
30 | print('extern void crUnpack%s(void);' % func_name)
|
---|
31 |
|
---|
32 | print("""
|
---|
33 | #endif
|
---|
34 | """)
|
---|
35 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.