| OLD | NEW |
| 1 #ifndef __khrplatform_h_ | 1 #ifndef __khrplatform_h_ |
| 2 #define __khrplatform_h_ | 2 #define __khrplatform_h_ |
| 3 | 3 |
| 4 /* | 4 /* |
| 5 ** Copyright (c) 2008-2009 The Khronos Group Inc. | 5 ** Copyright (c) 2008-2009 The Khronos Group Inc. |
| 6 ** | 6 ** |
| 7 ** Permission is hereby granted, free of charge, to any person obtaining a | 7 ** Permission is hereby granted, free of charge, to any person obtaining a |
| 8 ** copy of this software and/or associated documentation files (the | 8 ** copy of this software and/or associated documentation files (the |
| 9 ** "Materials"), to deal in the Materials without restriction, including | 9 ** "Materials"), to deal in the Materials without restriction, including |
| 10 ** without limitation the rights to use, copy, modify, merge, publish, | 10 ** without limitation the rights to use, copy, modify, merge, publish, |
| 11 ** distribute, sublicense, and/or sell copies of the Materials, and to | 11 ** distribute, sublicense, and/or sell copies of the Materials, and to |
| 12 ** permit persons to whom the Materials are furnished to do so, subject to | 12 ** permit persons to whom the Materials are furnished to do so, subject to |
| 13 ** the following conditions: | 13 ** the following conditions: |
| 14 ** | 14 ** |
| 15 ** The above copyright notice and this permission notice shall be included | 15 ** The above copyright notice and this permission notice shall be included |
| 16 ** in all copies or substantial portions of the Materials. | 16 ** in all copies or substantial portions of the Materials. |
| 17 ** | 17 ** |
| 18 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | 18 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 19 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | 19 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 20 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | 20 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 21 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | 21 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 22 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | 22 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 23 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | 23 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 24 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | 24 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 /* Khronos platform-specific types and definitions. | 27 /* Khronos platform-specific types and definitions. |
| 28 * | 28 * |
| 29 * $Revision: 7820 $ on $Date: 2009-04-03 13:46:26 -0700 (Fri, 03 Apr 2009) $ | 29 * $Revision: 9356 $ on $Date: 2009-10-21 02:52:25 -0700 (Wed, 21 Oct 2009) $ |
| 30 * | 30 * |
| 31 * Adopters may modify this file to suit their platform. Adopters are | 31 * Adopters may modify this file to suit their platform. Adopters are |
| 32 * encouraged to submit platform specific modifications to the Khronos | 32 * encouraged to submit platform specific modifications to the Khronos |
| 33 * group so that they can be included in future versions of this file. | 33 * group so that they can be included in future versions of this file. |
| 34 * Please submit changes by sending them to the public Khronos Bugzilla | 34 * Please submit changes by sending them to the public Khronos Bugzilla |
| 35 * (http://khronos.org/bugzilla) by filing a bug against product | 35 * (http://khronos.org/bugzilla) by filing a bug against product |
| 36 * "Khronos (general)" component "Registry". | 36 * "Khronos (general)" component "Registry". |
| 37 * | 37 * |
| 38 * A predefined template which fills in some of the bug fields can be | 38 * A predefined template which fills in some of the bug fields can be |
| 39 * reached using http://tinyurl.com/khrplatform-h-bugreport, but you | 39 * reached using http://tinyurl.com/khrplatform-h-bugreport, but you |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 * Values other than zero should be considered to be true. Therefore | 260 * Values other than zero should be considered to be true. Therefore |
| 261 * comparisons should not be made against KHRONOS_TRUE. | 261 * comparisons should not be made against KHRONOS_TRUE. |
| 262 */ | 262 */ |
| 263 typedef enum { | 263 typedef enum { |
| 264 KHRONOS_FALSE = 0, | 264 KHRONOS_FALSE = 0, |
| 265 KHRONOS_TRUE = 1, | 265 KHRONOS_TRUE = 1, |
| 266 KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM | 266 KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM |
| 267 } khronos_boolean_enum_t; | 267 } khronos_boolean_enum_t; |
| 268 | 268 |
| 269 #endif /* __khrplatform_h_ */ | 269 #endif /* __khrplatform_h_ */ |
| OLD | NEW |