mirror of
https://github.com/devkitPro/wut.git
synced 2026-09-29 13:27:10 -05:00
Remove sized types from wut_types.h
stdint.h exists for a reason.
This commit is contained in:
@@ -380,14 +380,14 @@ FSStatus
|
||||
FSGetFreeSpaceSize(FSClient *client,
|
||||
FSCmdBlock *block,
|
||||
char *path,
|
||||
u64 *outSize,
|
||||
uint64_t *outSize,
|
||||
uint32_t flags);
|
||||
|
||||
FSStatus
|
||||
FSGetFreeSpaceSizeAsync(FSClient *client,
|
||||
FSCmdBlock *block,
|
||||
char *path,
|
||||
u64 *outSize,
|
||||
uint64_t *outSize,
|
||||
uint32_t flags,
|
||||
FSAsyncData *asyncData);
|
||||
|
||||
|
||||
@@ -1,11 +1,17 @@
|
||||
#pragma once
|
||||
#include <wut.h>
|
||||
|
||||
/**
|
||||
* \defgroup coreinit_title Title
|
||||
* \ingroup coreinit
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
u64 OSGetTitleID(void);
|
||||
uint64_t OSGetTitleID(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -14,21 +14,21 @@ extern "C" {
|
||||
|
||||
typedef struct GX2Surface GX2Surface;
|
||||
|
||||
bool
|
||||
BOOL
|
||||
GX2RCreateSurface(GX2Surface *surface,
|
||||
GX2RResourceFlags flags);
|
||||
|
||||
bool
|
||||
BOOL
|
||||
GX2RCreateSurfaceUserMemory(GX2Surface *surface,
|
||||
uint8_t *image,
|
||||
uint8_t *mipmap,
|
||||
GX2RResourceFlags flags);
|
||||
|
||||
void
|
||||
BOOL
|
||||
GX2RDestroySurfaceEx(GX2Surface *surface,
|
||||
GX2RResourceFlags flags);
|
||||
|
||||
void
|
||||
BOOL
|
||||
GX2RInvalidateSurface(GX2Surface *surface,
|
||||
int32_t level,
|
||||
GX2RResourceFlags flags);
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef int BOOL;
|
||||
typedef int32_t BOOL;
|
||||
|
||||
#ifndef TRUE
|
||||
#define TRUE 1
|
||||
@@ -11,34 +10,3 @@ typedef int BOOL;
|
||||
#ifndef FALSE
|
||||
#define FALSE 0
|
||||
#endif
|
||||
|
||||
typedef uint8_t u8;
|
||||
typedef uint16_t u16;
|
||||
typedef uint32_t u32;
|
||||
typedef uint64_t u64;
|
||||
|
||||
typedef int8_t s8;
|
||||
typedef int16_t s16;
|
||||
typedef int32_t s32;
|
||||
typedef int64_t s64;
|
||||
|
||||
typedef volatile u8 vu8;
|
||||
typedef volatile u16 vu16;
|
||||
typedef volatile u32 vu32;
|
||||
typedef volatile u64 vu64;
|
||||
|
||||
typedef volatile s8 vs8;
|
||||
typedef volatile s16 vs16;
|
||||
typedef volatile s32 vs32;
|
||||
typedef volatile s64 vs64;
|
||||
|
||||
typedef s16 sfp16;
|
||||
typedef s32 sfp32;
|
||||
typedef u16 ufp16;
|
||||
typedef u32 ufp32;
|
||||
|
||||
typedef float f32;
|
||||
typedef double f64;
|
||||
|
||||
typedef volatile float vf32;
|
||||
typedef volatile double vf64;
|
||||
|
||||
Reference in New Issue
Block a user