Update some GQUEUE prototypes

ugfx_release_2.6
inmarket 2013-08-01 14:53:13 +10:00
parent 9d2b0b667b
commit 58b5260013
2 changed files with 6 additions and 6 deletions

View File

@ -206,9 +206,9 @@ bool_t gfxQueueFSyncIsEmpty(gfxQueueFSync *pqueue);
* @api * @api
* @{ * @{
*/ */
bool_t gfxQueueASyncIsIn(gfxQueueASync *pqueue, gfxQueueASyncItem *pitem); bool_t gfxQueueASyncIsIn(gfxQueueASync *pqueue, const gfxQueueASyncItem *pitem);
bool_t gfxQueueGSyncIsIn(gfxQueueGSync *pqueue, gfxQueueGSyncItem *pitem); bool_t gfxQueueGSyncIsIn(gfxQueueGSync *pqueue, const gfxQueueGSyncItem *pitem);
bool_t gfxQueueFSyncIsIn(gfxQueueFSync *pqueue, gfxQueueFSyncItem *pitem); bool_t gfxQueueFSyncIsIn(gfxQueueFSync *pqueue, const gfxQueueFSyncItem *pitem);
/* @} */ /* @} */
/** /**

View File

@ -75,7 +75,7 @@
bool_t gfxQueueASyncIsEmpty(gfxQueueASync *pqueue) { bool_t gfxQueueASyncIsEmpty(gfxQueueASync *pqueue) {
return pqueue->head == NULL; return pqueue->head == NULL;
} }
bool_t gfxQueueASyncIsIn(gfxQueueASync *pqueue, gfxQueueASyncItem *pitem) { bool_t gfxQueueASyncIsIn(gfxQueueASync *pqueue, const gfxQueueASyncItem *pitem) {
gfxQueueASyncItem *pi; gfxQueueASyncItem *pi;
gfxSystemLock(); gfxSystemLock();
@ -156,7 +156,7 @@
bool_t gfxQueueGSyncIsEmpty(gfxQueueGSync *pqueue) { bool_t gfxQueueGSyncIsEmpty(gfxQueueGSync *pqueue) {
return pqueue->head == NULL; return pqueue->head == NULL;
} }
bool_t gfxQueueGSyncIsIn(gfxQueueGSync *pqueue, gfxQueueGSyncItem *pitem) { bool_t gfxQueueGSyncIsIn(gfxQueueGSync *pqueue, const gfxQueueGSyncItem *pitem) {
gfxQueueGSyncItem *pi; gfxQueueGSyncItem *pi;
gfxSystemLock(); gfxSystemLock();
@ -248,7 +248,7 @@
bool_t gfxQueueFSyncIsEmpty(gfxQueueFSync *pqueue) { bool_t gfxQueueFSyncIsEmpty(gfxQueueFSync *pqueue) {
return pqueue->head == NULL; return pqueue->head == NULL;
} }
bool_t gfxQueueFSyncIsIn(gfxQueueFSync *pqueue, gfxQueueFSyncItem *pitem) { bool_t gfxQueueFSyncIsIn(gfxQueueFSync *pqueue, const gfxQueueFSyncItem *pitem) {
gfxQueueASyncItem *pi; gfxQueueASyncItem *pi;
gfxSystemLock(); gfxSystemLock();