diff options
40 files changed, 86 insertions, 40 deletions
diff --git a/ppapi/c/dev/ppb_buffer_dev.h b/ppapi/c/dev/ppb_buffer_dev.h index 49252d6..5a65fbc 100644 --- a/ppapi/c/dev/ppb_buffer_dev.h +++ b/ppapi/c/dev/ppb_buffer_dev.h @@ -10,7 +10,8 @@ #include "ppapi/c/pp_resource.h" #include "ppapi/c/pp_stdint.h" -#define PPB_BUFFER_DEV_INTERFACE "PPB_Buffer(Dev);0.4" +#define PPB_BUFFER_DEV_INTERFACE_0_4 "PPB_Buffer(Dev);0.4" +#define PPB_BUFFER_DEV_INTERFACE PPB_BUFFER_DEV_INTERFACE_0_4 struct PPB_Buffer_Dev { // Allocates a buffer of the given size in bytes. The return value will have diff --git a/ppapi/c/dev/ppb_char_set_dev.h b/ppapi/c/dev/ppb_char_set_dev.h index 6aca03715..26c3b2e 100644 --- a/ppapi/c/dev/ppb_char_set_dev.h +++ b/ppapi/c/dev/ppb_char_set_dev.h @@ -10,7 +10,8 @@ #include "ppapi/c/pp_stdint.h" #include "ppapi/c/pp_var.h" -#define PPB_CHAR_SET_DEV_INTERFACE "PPB_CharSet(Dev);0.4" +#define PPB_CHAR_SET_DEV_INTERFACE_0_4 "PPB_CharSet(Dev);0.4" +#define PPB_CHAR_SET_DEV_INTERFACE PPB_CHAR_SET_DEV_INTERFACE_0_4 // Specifies the error behavior for the character set conversion functions. // This will affect two cases: where the input is not encoded correctly, and diff --git a/ppapi/c/dev/ppb_console_dev.h b/ppapi/c/dev/ppb_console_dev.h index da51dbe..2a57ede 100644 --- a/ppapi/c/dev/ppb_console_dev.h +++ b/ppapi/c/dev/ppb_console_dev.h @@ -8,7 +8,8 @@ #include "ppapi/c/pp_instance.h" #include "ppapi/c/pp_var.h" -#define PPB_CONSOLE_DEV_INTERFACE "PPB_Console(Dev);0.1" +#define PPB_CONSOLE_DEV_INTERFACE_0_1 "PPB_Console(Dev);0.1" +#define PPB_CONSOLE_DEV_INTERFACE PPB_CONSOLE_DEV_INTERFACE_0_1 typedef enum { PP_LOGLEVEL_TIP = 0, diff --git a/ppapi/c/dev/ppb_context_3d_dev.h b/ppapi/c/dev/ppb_context_3d_dev.h index 11a3b66..4bd13e7 100644 --- a/ppapi/c/dev/ppb_context_3d_dev.h +++ b/ppapi/c/dev/ppb_context_3d_dev.h @@ -12,7 +12,8 @@ #include "ppapi/c/pp_instance.h" #include "ppapi/c/pp_resource.h" -#define PPB_CONTEXT_3D_DEV_INTERFACE "PPB_Context3D(Dev);0.1" +#define PPB_CONTEXT_3D_DEV_INTERFACE_0_1 "PPB_Context3D(Dev);0.1" +#define PPB_CONTEXT_3D_DEV_INTERFACE PPB_CONTEXT_3D_DEV_INTERFACE_0_1 struct PPB_Context3D_Dev { // Creates and initializes a rendering context and returns a handle to it. diff --git a/ppapi/c/dev/ppb_context_3d_trusted_dev.h b/ppapi/c/dev/ppb_context_3d_trusted_dev.h index f8a0d9c..afc860f 100644 --- a/ppapi/c/dev/ppb_context_3d_trusted_dev.h +++ b/ppapi/c/dev/ppb_context_3d_trusted_dev.h @@ -11,7 +11,9 @@ #include "ppapi/c/pp_resource.h" #include "ppapi/c/pp_stdint.h" -#define PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE "PPB_Context3DTrusted(Dev);0.3" +#define PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE_0_3 "PPB_Context3DTrusted(Dev);0.3" +#define PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE \ + PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE_0_3 typedef enum { kNoError, diff --git a/ppapi/c/dev/ppb_crypto_dev.h b/ppapi/c/dev/ppb_crypto_dev.h index 266a782..27ef6ac9 100644 --- a/ppapi/c/dev/ppb_crypto_dev.h +++ b/ppapi/c/dev/ppb_crypto_dev.h @@ -8,7 +8,8 @@ #include "ppapi/c/pp_bool.h" #include "ppapi/c/pp_stdint.h" -#define PPB_CRYPTO_DEV_INTERFACE "PPB_Crypto(Dev);0.1" +#define PPB_CRYPTO_DEV_INTERFACE_0_1 "PPB_Crypto(Dev);0.1" +#define PPB_CRYPTO_DEV_INTERFACE PPB_CRYPTO_DEV_INTERFACE_0_1 struct PPB_Crypto_Dev { /** diff --git a/ppapi/c/dev/ppb_cursor_control_dev.h b/ppapi/c/dev/ppb_cursor_control_dev.h index 67e558d..e401ef1 100644 --- a/ppapi/c/dev/ppb_cursor_control_dev.h +++ b/ppapi/c/dev/ppb_cursor_control_dev.h @@ -11,7 +11,8 @@ #include "ppapi/c/pp_point.h" #include "ppapi/c/pp_resource.h" -#define PPB_CURSOR_CONTROL_DEV_INTERFACE "PPB_CursorControl(Dev);0.4" +#define PPB_CURSOR_CONTROL_DEV_INTERFACE_0_4 "PPB_CursorControl(Dev);0.4" +#define PPB_CURSOR_CONTROL_DEV_INTERFACE PPB_CURSOR_CONTROL_DEV_INTERFACE_0_4 struct PPB_CursorControl_Dev { // Set a cursor. If "type" is PP_CURSORTYPE_CUSTOM, then "custom_image" diff --git a/ppapi/c/dev/ppb_directory_reader_dev.h b/ppapi/c/dev/ppb_directory_reader_dev.h index 21c9824..41b7299 100644 --- a/ppapi/c/dev/ppb_directory_reader_dev.h +++ b/ppapi/c/dev/ppb_directory_reader_dev.h @@ -19,7 +19,8 @@ struct PP_DirectoryEntry_Dev { }; PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_DirectoryEntry_Dev, 8); -#define PPB_DIRECTORYREADER_DEV_INTERFACE "PPB_DirectoryReader(Dev);0.4" +#define PPB_DIRECTORYREADER_DEV_INTERFACE_0_4 "PPB_DirectoryReader(Dev);0.4" +#define PPB_DIRECTORYREADER_DEV_INTERFACE PPB_DIRECTORYREADER_DEV_INTERFACE_0_4 struct PPB_DirectoryReader_Dev { // Creates a DirectoryReader for the given directory. Upon success, the diff --git a/ppapi/c/dev/ppb_file_chooser_dev.h b/ppapi/c/dev/ppb_file_chooser_dev.h index ebaa17b..e0c010f 100644 --- a/ppapi/c/dev/ppb_file_chooser_dev.h +++ b/ppapi/c/dev/ppb_file_chooser_dev.h @@ -31,7 +31,8 @@ struct PP_FileChooserOptions_Dev { const char* accept_mime_types; }; -#define PPB_FILECHOOSER_DEV_INTERFACE "PPB_FileChooser(Dev);0.3" +#define PPB_FILECHOOSER_DEV_INTERFACE_0_3 "PPB_FileChooser(Dev);0.3" +#define PPB_FILECHOOSER_DEV_INTERFACE PPB_FILECHOOSER_DEV_INTERFACE_0_3 struct PPB_FileChooser_Dev { // Creates a file chooser dialog with the specified options. The chooser is diff --git a/ppapi/c/dev/ppb_file_io_dev.h b/ppapi/c/dev/ppb_file_io_dev.h index 0758ca9..0b08712 100644 --- a/ppapi/c/dev/ppb_file_io_dev.h +++ b/ppapi/c/dev/ppb_file_io_dev.h @@ -39,7 +39,8 @@ typedef enum { } PP_FileOpenFlags_Dev; PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FileOpenFlags_Dev, 4); -#define PPB_FILEIO_DEV_INTERFACE "PPB_FileIO(Dev);0.3" +#define PPB_FILEIO_DEV_INTERFACE_0_3 "PPB_FileIO(Dev);0.3" +#define PPB_FILEIO_DEV_INTERFACE PPB_FILEIO_DEV_INTERFACE_0_3 // Use this interface to operate on a regular file (PP_FileType_Regular). struct PPB_FileIO_Dev { diff --git a/ppapi/c/dev/ppb_file_io_trusted_dev.h b/ppapi/c/dev/ppb_file_io_trusted_dev.h index a4cee8c..d3f7c38 100644 --- a/ppapi/c/dev/ppb_file_io_trusted_dev.h +++ b/ppapi/c/dev/ppb_file_io_trusted_dev.h @@ -10,7 +10,8 @@ struct PP_CompletionCallback; -#define PPB_FILEIOTRUSTED_DEV_INTERFACE "PPB_FileIOTrusted(Dev);0.2" +#define PPB_FILEIOTRUSTED_DEV_INTERFACE_0_2 "PPB_FileIOTrusted(Dev);0.2" +#define PPB_FILEIOTRUSTED_DEV_INTERFACE PPB_FILEIOTRUSTED_DEV_INTERFACE_0_2 // Available only to trusted implementations. struct PPB_FileIOTrusted_Dev { diff --git a/ppapi/c/dev/ppb_file_ref_dev.h b/ppapi/c/dev/ppb_file_ref_dev.h index ac13bbc..61e60dc 100644 --- a/ppapi/c/dev/ppb_file_ref_dev.h +++ b/ppapi/c/dev/ppb_file_ref_dev.h @@ -13,7 +13,8 @@ struct PP_CompletionCallback; -#define PPB_FILEREF_DEV_INTERFACE "PPB_FileRef(Dev);0.7" +#define PPB_FILEREF_DEV_INTERFACE_0_7 "PPB_FileRef(Dev);0.7" +#define PPB_FILEREF_DEV_INTERFACE PPB_FILEREF_DEV_INTERFACE_0_7 // A FileRef is a "weak pointer" to a file in a file system. It contains a // PP_FileSystemType identifier and a file path string. diff --git a/ppapi/c/dev/ppb_file_system_dev.h b/ppapi/c/dev/ppb_file_system_dev.h index 2139712..f64236c 100644 --- a/ppapi/c/dev/ppb_file_system_dev.h +++ b/ppapi/c/dev/ppb_file_system_dev.h @@ -14,7 +14,8 @@ struct PP_CompletionCallback; -#define PPB_FILESYSTEM_DEV_INTERFACE "PPB_FileSystem(Dev);0.5" +#define PPB_FILESYSTEM_DEV_INTERFACE_0_5 "PPB_FileSystem(Dev);0.5" +#define PPB_FILESYSTEM_DEV_INTERFACE PPB_FILESYSTEM_DEV_INTERFACE_0_5 struct PPB_FileSystem_Dev { /** Creates a filesystem object of the given type. */ diff --git a/ppapi/c/dev/ppb_find_dev.h b/ppapi/c/dev/ppb_find_dev.h index 9a1b8b6..bdaec7fa 100644 --- a/ppapi/c/dev/ppb_find_dev.h +++ b/ppapi/c/dev/ppb_find_dev.h @@ -9,7 +9,8 @@ #include "ppapi/c/pp_instance.h" #include "ppapi/c/pp_stdint.h" -#define PPB_FIND_DEV_INTERFACE "PPB_Find(Dev);0.3" +#define PPB_FIND_DEV_INTERFACE_0_3 "PPB_Find(Dev);0.3" +#define PPB_FIND_DEV_INTERFACE PPB_FIND_DEV_INTERFACE_0_3 struct PPB_Find_Dev { // Updates the number of find results for the current search term. If diff --git a/ppapi/c/dev/ppb_font_dev.h b/ppapi/c/dev/ppb_font_dev.h index e15c11d..8e45bb9 100644 --- a/ppapi/c/dev/ppb_font_dev.h +++ b/ppapi/c/dev/ppb_font_dev.h @@ -12,7 +12,8 @@ #include "ppapi/c/pp_stdint.h" #include "ppapi/c/pp_var.h" -#define PPB_FONT_DEV_INTERFACE "PPB_Font(Dev);0.5" +#define PPB_FONT_DEV_INTERFACE_0_5 "PPB_Font(Dev);0.5" +#define PPB_FONT_DEV_INTERFACE PPB_FONT_DEV_INTERFACE_0_5 struct PP_Point; struct PP_Rect; diff --git a/ppapi/c/dev/ppb_font_list_dev.h b/ppapi/c/dev/ppb_font_list_dev.h index 533c960..1c1b670 100644 --- a/ppapi/c/dev/ppb_font_list_dev.h +++ b/ppapi/c/dev/ppb_font_list_dev.h @@ -10,7 +10,8 @@ #include "ppapi/c/pp_resource.h" #include "ppapi/c/pp_var.h" -#define PPB_FONT_LIST_DEV_INTERFACE "PPB_FontList(Dev);0.1" +#define PPB_FONT_LIST_DEV_INTERFACE_0_1 "PPB_FontList(Dev);0.1" +#define PPB_FONT_LIST_DEV_INTERFACE PPB_FONT_LIST_DEV_INTERFACE_0_1 struct PPB_FontList_Dev { /* Creates a font list resource. By default, the list will be empty, you must diff --git a/ppapi/c/dev/ppb_fullscreen_dev.h b/ppapi/c/dev/ppb_fullscreen_dev.h index ed91ed1..b893182 100644 --- a/ppapi/c/dev/ppb_fullscreen_dev.h +++ b/ppapi/c/dev/ppb_fullscreen_dev.h @@ -10,7 +10,8 @@ #include "ppapi/c/pp_size.h" #include "ppapi/c/pp_stdint.h" -#define PPB_FULLSCREEN_DEV_INTERFACE "PPB_Fullscreen(Dev);0.4" +#define PPB_FULLSCREEN_DEV_INTERFACE_0_4 "PPB_Fullscreen(Dev);0.4" +#define PPB_FULLSCREEN_DEV_INTERFACE PPB_FULLSCREEN_DEV_INTERFACE_0_4 // Use this interface to change a plugin instance to fullscreen mode. struct PPB_Fullscreen_Dev { diff --git a/ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h b/ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h index 119ebf1..cc13b6d 100644 --- a/ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h +++ b/ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h @@ -8,7 +8,10 @@ #include "ppapi/c/pp_resource.h" #include "ppapi/c/dev/ppb_opengles_dev.h" -#define PPB_GLES_CHROMIUM_TEXTURE_MAPPING_DEV_INTERFACE "PPB_GLESChromiumTextureMapping(Dev);0.1" +#define PPB_GLES_CHROMIUM_TEXTURE_MAPPING_DEV_INTERFACE_0_1 \ + "PPB_GLESChromiumTextureMapping(Dev);0.1" +#define PPB_GLES_CHROMIUM_TEXTURE_MAPPING_DEV_INTERFACE \ + PPB_GLES_CHROMIUM_TEXTURE_MAPPING_DEV_INTERFACE_0_1 struct PPB_GLESChromiumTextureMapping_Dev { // Maps the sub-image of a texture. 'level', 'xoffset', 'yoffset', 'width', diff --git a/ppapi/c/dev/ppb_graphics_3d_dev.h b/ppapi/c/dev/ppb_graphics_3d_dev.h index ce1ad9e..63826c8 100644 --- a/ppapi/c/dev/ppb_graphics_3d_dev.h +++ b/ppapi/c/dev/ppb_graphics_3d_dev.h @@ -31,7 +31,8 @@ // // Shutdown. // core->ReleaseResource(context); -#define PPB_GRAPHICS_3D_DEV_INTERFACE "PPB_Graphics3D(Dev);0.4" +#define PPB_GRAPHICS_3D_DEV_INTERFACE_0_4 "PPB_Graphics3D(Dev);0.4" +#define PPB_GRAPHICS_3D_DEV_INTERFACE PPB_GRAPHICS_3D_DEV_INTERFACE_0_4 struct PPB_Graphics3D_Dev { // TODO(alokp): Do these functions need module argument? diff --git a/ppapi/c/dev/ppb_opengles_dev.h b/ppapi/c/dev/ppb_opengles_dev.h index f4fa5b2..3e19134 100644 --- a/ppapi/c/dev/ppb_opengles_dev.h +++ b/ppapi/c/dev/ppb_opengles_dev.h @@ -31,7 +31,11 @@ typedef unsigned short GLushort; typedef int GLclampx; #endif // __gl2_h_ -#define PPB_OPENGLES2_DEV_INTERFACE "PPB_OpenGLES(Dev);2.0" +// TODO(brettw) this string should be PPB_OpenGLES2;1.0 when this is frozen. +// The 2.0 is trying to describe the version of OpenGL ES which is different +// than the Pepper interface version. +#define PPB_OPENGLES2_DEV_INTERFACE_0_1 "PPB_OpenGLES(Dev);2.0" +#define PPB_OPENGLES2_DEV_INTERFACE PPB_OPENGLES2_DEV_INTERFACE_0_1 struct PPB_OpenGLES2_Dev { void (*ActiveTexture)(PP_Resource context, GLenum texture); diff --git a/ppapi/c/dev/ppb_scrollbar_dev.h b/ppapi/c/dev/ppb_scrollbar_dev.h index 6df7683..774fa95 100644 --- a/ppapi/c/dev/ppb_scrollbar_dev.h +++ b/ppapi/c/dev/ppb_scrollbar_dev.h @@ -21,7 +21,8 @@ typedef enum { } PP_ScrollBy_Dev; PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_ScrollBy_Dev, 4); -#define PPB_SCROLLBAR_DEV_INTERFACE "PPB_Scrollbar(Dev);0.3" +#define PPB_SCROLLBAR_DEV_INTERFACE_0_3 "PPB_Scrollbar(Dev);0.3" +#define PPB_SCROLLBAR_DEV_INTERFACE PPB_SCROLLBAR_DEV_INTERFACE_0_3 // The interface for a scrollbar. A scrollbar is a widget, so the functions // in PPB_Widget can also be used with scrollbar objects. diff --git a/ppapi/c/dev/ppb_surface_3d_dev.h b/ppapi/c/dev/ppb_surface_3d_dev.h index d8f58e5..1eb5057 100644 --- a/ppapi/c/dev/ppb_surface_3d_dev.h +++ b/ppapi/c/dev/ppb_surface_3d_dev.h @@ -12,7 +12,8 @@ #include "ppapi/c/pp_instance.h" #include "ppapi/c/pp_resource.h" -#define PPB_SURFACE_3D_DEV_INTERFACE "PPB_Surface3D(Dev);0.1" +#define PPB_SURFACE_3D_DEV_INTERFACE_0_1 "PPB_Surface3D(Dev);0.1" +#define PPB_SURFACE_3D_DEV_INTERFACE PPB_SURFACE_3D_DEV_INTERFACE_0_1 struct PPB_Surface3D_Dev { // Creates a render surface and returns a handle to it. diff --git a/ppapi/c/dev/ppb_testing_dev.h b/ppapi/c/dev/ppb_testing_dev.h index 0a6a6c9..ec70102 100644 --- a/ppapi/c/dev/ppb_testing_dev.h +++ b/ppapi/c/dev/ppb_testing_dev.h @@ -12,7 +12,8 @@ struct PP_Point; -#define PPB_TESTING_DEV_INTERFACE "PPB_Testing(Dev);0.6" +#define PPB_TESTING_DEV_INTERFACE_0_6 "PPB_Testing(Dev);0.6" +#define PPB_TESTING_DEV_INTERFACE PPB_TESTING_DEV_INTERFACE_0_6 // This interface contains functions used for unit testing. Do not use in // production code. They are not guaranteed to be available in normal plugin diff --git a/ppapi/c/dev/ppb_transport_dev.h b/ppapi/c/dev/ppb_transport_dev.h index fad88f9..5b303e2 100644 --- a/ppapi/c/dev/ppb_transport_dev.h +++ b/ppapi/c/dev/ppb_transport_dev.h @@ -13,7 +13,8 @@ #include "ppapi/c/pp_stdint.h" #include "ppapi/c/pp_var.h" -#define PPB_TRANSPORT_DEV_INTERFACE "PPB_Transport;0.4" +#define PPB_TRANSPORT_DEV_INTERFACE_0_4 "PPB_Transport;0.4" +#define PPB_TRANSPORT_DEV_INTERFACE PPB_TRANSPORT_DEV_INTERFACE_0_4 struct PPB_Transport_Dev { // Creates a new transport object with the specified name using the diff --git a/ppapi/c/dev/ppb_url_util_dev.h b/ppapi/c/dev/ppb_url_util_dev.h index 8a79bb1..fbdb5480 100644 --- a/ppapi/c/dev/ppb_url_util_dev.h +++ b/ppapi/c/dev/ppb_url_util_dev.h @@ -11,7 +11,8 @@ #include "ppapi/c/pp_stdint.h" #include "ppapi/c/pp_var.h" -#define PPB_URLUTIL_DEV_INTERFACE "PPB_URLUtil(Dev);0.6" +#define PPB_URLUTIL_DEV_INTERFACE_0_6 "PPB_URLUtil(Dev);0.6" +#define PPB_URLUTIL_DEV_INTERFACE PPB_URLUTIL_DEV_INTERFACE_0_6 // A component specifies the range of the part of the URL. The begin specifies // the index into the string of the first character of that component. The len diff --git a/ppapi/c/dev/ppb_var_deprecated.h b/ppapi/c/dev/ppb_var_deprecated.h index 7b5af31..70ea229 100644 --- a/ppapi/c/dev/ppb_var_deprecated.h +++ b/ppapi/c/dev/ppb_var_deprecated.h @@ -13,7 +13,8 @@ struct PPP_Class_Deprecated; -#define PPB_VAR_DEPRECATED_INTERFACE "PPB_Var(Deprecated);0.3" +#define PPB_VAR_DEPRECATED_INTERFACE_0_3 "PPB_Var(Deprecated);0.3" +#define PPB_VAR_DEPRECATED_INTERFACE PPB_VAR_DEPRECATED_INTERFACE_0_3 /** * @file diff --git a/ppapi/c/dev/ppb_video_decoder_dev.h b/ppapi/c/dev/ppb_video_decoder_dev.h index 9e9d239..1aed02d 100644 --- a/ppapi/c/dev/ppb_video_decoder_dev.h +++ b/ppapi/c/dev/ppb_video_decoder_dev.h @@ -9,7 +9,8 @@ #include "ppapi/c/pp_completion_callback.h" #include "ppapi/c/pp_var.h" -#define PPB_VIDEODECODER_DEV_INTERFACE "PPB_VideoDecoder(Dev);0.5" +#define PPB_VIDEODECODER_DEV_INTERFACE_0_5 "PPB_VideoDecoder(Dev);0.5" +#define PPB_VIDEODECODER_DEV_INTERFACE PPB_VIDEODECODER_DEV_INTERFACE_0_5 // Video decoder interface. // diff --git a/ppapi/c/dev/ppb_widget_dev.h b/ppapi/c/dev/ppb_widget_dev.h index 1c2edfdb..a0effb5 100644 --- a/ppapi/c/dev/ppb_widget_dev.h +++ b/ppapi/c/dev/ppb_widget_dev.h @@ -11,7 +11,8 @@ struct PP_Rect; struct PP_InputEvent; -#define PPB_WIDGET_DEV_INTERFACE "PPB_Widget(Dev);0.2" +#define PPB_WIDGET_DEV_INTERFACE_0_2 "PPB_Widget(Dev);0.2" +#define PPB_WIDGET_DEV_INTERFACE PPB_WIDGET_DEV_INTERFACE_0_2 // The interface for reusing browser widgets. struct PPB_Widget_Dev { diff --git a/ppapi/c/dev/ppb_zoom_dev.h b/ppapi/c/dev/ppb_zoom_dev.h index b450d32..8aac17d 100644 --- a/ppapi/c/dev/ppb_zoom_dev.h +++ b/ppapi/c/dev/ppb_zoom_dev.h @@ -8,7 +8,8 @@ #include "ppapi/c/pp_instance.h" // Zoom interface should only apply to those full-page "plugin-document". -#define PPB_ZOOM_DEV_INTERFACE "PPB_Zoom(Dev);0.2" +#define PPB_ZOOM_DEV_INTERFACE_0_2 "PPB_Zoom(Dev);0.2" +#define PPB_ZOOM_DEV_INTERFACE PPB_ZOOM_DEV_INTERFACE_0_2 struct PPB_Zoom_Dev { // Informs the browser about the new zoom factor for the plugin (see diff --git a/ppapi/c/ppb_audio.h b/ppapi/c/ppb_audio.h index 5a21e8f..757c5fb 100644 --- a/ppapi/c/ppb_audio.h +++ b/ppapi/c/ppb_audio.h @@ -11,7 +11,8 @@ #include "ppapi/c/pp_resource.h" #include "ppapi/c/pp_stdint.h" -#define PPB_AUDIO_INTERFACE "PPB_Audio;0.6" +#define PPB_AUDIO_INTERFACE_0_6 "PPB_Audio;0.6" +#define PPB_AUDIO_INTERFACE PPB_AUDIO_INTERFACE_0_6 /** * @file diff --git a/ppapi/c/ppb_audio_config.h b/ppapi/c/ppb_audio_config.h index d620b3f..4291e27 100644 --- a/ppapi/c/ppb_audio_config.h +++ b/ppapi/c/ppb_audio_config.h @@ -11,7 +11,8 @@ #include "ppapi/c/pp_resource.h" #include "ppapi/c/pp_stdint.h" -#define PPB_AUDIO_CONFIG_INTERFACE "PPB_AudioConfig;0.5" +#define PPB_AUDIO_CONFIG_INTERFACE_0_5 "PPB_AudioConfig;0.5" +#define PPB_AUDIO_CONFIG_INTERFACE PPB_AUDIO_CONFIG_INTERFACE_0_5 /** * @file diff --git a/ppapi/c/ppb_core.h b/ppapi/c/ppb_core.h index 59efc24..ac7b8f4 100644 --- a/ppapi/c/ppb_core.h +++ b/ppapi/c/ppb_core.h @@ -13,7 +13,8 @@ struct PP_CompletionCallback; -#define PPB_CORE_INTERFACE "PPB_Core;0.4" +#define PPB_CORE_INTERFACE_0_4 "PPB_Core;0.4" +#define PPB_CORE_INTERFACE PPB_CORE_INTERFACE_0_4 /** * @file diff --git a/ppapi/c/ppb_graphics_2d.h b/ppapi/c/ppb_graphics_2d.h index 08c4e94..b08e9fc 100644 --- a/ppapi/c/ppb_graphics_2d.h +++ b/ppapi/c/ppb_graphics_2d.h @@ -16,7 +16,8 @@ struct PP_Point; struct PP_Rect; struct PP_Size; -#define PPB_GRAPHICS_2D_INTERFACE "PPB_Graphics2D;0.3" +#define PPB_GRAPHICS_2D_INTERFACE_0_3 "PPB_Graphics2D;0.3" +#define PPB_GRAPHICS_2D_INTERFACE PPB_GRAPHICS_2D_INTERFACE_0_3 /** * @file diff --git a/ppapi/c/ppb_image_data.h b/ppapi/c/ppb_image_data.h index c25615f..5a7fabc 100644 --- a/ppapi/c/ppb_image_data.h +++ b/ppapi/c/ppb_image_data.h @@ -72,7 +72,8 @@ PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_ImageDataDesc, 16); * @} */ -#define PPB_IMAGEDATA_INTERFACE "PPB_ImageData;0.3" +#define PPB_IMAGEDATA_INTERFACE_0_3 "PPB_ImageData;0.3" +#define PPB_IMAGEDATA_INTERFACE PPB_IMAGEDATA_INTERFACE_0_3 /** * @addtogroup Interfaces diff --git a/ppapi/c/ppb_instance.h b/ppapi/c/ppb_instance.h index 2037cd9..1a99ff3 100644 --- a/ppapi/c/ppb_instance.h +++ b/ppapi/c/ppb_instance.h @@ -10,7 +10,8 @@ #include "ppapi/c/pp_resource.h" #include "ppapi/c/pp_var.h" -#define PPB_INSTANCE_INTERFACE "PPB_Instance;0.4" +#define PPB_INSTANCE_INTERFACE_0_4 "PPB_Instance;0.4" +#define PPB_INSTANCE_INTERFACE PPB_INSTANCE_INTERFACE_0_4 /** * @file diff --git a/ppapi/c/ppb_messaging.h b/ppapi/c/ppb_messaging.h index 68e8b29..0fd1c97 100644 --- a/ppapi/c/ppb_messaging.h +++ b/ppapi/c/ppb_messaging.h @@ -8,7 +8,8 @@ #include "ppapi/c/pp_instance.h" #include "ppapi/c/pp_var.h" -#define PPB_MESSAGING_INTERFACE "PPB_Messaging;0.1" +#define PPB_MESSAGING_INTERFACE_0_1 "PPB_Messaging;0.1" +#define PPB_MESSAGING_INTERFACE PPB_MESSAGING_INTERFACE_0_1 /** * @file diff --git a/ppapi/c/ppb_url_loader.h b/ppapi/c/ppb_url_loader.h index 0d1c288..c325e32 100644 --- a/ppapi/c/ppb_url_loader.h +++ b/ppapi/c/ppb_url_loader.h @@ -12,7 +12,8 @@ struct PP_CompletionCallback; -#define PPB_URLLOADER_INTERFACE "PPB_URLLoader;0.1" +#define PPB_URLLOADER_INTERFACE_0_1 "PPB_URLLoader;0.1" +#define PPB_URLLOADER_INTERFACE PPB_URLLOADER_INTERFACE_0_1 /** * @file diff --git a/ppapi/c/ppb_url_request_info.h b/ppapi/c/ppb_url_request_info.h index 260612b..b577376 100644 --- a/ppapi/c/ppb_url_request_info.h +++ b/ppapi/c/ppb_url_request_info.h @@ -124,7 +124,8 @@ PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLRequestProperty, 4); * @} */ -#define PPB_URLREQUESTINFO_INTERFACE "PPB_URLRequestInfo;0.2" +#define PPB_URLREQUESTINFO_INTERFACE_0_2 "PPB_URLRequestInfo;0.2" +#define PPB_URLREQUESTINFO_INTERFACE PPB_URLREQUESTINFO_INTERFACE_0_2 /** * diff --git a/ppapi/c/ppb_url_response_info.h b/ppapi/c/ppb_url_response_info.h index 51c62af..6956a36 100644 --- a/ppapi/c/ppb_url_response_info.h +++ b/ppapi/c/ppb_url_response_info.h @@ -52,7 +52,8 @@ PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLResponseProperty, 4); * @} */ -#define PPB_URLRESPONSEINFO_INTERFACE "PPB_URLResponseInfo;0.1" +#define PPB_URLRESPONSEINFO_INTERFACE_0_1 "PPB_URLResponseInfo;0.1" +#define PPB_URLRESPONSEINFO_INTERFACE PPB_URLRESPONSEINFO_INTERFACE_0_1 /** * diff --git a/ppapi/c/ppb_var.h b/ppapi/c/ppb_var.h index 56280b3..2fa4ec5 100644 --- a/ppapi/c/ppb_var.h +++ b/ppapi/c/ppb_var.h @@ -13,7 +13,8 @@ #include "ppapi/c/pp_stdint.h" #include "ppapi/c/pp_var.h" -#define PPB_VAR_INTERFACE "PPB_Var;0.5" +#define PPB_VAR_INTERFACE_0_5 "PPB_Var;0.5" +#define PPB_VAR_INTERFACE PPB_VAR_INTERFACE_0_5 /** * @file |