mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
Make sure function prototype signatures match, and put typedefs into
separate header file
This commit is contained in:
parent
35984c2198
commit
182b8d01f9
3 changed files with 41 additions and 34 deletions
16
pico/pico_types.h
Normal file
16
pico/pico_types.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
#ifndef PICO_TYPES
|
||||
#define PICO_TYPES
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifndef UTYPES_DEFINED
|
||||
typedef uint8_t u8;
|
||||
typedef int8_t s8;
|
||||
typedef uint16_t u16;
|
||||
typedef int16_t s16;
|
||||
typedef uint32_t u32;
|
||||
typedef int32_t s32;
|
||||
#endif
|
||||
typedef uintptr_t uptr; /* unsigned pointer-sized int */
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue