aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos.h
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/gos/gos.h
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/gos/gos.h')
-rw-r--r--src/gos/gos.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gos/gos.h b/src/gos/gos.h
index d01bc070..a41712ce 100644
--- a/src/gos/gos.h
+++ b/src/gos/gos.h
@@ -82,7 +82,7 @@
* Many platforms will round the size to ensure correct stack alignment.
* Other platforms may entirely ignore the suggested size.
*/
- #define DECLARE_THREAD_STACK(name, sz) uint8_t name[sz];
+ #define DECLARE_THREAD_STACK(name, sz) gU8 name[sz];
/*
* @brief Return from a thread
@@ -153,7 +153,7 @@
*
* @api
*/
- void *gfxAlloc(size_t sz);
+ void *gfxAlloc(gMemSize sz);
/**
* @brief Re-allocate memory
@@ -173,7 +173,7 @@
*
* @api
*/
- void *gfxRealloc(void *ptr, size_t oldsz, size_t newsz);
+ void *gfxRealloc(void *ptr, gMemSize oldsz, gMemSize newsz);
/**
* @brief Free memory
@@ -420,7 +420,7 @@
*
* @api
*/
- gThread gfxThreadCreate(void *stackarea, size_t stacksz, gThreadpriority prio, DECLARE_THREAD_FUNCTION((*fn),p), void *param);
+ gThread gfxThreadCreate(void *stackarea, gMemSize stacksz, gThreadpriority prio, DECLARE_THREAD_FUNCTION((*fn),p), void *param);
/**
* @brief Wait for a thread to finish.