xref: /aosp_15_r20/external/deqp/framework/delibs/debase/deDefs_kc_cts.h (revision 35238bce31c2a825756842865a792f8cf7f89930)
1 #ifndef _DEDEFS_KC_CTS_H
2 #define _DEDEFS_KC_CTS_H
3 /*-------------------------------------------------------------------------
4  * drawElements Base Portability Library
5  * -------------------------------------
6  *
7  * Copyright 2024 The Android Open Source Project
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  *
21  *//*!
22  * \file
23  * \brief Deprecated definitions still used by kc-cts
24  *//*--------------------------------------------------------------------*/
25 
26 // The following definitions are deprecated.  DO NOT USE.
27 //
28 // This header is included by deDefs.h, and the definitions are guarded by the header guard used by
29 // gtfWrapper.h in KC-CTS.  This file can be removed once KC-CTS is moved away from these types.
30 #ifdef DEQP_GTF_AVAILABLE
31 typedef int8_t deInt8;
32 typedef uint8_t deUint8;
33 typedef int16_t deInt16;
34 typedef uint16_t deUint16;
35 typedef int32_t deInt32;
36 typedef uint32_t deUint32;
37 typedef int64_t deInt64;
38 typedef uint64_t deUint64;
39 typedef intptr_t deIntptr;
40 typedef uintptr_t deUintptr;
41 
42 /** Boolean type. */
43 typedef int deBool;
44 #define DE_TRUE 1  /*!< True value for deBool. */
45 #define DE_FALSE 0 /*!< False value for deBool. */
46 #endif             /* DEQP_GTF_AVAILABLE */
47 
48 #endif /* _DEDEFS_KC_CTS_H */
49