Pepper_31_C_interfaces
Classes | Typedefs | Enumerations | Functions
pp_completion_callback.h File Reference
#include "ppapi/c/pp_macros.h"
#include "ppapi/c/pp_stdint.h"
#include <stdlib.h>
Include dependency graph for pp_completion_callback.h:

Go to the source code of this file.

Classes

struct  PP_CompletionCallback
 

Typedefs

typedef void(* PP_CompletionCallback_Func )(void *user_data, int32_t result)
 

Enumerations

enum  PP_CompletionCallback_Flag { PP_COMPLETIONCALLBACK_FLAG_NONE = 0 << 0, PP_COMPLETIONCALLBACK_FLAG_OPTIONAL = 1 << 0 }
 

Functions

 PP_COMPILE_ASSERT_SIZE_IN_BYTES (PP_CompletionCallback_Flag, 4)
 
PP_INLINE struct
PP_CompletionCallback 
PP_MakeCompletionCallback (PP_CompletionCallback_Func func, void *user_data)
 
PP_INLINE struct
PP_CompletionCallback 
PP_MakeOptionalCompletionCallback (PP_CompletionCallback_Func func, void *user_data)
 
PP_INLINE void PP_RunCompletionCallback (struct PP_CompletionCallback *cc, int32_t result)
 
PP_INLINE struct
PP_CompletionCallback 
PP_BlockUntilComplete (void)
 
PP_INLINE void PP_RunAndClearCompletionCallback (struct PP_CompletionCallback *cc, int32_t res)
 

Detailed Description

This file defines the API to create and run a callback.

Definition in file pp_completion_callback.h.