diff options
Diffstat (limited to 'ppapi/api/ppb.idl')
-rw-r--r-- | ppapi/api/ppb.idl | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/ppapi/api/ppb.idl b/ppapi/api/ppb.idl index f580dcc..4d4835b6 100644 --- a/ppapi/api/ppb.idl +++ b/ppapi/api/ppb.idl @@ -3,17 +3,27 @@ * found in the LICENSE file. */ -/* This file defines a function pointer type for the PPB_GetInterface function. +/** + * This file defines a function pointer type for the + * <code>PPB_GetInterface</code> function. */ -/* This function pointer type defines the signature for the PPB_GetInterface - * function. A generic PPB_GetInterface pointer is passed to - * PPP_InitializedModule when your module is loaded. You can use this pointer - * to request a pointer to a specific browser interface. Browser interface - * names are ASCII strings and are generally defined in the header file for - * the interface, such as PP_AUDIO_INTERFACE found in ppb.audio.h or - * PPB_GRAPHICS_2D_INTERFACE in ppb_graphics_2d.h. +/** + * This function pointer type defines the signature for the + * <code>PPB_GetInterface</code> function. A generic + * <code>PPB_GetInterface</code> pointer is passed to + * <code>PPP_InitializedModule</code> when your module is loaded. You can use + * this pointer to request a pointer to a specific browser interface. Browser + * interface names are ASCII strings and are generally defined in the header + * file for the interface, such as <code>PPB_AUDIO_INTERFACE</code> found in + * <code>ppb.audio.h</code> or + * <code>PPB_GRAPHICS_2D_INTERFACE</code> in <code>ppb_graphics_2d.h</code>. + * Click + * <a href="/chrome/nativeclient/docs/reference/pepperc/ + * globals_defs.html" title="macros">here</a> for a complete list of interface + * names. * * This value will be NULL if the interface is not supported on the browser. */ -typedef mem_t PPB_GetInterface([in] str_t interface_name); +typedef interface_t PPB_GetInterface([in] str_t interface_name); + |