ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
cc.h File Reference
#include <errno.h>
#include <stddef.h>
+ Include dependency graph for cc.h:

Go to the source code of this file.

Macros

#define PACK_STRUCT_FIELD(x)   x __attribute((packed))
 
#define PACK_STRUCT_STRUCT   __attribute((packed))
 
#define PACK_STRUCT_FLD_8(x)   x
 
#define PACK_STRUCT_FLD_S(x)   x
 
#define PACK_STRUCT_BEGIN
 
#define PACK_STRUCT_END
 
#define LWIP_PLATFORM_DIAG(args)
 
#define LWIP_PLATFORM_ASSERT(args)
 
#define U8_F   "hu"
 
#define S8_F   "hd"
 
#define X8_F   "hx"
 
#define U16_F   "hu"
 
#define S16_F   "hd"
 
#define X16_F   "hx"
 
#define U32_F   "u"
 
#define S32_F   "d"
 
#define X32_F   "x"
 
#define SZT_F   "uz"
 
#define LWIP_NO_STDINT_H   1
 
#define LWIP_NO_INTTYPES_H   1
 
#define lwip_htons(x)   PP_HTONS(x)
 
#define lwip_htonl(x)   PP_HTONL(x)
 

Typedefs

typedef unsigned char u8_t
 
typedef signed char s8_t
 
typedef unsigned short int u16_t
 
typedef signed short int s16_t
 
typedef unsigned int u32_t
 
typedef signed int s32_t
 
typedef u32_t mem_ptr_t
 

Macro Definition Documentation

◆ lwip_htonl

#define lwip_htonl (   x)    PP_HTONL(x)

Definition at line 51 of file cc.h.

◆ lwip_htons

#define lwip_htons (   x)    PP_HTONS(x)

Definition at line 50 of file cc.h.

◆ LWIP_NO_INTTYPES_H

#define LWIP_NO_INTTYPES_H   1

Definition at line 48 of file cc.h.

◆ LWIP_NO_STDINT_H

#define LWIP_NO_STDINT_H   1

Definition at line 47 of file cc.h.

◆ LWIP_PLATFORM_ASSERT

#define LWIP_PLATFORM_ASSERT (   args)

Definition at line 32 of file cc.h.

◆ LWIP_PLATFORM_DIAG

#define LWIP_PLATFORM_DIAG (   args)

Definition at line 31 of file cc.h.

◆ PACK_STRUCT_BEGIN

#define PACK_STRUCT_BEGIN

Definition at line 24 of file cc.h.

◆ PACK_STRUCT_END

#define PACK_STRUCT_END

Definition at line 25 of file cc.h.

◆ PACK_STRUCT_FIELD

#define PACK_STRUCT_FIELD (   x)    x __attribute((packed))

Definition at line 16 of file cc.h.

◆ PACK_STRUCT_FLD_8

#define PACK_STRUCT_FLD_8 (   x)    x

Definition at line 20 of file cc.h.

◆ PACK_STRUCT_FLD_S

#define PACK_STRUCT_FLD_S (   x)    x

Definition at line 23 of file cc.h.

◆ PACK_STRUCT_STRUCT

#define PACK_STRUCT_STRUCT   __attribute((packed))

Definition at line 17 of file cc.h.

◆ S16_F

#define S16_F   "hd"

Definition at line 40 of file cc.h.

◆ S32_F

#define S32_F   "d"

Definition at line 43 of file cc.h.

◆ S8_F

#define S8_F   "hd"

Definition at line 37 of file cc.h.

◆ SZT_F

#define SZT_F   "uz"

Definition at line 45 of file cc.h.

◆ U16_F

#define U16_F   "hu"

Definition at line 39 of file cc.h.

◆ U32_F

#define U32_F   "u"

Definition at line 42 of file cc.h.

◆ U8_F

#define U8_F   "hu"

Definition at line 36 of file cc.h.

◆ X16_F

#define X16_F   "hx"

Definition at line 41 of file cc.h.

◆ X32_F

#define X32_F   "x"

Definition at line 44 of file cc.h.

◆ X8_F

#define X8_F   "hx"

Definition at line 38 of file cc.h.

Typedef Documentation

◆ mem_ptr_t

typedef u32_t mem_ptr_t

Definition at line 14 of file cc.h.

◆ s16_t

typedef signed short int s16_t

Definition at line 10 of file cc.h.

◆ s32_t

typedef signed int s32_t

Definition at line 12 of file cc.h.

◆ s8_t

typedef signed char s8_t

Definition at line 8 of file cc.h.

◆ u16_t

typedef unsigned short int u16_t

Definition at line 9 of file cc.h.

◆ u32_t

typedef unsigned int u32_t

Definition at line 11 of file cc.h.

◆ u8_t

typedef unsigned char u8_t

Definition at line 7 of file cc.h.