/*
* Copyright 2011 The Chromium Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/**
* This file will test that the IDL snippet matches the comment.
*/
/* typedef enum { A = 1, B = 2, C = 3, D = A + B, E = ~D } et1; */
enum et1 { A=1, B=2, C=3, D=A+B, E=~D };
/* typedef int32_t i; */
typedef int32_t i;
/* typedef int32_t i2[3]; */
typedef int32_t[3] i2;
/* typedef int32_t (*i_func)(void); */
typedef int32_t i_func();
/* typedef int32_t (*i_func_i)(int32_t i); */
typedef int32_t i_func_i([in] int32_t i);
/* typedef et1 et4[4]; */
typedef et1[4] et4;
/*
* typedef int8_t (*PPB_Audio_Callback)(const void* sample_buffer,
* uint32_t buffer_size_in_bytes,
* const void* user_data);
*/
typedef int8_t PPB_Audio_Callback([in] mem_t sample_buffer,
[in] uint32_t buffer_size_in_bytes,
[in] mem_t user_data);