eddef

Description

Cross-Platform Types and Definitions.

Status

In Development

Constants

Types

Structures

None

Functions

None

Objects

None

See Also

None


ED_ERROR

Description

Used when 0 indicates error.

Status

None

Declaration

  #define ED_ERROR   (0)
  

Notes

None

Sample Code

None
  

See Also

eddef, ED_INVALID


ED_INVALID

Description

Used when 0xFFFFFFFF indicates error.

Status

None

Declaration

  #define ED_INVALID (-1L)
  

Notes

None

Sample Code

None
  

See Also

eddef, ED_ERROR


ED_HAVE_TYPES

Description

Internal macro indicating whether or not types have been declared.

Status

None

Declaration

None

Notes

None

Sample Code

None
  

See Also

eddef


ED_ALPHA

Description

Alpha status part of a 32-bit unsigned integer version number.

Status

None

Declaration

  #define ED_ALPHA      0
  

Notes

None

Sample Code

None
  

See Also

eddef, ED_BETA, ED_PRERELEASE, ED_RELEASE


ED_BETA

Description

Beta status part of a 32-bit unsigned integer version number.

Status

None

Declaration

  #define ED_BETA       1
  

Notes

None

Sample Code

None
  

See Also

eddef, ED_ALPHA, ED_PRERELEASE, ED_RELEASE


ED_PRERELEASE

Description

Pre-Release status part of a 32-bit unsigned integer version number.

Status

None

Declaration

  #define ED_PRERELEASE 2
  

Notes

None

Sample Code

None
  

See Also

eddef, ED_ALPHA, ED_BETA, ED_RELEASE


ED_RELEASE

Description

Release status part of a 32-bit unsigned integer version number.

Status

None

Declaration

  #define ED_RELEASE    3
  

Notes

None

Sample Code

None
  

See Also

eddef, ED_ALPHA, ED_BETA, ED_PRERELEASE


ED_MAKE_VER

Description

Generates a 32-bit unsigned integer version according to the Epic Delusions version format.

Status

None

Declaration

  #define ED_MAKE_VER( ED_MAJORVER, ED_MINORVER, ED_REVISION, ED_STATUS )\
    (((edu32)ED_MAJORVER << 24) | (((edu32)ED_MINORVER & 0xFF) << 16) |\
     (((edu32)ED_REVISION & 0x3FFFF) << 2) | (ED_STATUS & 3))
  

Notes

None

Sample Code

None
  

See Also

eddef, ED_MAKE_REVISION


ED_MAKE_REVISION

Description

Generates a 32-bit unsigned integer revision based on the default EDMMAPI version.

Status

None

Declaration

  #define ED_MAKE_REVISION( ED_REVISION ) ED_MAKE_VER(0, 51, ED_REVISION, ED_BETA)
  

Notes

None

Sample Code

None
  

See Also

eddef, ED_MAKE_VER


ED_WIN32

Description

General Win32 platform definition.

Status

None

Declaration

#undef ED_WIN32

#ifndef ED_WIN32
  #if defined(_WIN32)
    #define ED_WIN32
  #endif
#endif
  

Notes

None

Sample Code

None
  

See Also

eddef


ED_EOL

Description

Platform dependant EOL (end-of-line) for text files

Status

None

Declaration

  #if defined(ED_WIN32)
    #define ED_EOL "\r\n"
    #define ED_LEN_EOL sizeof(char[2])
  #else
    #define ED_EOL "\n"
    #define ED_LEN_EOL sizeof(char)
  #endif
  

Notes

None

Sample Code

None
  

See Also

eddef, ED_LEN_EOL


ED_LEN_EOL

Description

Character length of ED_EOL

Status

None

Declaration

  #if defined(ED_WIN32)
    #define ED_EOL "\r\n"
    #define ED_LEN_EOL sizeof(char[2])
  #else
    #define ED_EOL "\n"
    #define ED_LEN_EOL sizeof(char)
  #endif
  

Notes

None

Sample Code

None
  

See Also

eddef, ED_LEN_EOL


ED_BIG_ENDIAN

Description

Indicates that the byte order of 0x01020304 is 0x1, 0x2, 0x3, 0x4.

Status

None

Declaration

  #if defined(_WIN32)
    #define ED_LITTLE_ENDIAN
  #endif
  

Notes

None

Sample Code

None
  

See Also

eddef, ED_LITTLE_ENDIAN


ED_LITTLE_ENDIAN

Description

Indicates that the byte order of 0x01020304 is 0x4, 0x3, 0x2, 0x1.

Status

None

Declaration

  #if defined(_WIN32)
    #define ED_LITTLE_ENDIAN
  #endif
  

Notes

None

Sample Code

None
  

See Also

eddef, ED_BIG_ENDIAN


edi8

Description

8-bit signed Integer

Status

None

Declaration

typedef __int8 edi8 // MSVC6

Minimum Value

-128

Maximum Value

127

Notes

None

Sample Code

None
  

See Also

eddef, edi16, edi32, edi64


edi16

Description

16-bit signed Integer

Status

None

Declaration

typedef __int16 edi16 // MSVC6

Minimum Value

-32,768

Maximum Value

32,767

Notes

None

Sample Code

None
  

See Also

eddef, edi8, edi32, edi64


edi32

Description

32-bit signed Integer

Status

None

Declaration

typedef __int32 edi32 // MSVC6

Minimum Value

-2,147,483,648

Maximum Value

2,147,483,647

Notes

None

Sample Code

None
  

See Also

eddef, edi8, edi16, edi64


edi64

Description

64-bit signed Integer

Status

None

Declaration

typedef __int64 edu64; // MSVC6

Notes

64-bit Integers are not yet officially part of the EDMMAPI

Sample Code

None
  

See Also

eddef, edi8, edi16, edi32


edu8

Description

8-bit Unsigned Integer

Status

None

Declaration

typedef unsigned __int8 edu8 // MSVC6

Minimum Value

0

Maximum Value

255

Notes

None

Sample Code

None
  

See Also

eddef, edu16, edu32, edu64


edu16

Description

16-bit Unsigned Integer

Status

None

Declaration

typedef unsigned __int16 edu16 // MSVC6

Minimum Value

0

Maximum Value

65,535

Notes

None

Sample Code

None
  

See Also

eddef, edu8, edu32, edu64


edu32

Description

32-bit Unsigned Integer

Status

None

Declaration

typedef unsigned __int32 edu32 // MSVC6

Minimum Value

0

Maximum Value

4,294,967,295

Notes

None

Sample Code

None
  

See Also

eddef, edu8, edu16, edu64


edu64

Description

64-bit Unsigned Integer

Status

None

Declaration

typedef unsigned __int64 edu64; // MSVC6

Notes

64-bit Integers are not yet officially part of the EDMMAPI

Sample Code

None
  

See Also

eddef, edu8, edu16, edu32


edf32

Description

32-bit Floating Point Type.

Status

None

Declaration

typedef float edf32; // MSVC6

Notes

None

Sample Code

None
  

See Also

eddef, edf64


edf64

Description

64-bit Floating Point Type.

Status

None

Declaration

typedef double edf64; // MSVC6

Notes

None

Sample Code

None
  

See Also

eddef, edf32


Copyright 1993-2008 Orlando Llanes (edmmapi@gmail.com)

SourceForge.net Logo