Android buffer_handle_t的定义(转载)
时间:2014-05-26 16:14:38
收藏:0
阅读:574
转自:http://www.cnblogs.com/eustoma/archive/2012/06/08/2541416.html
1. buffer_handle_t
文件位置:system\core\include\system\window.h
typedef const native_handle_t* buffer_handle_t;
2. native_handle_t
文件位置:system\core\include\cutils\native_handle.h
typedef
struct native_handle
{
int
version; /*
sizeof(native_handle_t) */
int
numFds; /*
number of file-descriptors at &data[0] */
int
numInts; /*
number of ints at &data[numFds] */
int
data[0]; /*
numFds + numInts ints */
} native_handle_t;
评论(0)