Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_memory_dev.h
Go to the documentation of this file.
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2  * Use of this source code is governed by a BSD-style license that can be
3  * found in the LICENSE file.
4  */
5 
6 /* From dev/ppb_memory_dev.idl modified Thu Oct 20 13:57:04 2016. */
7 
8 #ifndef PPAPI_C_DEV_PPB_MEMORY_DEV_H_
9 #define PPAPI_C_DEV_PPB_MEMORY_DEV_H_
10 
11 #include "ppapi/c/pp_macros.h"
12 #include "ppapi/c/pp_stdint.h"
13 
14 #define PPB_MEMORY_DEV_INTERFACE_0_1 "PPB_Memory(Dev);0.1"
15 #define PPB_MEMORY_DEV_INTERFACE PPB_MEMORY_DEV_INTERFACE_0_1
16 
41  void* (*MemAlloc)(uint32_t num_bytes);
48  void (*MemFree)(void* ptr);
49 };
50 
51 typedef struct PPB_Memory_Dev_0_1 PPB_Memory_Dev;
56 #endif /* PPAPI_C_DEV_PPB_MEMORY_DEV_H_ */
57 
void(* MemFree)(void *ptr)
Definition: ppb_memory_dev.h:48
Definition: ppb_memory_dev.h:33