1/* Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 */
5
6/* From test_cgen_range/versions.idl modified Wed Nov 21 15:18:23 2012. */
7
8#ifndef PPAPI_C_TEST_CGEN_RANGE_VERSIONS_H_
9#define PPAPI_C_TEST_CGEN_RANGE_VERSIONS_H_
10
11#include "ppapi/c/pp_macros.h"
12#include "ppapi/c/test_cgen_range/dev_channel_interface.h"
13
14#define FOO_INTERFACE_0_0 "Foo;0.0"
15#define FOO_INTERFACE_1_0 "Foo;1.0"
16#define FOO_INTERFACE_2_0 "Foo;2.0"
17#define FOO_INTERFACE FOO_INTERFACE_2_0
18
19/**
20 * @file
21 * File Comment. */
22
23
24/**
25 * @addtogroup Interfaces
26 * @{
27 */
28/* Bogus Interface Foo */
29struct Foo_2_0 {
30  /**
31   * Comment for function x,y,z
32   */
33  int32_t (*Bar)(int32_t x, int32_t y, int32_t z);
34};
35
36typedef struct Foo_2_0 Foo;
37
38struct Foo_0_0 {
39  int32_t (*Bar)(int32_t x);
40};
41
42struct Foo_1_0 {
43  int32_t (*Bar)(int32_t x, int32_t y);
44};
45/**
46 * @}
47 */
48
49#endif  /* PPAPI_C_TEST_CGEN_RANGE_VERSIONS_H_ */
50
51