Last change
on this file since 69498 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:
739 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 | import pickle;
|
---|
9 | import types;
|
---|
10 | import string;
|
---|
11 | import re;
|
---|
12 |
|
---|
13 | sys.path.append( "../opengl_stub" )
|
---|
14 |
|
---|
15 | import stub_common;
|
---|
16 |
|
---|
17 | parsed_file = open( "../glapi_parser/gl_header.parsed", "rb" )
|
---|
18 | gl_mapping = pickle.load( parsed_file )
|
---|
19 |
|
---|
20 | stub_common.CopyrightC()
|
---|
21 |
|
---|
22 | print("""#ifndef CR_UNPACKFUNCTIONS_H
|
---|
23 | #define CR_UNPACKFUNCTIONS_H
|
---|
24 | """)
|
---|
25 |
|
---|
26 | for func_name in sorted(gl_mapping.keys()):
|
---|
27 | ( return_type, arg_names, arg_types ) = gl_mapping[func_name]
|
---|
28 | print('void crUnpack%s();' %( func_name ))
|
---|
29 | print('void crUnpackExtend();')
|
---|
30 | print('\n#endif /* CR_UNPACKFUNCTIONS_H */')
|
---|
Note:
See
TracBrowser
for help on using the repository browser.