Chromium Code Reviews

Unified Diff: ppapi/c/private/ppb_net_address_private.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: Update native_client_sdk/.../hello_world_c example for definition changes. Created 9 years 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
Index: ppapi/c/private/ppb_net_address_private.h
diff --git a/ppapi/c/private/ppb_net_address_private.h b/ppapi/c/private/ppb_net_address_private.h
index 68fbaae80344159c3eaf2df2105bc81d03860a9d..25ae0fa541994fce6ea2a0e814e06defb39d2c81 100644
--- a/ppapi/c/private/ppb_net_address_private.h
+++ b/ppapi/c/private/ppb_net_address_private.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From private/ppb_net_address_private.idl modified Wed Nov 9 12:53:35 2011. */
+/* From private/ppb_net_address_private.idl modified Thu Nov 10 10:21:43 2011. */
#ifndef PPAPI_C_PRIVATE_PPB_NET_ADDRESS_PRIVATE_H_
#define PPAPI_C_PRIVATE_PPB_NET_ADDRESS_PRIVATE_H_
@@ -47,7 +47,7 @@ PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_NetAddress_Private, 132);
* The <code>PPB_NetAddress_Private</code> interface provides operations on
* network addresses.
*/
-struct PPB_NetAddress_Private {
+struct PPB_NetAddress_Private_0_1 {
/**
* Returns PP_TRUE if the two addresses are equal (host and port).
*/
@@ -77,6 +77,8 @@ struct PPB_NetAddress_Private {
*/
void (*GetAnyAddress)(PP_Bool is_ipv6, struct PP_NetAddress_Private* addr);
};
+
+typedef struct PPB_NetAddress_Private_0_1 PPB_NetAddress_Private;
/**
* @}
*/

Powered by Google App Engine