| Index: ppapi/api/ppb_message_loop.idl
|
| diff --git a/ppapi/api/ppb_message_loop.idl b/ppapi/api/ppb_message_loop.idl
|
| index fad873a45b4f67842d019e49109be26eadd8b5c5..83c198f3ba7e18279bf6ff23dfb0c7ec539bbcb4 100644
|
| --- a/ppapi/api/ppb_message_loop.idl
|
| +++ b/ppapi/api/ppb_message_loop.idl
|
| @@ -37,6 +37,7 @@ label Chrome {
|
| * - Call Run() with the message loop resource.
|
| *
|
| * Your callbacks should look like this:
|
| + * @code
|
| * void DoMyWork(void* user_data, int32_t status) {
|
| * if (status != PP_OK) {
|
| * Cleanup(); // e.g. free user_data.
|
| @@ -44,6 +45,7 @@ label Chrome {
|
| * }
|
| * ... do your work...
|
| * }
|
| + * @endcode
|
| * For a C++ example, see ppapi/utility/threading/simple_thread.h
|
| *
|
| * (You can also create the message loop resource on the background thread,
|
|
|