vitasdk
Documentation of the vitasdk
types.h File Reference
#include <stddef.h>
#include <stdint.h>
#include <vitasdk/build_utils.h>

Go to the source code of this file.

Data Structures

struct  SceIVector2
 
struct  SceFVector2
 
struct  SceIVector3
 
struct  SceFVector3
 
struct  SceIVector4
 
struct  SceFVector4
 
struct  SceIMatrix2
 
struct  SceFMatrix2
 
struct  SceIMatrix3
 
struct  SceFMatrix3
 
struct  SceIMatrix4
 
struct  SceFMatrix4
 
struct  SceFQuaternion
 
struct  SceFColor
 
struct  SceFPlane
 
struct  SceDateTime
 

Macros

#define SCE_KERNEL_THREAD_ID_SELF   0
 Current thread's UID - pass to APIs expecting a thread ID to operate on calling thread. More...
 
#define SCE_KERNEL_PROCESS_ID_SELF   0
 Current process's UID - pass to APIs expecting a process ID to operate on calling process. More...
 
#define SCE_UID_NAMELEN   31
 Maximum length for kernel object names. More...
 
#define SCE_OK   (0)
 
#define SCE_KERNEL_1KiB   (0x400)
 
#define SCE_KERNEL_2KiB   (0x800)
 
#define SCE_KERNEL_4KiB   (0x1000)
 
#define SCE_KERNEL_8KiB   (0x2000)
 
#define SCE_KERNEL_16KiB   (0x4000)
 
#define SCE_KERNEL_32KiB   (0x8000)
 
#define SCE_KERNEL_64KiB   (0x10000)
 
#define SCE_KERNEL_128KiB   (0x20000)
 
#define SCE_KERNEL_256KiB   (0x40000)
 
#define SCE_KERNEL_512KiB   (0x80000)
 
#define SCE_KERNEL_1MiB   (0x100000)
 
#define SCE_KERNEL_2MiB   (0x200000)
 
#define SCE_KERNEL_4MiB   (0x400000)
 
#define SCE_KERNEL_8MiB   (0x800000)
 
#define SCE_KERNEL_16MiB   (0x1000000)
 
#define SCE_KERNEL_32MiB   (0x2000000)
 
#define SCE_KERNEL_64MiB   (0x4000000)
 
#define SCE_KERNEL_128MiB   (0x8000000)
 
#define SCE_KERNEL_256MiB   (0x10000000)
 
#define SCE_KERNEL_512MiB   (0x20000000)
 
#define SCE_KERNEL_1GiB   (0x40000000)
 
#define SCE_KERNEL_2GiB   (0x80000000)
 
#define SCE_KERNEL_4GiB   (0x100000000LL)
 
#define SCE_KERNEL_8GiB   (0x200000000LL)
 
#define SCE_KERNEL_16GiB   (0x400000000LL)
 
#define SCE_KERNEL_32GiB   (0x800000000LL)
 

Typedefs

typedef int8_t SceChar8
 
typedef uint8_t SceUChar8
 
typedef int8_t SceInt8
 
typedef uint8_t SceUInt8
 
typedef int16_t SceShort16
 
typedef uint16_t SceUShort16
 
typedef int16_t SceInt16
 
typedef uint16_t SceUInt16
 
typedef int32_t SceInt32
 
typedef uint32_t SceUInt32
 
typedef int32_t SceInt
 
typedef uint32_t SceUInt
 
typedef int64_t SceInt64
 
typedef uint64_t SceUInt64
 
typedef int64_t SceLong64
 
typedef uint64_t SceULong64
 
typedef unsigned int SceSize
 
typedef signed int SceSSize
 
typedef int SceBool
 
typedef float SceFloat
 
typedef float SceFloat32
 
typedef double SceDouble
 
typedef double SceDouble64
 
typedef signed char SceSByte
 
typedef signed char SceSByte8
 
typedef unsigned char SceByte
 
typedef unsigned char SceByte8
 
typedef uint16_t SceWChar16
 
typedef uint32_t SceWChar32
 
typedef void SceVoid
 
typedef void * ScePVoid
 
typedef int SceIntPtr
 
typedef unsigned int SceUIntPtr
 
typedef SceUIntPtr SceUIntVAddr
 
typedef int SceMode
 Mode for I/O functions. More...
 
typedef SceInt64 SceOff
 Offset type. More...
 
typedef int SceUID
 UIDs are used to describe many different kernel objects. More...
 
typedef int ScePID
 Process ID. More...
 
typedef unsigned int SceNID
 Library/Function NID. More...
 
typedef char * SceName
 Names are used to describe object names. More...
 
typedef SceUInt64 SceKernelSysClock
 64-bit system clock type. More...
 

Enumerations

enum  { SCE_FALSE , SCE_TRUE }
 

Functions

 VITASDK_BUILD_ASSERT_EQ (8, SceIVector2)
 
 VITASDK_BUILD_ASSERT_EQ (8, SceFVector2)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceIVector3)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceFVector3)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceIVector4)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceFVector4)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceIMatrix2)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceFMatrix2)
 
 VITASDK_BUILD_ASSERT_EQ (0x24, SceIMatrix3)
 
 VITASDK_BUILD_ASSERT_EQ (0x24, SceFMatrix3)
 
 VITASDK_BUILD_ASSERT_EQ (0x40, SceIMatrix4)
 
 VITASDK_BUILD_ASSERT_EQ (0x40, SceFMatrix4)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceFQuaternion)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceFColor)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceFPlane)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceDateTime)