Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
opcodetypes.h File Reference
#include "config.h"
#include <float.h>
#include <wchar.h>
#include <stddef.h>

Go to the source code of this file.

Macros

#define CS_COMPILER_GCC   1
 
#define CS_PROCESSOR_SIZE   64 /* Upper limit on pointer size, only used it intptr_t is not found. */
 
#define CS_HAVE_INTPTR_T   1
 

Specific sized types

These types should be used ONLY when you need a variable of an explicit number of bits. For all other cases, you should use normal char, short, int, long, etc., types since they are treated as "natural" types and will generally have better performance characteristics than the explicitly-sized types. Use the explicitly-sized types sparingly.

#define CONST_INT64(x)   x ## LL
 
#define CONST_UINT64(x)   x ## ULL
 
typedef unsigned char uint8
 unsigned 8-bit integer (0..255) More...
 
typedef char int8
 signed 8-bit integer (-128..127) More...
 
typedef unsigned short uint16
 unsigned 16-bit integer (0..65 535) More...
 
typedef short int16
 signed 16-bit integer (-32 768..32 767) More...
 
typedef unsigned int uint32
 unsigned 32-bit integer (0..4 294 967 295) More...
 
typedef int int32
 signed 32-bit integer (-2 147 483 648..2 147 483 647) More...
 
typedef unsigned long long uint64
 unsigned 64-bit integer More...
 
typedef long long int64
 signed 64-bit integer More...
 

Other types

#define _WCTYPE_T_DEFINED
 
#define _WINT_T
 
#define _WINT_T_DECLARED
 
typedef int64 intmax_t
 Greatest-width integer. More...
 
typedef uint64 uintmax_t
 Greatest-width unsigned integer. More...
 
typedef wchar_t wint_t
 
typedef long long longlong
 
typedef unsigned long long ulonglong
 
typedef unsigned int csTicks
 
typedef unsigned int uint
 Shortcut for default unsigned int. More...
 

Macro Definition Documentation

#define _WCTYPE_T_DEFINED

Definition at line 207 of file opcodetypes.h.

#define _WINT_T

Definition at line 208 of file opcodetypes.h.

#define _WINT_T_DECLARED

Definition at line 209 of file opcodetypes.h.

#define CONST_INT64 (   x)    x ## LL

Definition at line 131 of file opcodetypes.h.

#define CONST_UINT64 (   x)    x ## ULL

Definition at line 132 of file opcodetypes.h.

#define CS_COMPILER_GCC   1

Definition at line 38 of file opcodetypes.h.

#define CS_HAVE_INTPTR_T   1

Definition at line 40 of file opcodetypes.h.

#define CS_PROCESSOR_SIZE   64 /* Upper limit on pointer size, only used it intptr_t is not found. */

Definition at line 39 of file opcodetypes.h.

Typedef Documentation

typedef unsigned int csTicks

A time value measured in milliseconds (1/1000 of a second). Ticks do not represent wall clock time or any other Epoch-based time. Instead, ticks are useful only for measuring differences between points on a timeline, or for specifying intervals.

Definition at line 246 of file opcodetypes.h.

typedef short int16

signed 16-bit integer (-32 768..32 767)

Definition at line 79 of file opcodetypes.h.

typedef int int32

signed 32-bit integer (-2 147 483 648..2 147 483 647)

Definition at line 83 of file opcodetypes.h.

typedef long long int64

signed 64-bit integer

Definition at line 89 of file opcodetypes.h.

typedef char int8

signed 8-bit integer (-128..127)

Definition at line 75 of file opcodetypes.h.

typedef int64 intmax_t

Greatest-width integer.

Definition at line 177 of file opcodetypes.h.

typedef long long longlong

Type to pass to cs_snprintf() as an argument to the "%lld" format specifier.

Definition at line 218 of file opcodetypes.h.

typedef unsigned int uint

Shortcut for default unsigned int.

Definition at line 249 of file opcodetypes.h.

typedef unsigned short uint16

unsigned 16-bit integer (0..65 535)

Definition at line 77 of file opcodetypes.h.

typedef unsigned int uint32

unsigned 32-bit integer (0..4 294 967 295)

Definition at line 81 of file opcodetypes.h.

typedef unsigned long long uint64

unsigned 64-bit integer

Definition at line 87 of file opcodetypes.h.

typedef unsigned char uint8

unsigned 8-bit integer (0..255)

Definition at line 73 of file opcodetypes.h.

typedef uint64 uintmax_t

Greatest-width unsigned integer.

Definition at line 179 of file opcodetypes.h.

typedef unsigned long long ulonglong

Type to pass to cs_snprintf() as an argument to the "%llu" format specifier.

Definition at line 222 of file opcodetypes.h.

typedef wchar_t wint_t

Definition at line 204 of file opcodetypes.h.