summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2009-08-17 12:40:41 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2009-08-17 12:40:41 -0700
commitea506aeefa393182f4bc717c3611b5263ff3d211 (patch)
tree7ca06828ddfe3d25dce19295c95d22cf2a9b6835
parent1aadb9622368778c1e34a294187f52b3ae70f000 (diff)
parent63cb51f1cc5352f191fac8818e282e2a84e0697e (diff)
am 0ef135d5: Merge change 21537 into eclair
Merge commit '0ef135d5c79ff5b443b43f8743250044700a8bb5' * commit '0ef135d5c79ff5b443b43f8743250044700a8bb5': really be more friendly with C
-rw-r--r--include/ui/egl/android_natives.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/ui/egl/android_natives.h b/include/ui/egl/android_natives.h
index 363142ccd2..3740db5d95 100644
--- a/include/ui/egl/android_natives.h
+++ b/include/ui/egl/android_natives.h
@@ -54,8 +54,8 @@ typedef struct android_native_base_t
void* reserved[4];
/* reference-counting interface */
- void (*incRef)(android_native_base_t* base);
- void (*decRef)(android_native_base_t* base);
+ void (*incRef)(struct android_native_base_t* base);
+ void (*decRef)(struct android_native_base_t* base);
} android_native_base_t;
// ---------------------------------------------------------------------------
@@ -108,7 +108,7 @@ typedef struct android_native_window_t
*
* Returns 0 on success or -errno on error.
*/
- int (*setSwapInterval)(android_native_window_t* window,
+ int (*setSwapInterval)(struct android_native_window_t* window,
int interval);
/*
@@ -118,7 +118,7 @@ typedef struct android_native_window_t
*
* Returns 0 on success or -errno on error.
*/
- int (*dequeueBuffer)(android_native_window_t* window,
+ int (*dequeueBuffer)(struct android_native_window_t* window,
struct android_native_buffer_t** buffer);
/*
@@ -128,7 +128,7 @@ typedef struct android_native_window_t
*
* Returns 0 on success or -errno on error.
*/
- int (*lockBuffer)(android_native_window_t* window,
+ int (*lockBuffer)(struct android_native_window_t* window,
struct android_native_buffer_t* buffer);
/*
* hook called by EGL when modifications to the render buffer are done.
@@ -138,7 +138,7 @@ typedef struct android_native_window_t
*
* Returns 0 on success or -errno on error.
*/
- int (*queueBuffer)(android_native_window_t* window,
+ int (*queueBuffer)(struct android_native_window_t* window,
struct android_native_buffer_t* buffer);
/*
@@ -146,7 +146,7 @@ typedef struct android_native_window_t
*
* Returns 0 on success or -errno on error.
*/
- int (*query)(android_native_window_t* window,
+ int (*query)(struct android_native_window_t* window,
int what, int* value);
/*
@@ -162,7 +162,7 @@ typedef struct android_native_window_t
*
*/
- int (*perform)(android_native_window_t* window,
+ int (*perform)(struct android_native_window_t* window,
int operation, ... );
void* reserved_proc[3];