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 13#define FOO_INTERFACE_0_0 "Foo;0.0" 14#define FOO_INTERFACE_1_0 "Foo;1.0" 15#define FOO_INTERFACE_2_0 "Foo;2.0" 16#define FOO_INTERFACE FOO_INTERFACE_2_0 17 18/** 19 * @file 20 * File Comment. */ 21 22 23/** 24 * @addtogroup Interfaces 25 * @{ 26 */ 27/* Bogus Interface Foo */ 28struct Foo_2_0 { 29 /** 30 * Comment for function x,y,z 31 */ 32 int32_t (*Bar)(int32_t x, int32_t y, int32_t z); 33}; 34 35typedef struct Foo_2_0 Foo; 36 37struct Foo_0_0 { 38 int32_t (*Bar)(int32_t x); 39}; 40 41struct Foo_1_0 { 42 int32_t (*Bar)(int32_t x, int32_t y); 43}; 44/** 45 * @} 46 */ 47 48#endif /* PPAPI_C_TEST_CGEN_RANGE_VERSIONS_H_ */ 49 50