summaryrefslogtreecommitdiffstats
path: root/ppapi/api/pp_bool.idl
blob: 61d0b5ca60d3ce7c957160ba0343c9ee51ab9660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Copyright (c) 2011 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/* This file defines the PP_Bool enumeration for use in PPAPI C headers. */

/* The PP_Bool enum is a boolean value for use in PPAPI C headers.  The
 * standard bool type is not available to pre-C99 compilers, and is not
 * guaranteed to be compatible between C and C++, whereas the PPAPI C
 * headers can be included from C or C++ code.
 */
enum PP_Bool {
  PP_FALSE = 0,
  PP_TRUE  = 1
};