3
* VBox OpenGL chromium functions header
7
* Copyright (C) 2008-2010 Oracle Corporation
9
* This file is part of VirtualBox Open Source Edition (OSE), as
10
* available from http://www.virtualbox.org. This file is free software;
11
* you can redistribute it and/or modify it under the terms of the GNU
12
* General Public License (GPL) as published by the Free Software
13
* Foundation, in version 2 as it comes in the "COPYING" file of the
14
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
18
# Copyright (c) 2001, Stanford University
19
# All rights reserved.
21
# See the file LICENSE.txt for information on redistributing this software.
30
/* DO NOT EDIT - THIS FILE GENERATED BY THE cr_gl.py SCRIPT */
35
#include "cr_string.h"
36
#include "cr_version.h"
40
#pragma warning( disable: 4055 )
46
# Extern-like declarations
47
keys = apiutil.GetAllFunctions(sys.argv[1]+"/APIspec.txt")
48
for func_name in keys:
49
if "Chromium" == apiutil.Category(func_name):
51
if "VBox" == apiutil.Category(func_name):
53
if func_name == "BoundsInfoCR":
55
if "GL_chromium" == apiutil.Category(func_name):
58
return_type = apiutil.ReturnType(func_name)
59
params = apiutil.Parameters(func_name)
61
print "extern %s cr_gl%s( %s );" % (return_type, func_name,
62
apiutil.MakeDeclarationString( params ))
64
print "#endif /* __CR_GL_H__ */"