~ubuntu-branches/ubuntu/raring/qtwebkit-source/raring-proposed

« back to all changes in this revision

Viewing changes to Source/ThirdParty/glu/gluos.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-02-18 14:24:18 UTC
  • Revision ID: package-import@ubuntu.com-20130218142418-eon0jmjg3nj438uy
Tags: upstream-2.3
ImportĀ upstreamĀ versionĀ 2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2010, Google Inc.
 
3
 * All rights reserved.
 
4
 *
 
5
 * Redistribution and use in source and binary forms, with or without
 
6
 * modification, are permitted provided that the following conditions are
 
7
 * met:
 
8
 *
 
9
 *     * Redistributions of source code must retain the above copyright
 
10
 * notice, this list of conditions and the following disclaimer.
 
11
 *     * Redistributions in binary form must reproduce the above
 
12
 * copyright notice, this list of conditions and the following disclaimer
 
13
 * in the documentation and/or other materials provided with the
 
14
 * distribution.
 
15
 *     * Neither the name of Google Inc. nor the names of its
 
16
 * contributors may be used to endorse or promote products derived from
 
17
 * this software without specific prior written permission.
 
18
 *
 
19
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 
20
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 
21
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 
22
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 
23
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 
24
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 
25
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 
26
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 
27
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 
28
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 
29
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
30
 */
 
31
 
 
32
#ifndef GLUOS_H_
 
33
#define GLUOS_H_
 
34
 
 
35
// This header provides the minimal definitions needed to compile the
 
36
// GLU tessellator sources.
 
37
#define GLAPIENTRY
 
38
 
 
39
typedef unsigned char GLboolean;
 
40
typedef double GLdouble;
 
41
typedef unsigned int GLenum;
 
42
typedef float GLfloat;
 
43
typedef void GLvoid;
 
44
 
 
45
#define gluNewTess internal_gluNewTess
 
46
#define gluDeleteTess internal_gluDeleteTess
 
47
#define gluTessProperty internal_gluTessProperty
 
48
#define gluGetTessProperty internal_gluGetTessProperty
 
49
#define gluTessNormal internal_gluTessNormal
 
50
#define gluTessCallback internal_gluTessCallback
 
51
#define gluTessVertex internal_gluTessVertex
 
52
#define gluTessBeginPolygon internal_gluTessBeginPolygon
 
53
#define gluTessBeginContour internal_gluTessBeginContour
 
54
#define gluTessEndContour internal_gluTessEndContour
 
55
#define gluTessEndPolygon internal_gluTessEndPolygon
 
56
 
 
57
#undef MIN
 
58
#undef MAX
 
59
 
 
60
#endif  // GLUOS_H_