Chromium Code Reviews

Unified Diff: ppapi/c/ppb_audio_config.h

Issue 8989006: Update PPAPI IDL generator to define versioned structs, and unversioned typedef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase for line-wrap. Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « ppapi/c/ppb_audio.h ('k') | ppapi/c/ppb_core.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppb_audio_config.h
diff --git a/ppapi/c/ppb_audio_config.h b/ppapi/c/ppb_audio_config.h
index 8c2157a76fe612681cd61b96b5e2fe6f734058ec..d07778e0c7b0afcee487ddabdced6ab8feac4b52 100644
--- a/ppapi/c/ppb_audio_config.h
+++ b/ppapi/c/ppb_audio_config.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_audio_config.idl modified Mon Aug 29 10:11:34 2011. */
+/* From ppb_audio_config.idl modified Wed Oct 5 14:06:02 2011. */
#ifndef PPAPI_C_PPB_AUDIO_CONFIG_H_
#define PPAPI_C_PPB_AUDIO_CONFIG_H_
@@ -68,7 +68,7 @@ PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_AudioSampleRate, 4);
* <a href="/chrome/nativeclient/docs/audio.html">Pepper
* Audio API</a> for information on using this interface.
*/
-struct PPB_AudioConfig {
+struct PPB_AudioConfig_1_0 {
/**
* CreateStereo16bit() creates a 16 bit audio configuration resource. The
* <code>sample_frame_count</code> should be the result of calling
@@ -168,6 +168,8 @@ struct PPB_AudioConfig {
*/
uint32_t (*GetSampleFrameCount)(PP_Resource config);
};
+
+typedef struct PPB_AudioConfig_1_0 PPB_AudioConfig;
/**
* @}
*/
« no previous file with comments | « ppapi/c/ppb_audio.h ('k') | ppapi/c/ppb_core.h » ('j') | no next file with comments »

Powered by Google App Engine