aboutsummaryrefslogtreecommitdiffstats
path: root/src/gqueue
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-11-03 10:51:23 +1000
committerinmarket <andrewh@inmarket.com.au>2018-11-03 10:51:23 +1000
commit7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d (patch)
tree95cf152ef65ff19c7b2515b427bbe86b92b611d0 /src/gqueue
parent8bd70d953bcd3e32ceb4e45a4e561c973726280a (diff)
downloaduGFX-7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d.tar.gz
uGFX-7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d.tar.bz2
uGFX-7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d.zip
For all source files update integer types to the new gI8 etc type names
Diffstat (limited to 'src/gqueue')
-rw-r--r--src/gqueue/gqueue.c2
-rw-r--r--src/gqueue/gqueue.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gqueue/gqueue.c b/src/gqueue/gqueue.c
index 04aeb6dd..8bd1312f 100644
--- a/src/gqueue/gqueue.c
+++ b/src/gqueue/gqueue.c
@@ -430,7 +430,7 @@ void _gqueueDeinit(void)
#endif
#if GQUEUE_NEED_BUFFERS
- gBool gfxBufferAlloc(unsigned num, size_t size) {
+ gBool gfxBufferAlloc(unsigned num, gMemSize size) {
GDataBuffer *pd;
if (num < 1)
diff --git a/src/gqueue/gqueue.h b/src/gqueue/gqueue.h
index 179f0822..a62f8775 100644
--- a/src/gqueue/gqueue.h
+++ b/src/gqueue/gqueue.h
@@ -77,8 +77,8 @@ typedef struct gfxQueueFSync {
*/
typedef struct GDataBuffer {
gfxQueueGSyncItem next; // @< Used for queueing the buffers
- size_t size; // @< The size of the buffer area following this structure (in bytes)
- size_t len; // @< The length of the data in the buffer area (in bytes)
+ gMemSize size; // @< The size of the buffer area following this structure (in bytes)
+ gMemSize len; // @< The length of the data in the buffer area (in bytes)
} GDataBuffer;
/*===========================================================================*/
@@ -352,7 +352,7 @@ gBool gfxQueueFSyncIsInI(gfxQueueFSync *pqueue, const gfxQueueFSyncItem *pitem);
* @api
* @{
*/
-gBool gfxBufferAlloc(unsigned num, size_t size);
+gBool gfxBufferAlloc(unsigned num, gMemSize size);
/** @} */
/**