inital commit
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
#ifndef TYPEDEFS_H
|
||||
#define TYPEDEFS_H
|
||||
|
||||
typedef long s_long;
|
||||
typedef short s_short;
|
||||
typedef char s_char;
|
||||
typedef int s_int;
|
||||
typedef int s_long128 __attribute__ ((mode (TI)));
|
||||
|
||||
typedef unsigned long u_long;
|
||||
typedef unsigned short u_short;
|
||||
typedef unsigned char u_char;
|
||||
typedef unsigned int u_int;
|
||||
typedef unsigned int u_long128 __attribute__ ((mode (TI)));
|
||||
|
||||
typedef long int dword[2] __attribute__ ((aligned(16)));;
|
||||
typedef int qword[4] __attribute__ ((aligned(16)));
|
||||
typedef int sceVu0IVECTOR[4] __attribute__((aligned (16)));
|
||||
typedef float sceVu0FVECTOR[4] __attribute__((aligned (16)));
|
||||
typedef float sceVu0FMATRIX[4][4] __attribute__((aligned (16)));
|
||||
|
||||
typedef union {
|
||||
int ui32;
|
||||
float fl32;
|
||||
} U32DATA;
|
||||
|
||||
typedef union {
|
||||
u_long128 ul128;
|
||||
u_long ul64[2];
|
||||
u_int ui32[4];
|
||||
float fl32[4];
|
||||
u_short us16[8];
|
||||
u_char uc8[16];
|
||||
sceVu0FVECTOR fv;
|
||||
sceVu0IVECTOR iv;
|
||||
} Q_WORDDATA;
|
||||
|
||||
typedef union {
|
||||
u_char *pu8;
|
||||
u_short *pu16;
|
||||
u_int *pu32;
|
||||
u_long *pu64;
|
||||
s_char *ps8;
|
||||
s_short *ps16;
|
||||
int *ps32;
|
||||
s_long *ps64;
|
||||
long int wrk;
|
||||
} P_INT;
|
||||
|
||||
#endif /* TYPEDEFS_H */
|
||||
Reference in New Issue
Block a user