summaryrefslogtreecommitdiffstats
path: root/ppapi/c/pp_completion_callback.h
diff options
context:
space:
mode:
authornoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-19 00:09:28 +0000
committernoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-19 00:09:28 +0000
commit9b37f48059bebc7fbc7ce51203ebb1eaea873548 (patch)
tree90b6d2bbb47f14fc502c50efd7bb386a5790fe9d /ppapi/c/pp_completion_callback.h
parent5eef288b86b805e5d0d18d9a83a1d5416655a330 (diff)
downloadchromium_src-9b37f48059bebc7fbc7ce51203ebb1eaea873548.zip
chromium_src-9b37f48059bebc7fbc7ce51203ebb1eaea873548.tar.gz
chromium_src-9b37f48059bebc7fbc7ce51203ebb1eaea873548.tar.bz2
More trivial cleanupi of ppapi/c headers
These headers were autogenerated from ppapi/api/*.idl BUG= http://code.google.com/p/chromium/issues/detail?id=76271^M TEST= run try Review URL: http://codereview.chromium.org/7399016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92931 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/pp_completion_callback.h')
-rw-r--r--ppapi/c/pp_completion_callback.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/ppapi/c/pp_completion_callback.h b/ppapi/c/pp_completion_callback.h
index 2b1cfe7..37d3674 100644
--- a/ppapi/c/pp_completion_callback.h
+++ b/ppapi/c/pp_completion_callback.h
@@ -2,24 +2,25 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+
+/* From pp_completion_callback.idl modified Sat Jul 16 16:50:26 2011. */
+
#ifndef PPAPI_C_PP_COMPLETION_CALLBACK_H_
#define PPAPI_C_PP_COMPLETION_CALLBACK_H_
+#include "ppapi/c/pp_macros.h"
+#include "ppapi/c/pp_stdint.h"
+
/**
* @file
* This file defines the API to create and run a callback.
*/
-#include <stdlib.h>
-
-#include "ppapi/c/pp_macros.h"
-#include "ppapi/c/pp_stdint.h"
/**
* @addtogroup Typedefs
* @{
*/
-
/**
* PP_CompletionCallback_Func defines the function signature that you implement
* to receive callbacks on asynchronous completion of an operation.
@@ -37,11 +38,9 @@ typedef void (*PP_CompletionCallback_Func)(void* user_data, int32_t result);
*/
/**
- *
* @addtogroup Enums
* @{
*/
-
/**
* This enumeration contains flags used to control how non-NULL callbacks are
* scheduled by asynchronous methods.
@@ -72,7 +71,6 @@ typedef enum {
PP_COMPLETIONCALLBACK_FLAG_OPTIONAL = 1 << 0
} PP_CompletionCallback_Flag;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_CompletionCallback_Flag, 4);
-
/**
* @}
*/
@@ -81,7 +79,6 @@ PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_CompletionCallback_Flag, 4);
* @addtogroup Structs
* @{
*/
-
/**
* Any method that takes a PP_CompletionCallback can complete asynchronously.
* Refer to PP_CompletionCallback_Flag for more information.
@@ -100,6 +97,8 @@ struct PP_CompletionCallback {
* @}
*/
+#include <stdlib.h>
+
/**
* @addtogroup Functions
* @{
@@ -219,3 +218,4 @@ PP_INLINE void PP_RunAndClearCompletionCallback(
*/
#endif /* PPAPI_C_PP_COMPLETION_CALLBACK_H_ */
+