Namespaces | Defines | Typedefs

irrTypes.h File Reference

#include "IrrCompileConfig.h"
#include <wchar.h>

Go to the source code of this file.

Namespaces

Defines

Typedefs


Define Documentation

#define _IRR_DEBUG_BREAK_IF (   _CONDITION_  ) 
#define _IRR_DEPRECATED_

Defines a deprecated macro which generates a warning at compile time.

The usage is simple For typedef: typedef _IRR_DEPRECATED_ int test1; For classes/structs: class _IRR_DEPRECATED_ test2 { ... }; For methods: class test3 { _IRR_DEPRECATED_ virtual void foo() {} }; For functions: template<class T> _IRR_DEPRECATED_ void test4(void) {}

Definition at line 195 of file irrTypes.h.

#define _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX

Defines a small statement to work around a microsoft compiler bug.

The microsoft compiler 7.0 - 7.1 has a bug: When you call unmanaged code that returns a bool type value of false from managed code, the return value may appear as true. See http://support.microsoft.com/default.aspx?kbid=823071 for details. Compiler version defines: VC6.0 : 1200, VC7.0 : 1300, VC7.1 : 1310, VC8.0 : 1400

Definition at line 207 of file irrTypes.h.

#define _IRR_TEXT (   X  )     X

Definition at line 159 of file irrTypes.h.

#define MAKE_IRR_ID (   c0,
  c1,
  c2,
  c3 
)
Value:
((irr::u32)(irr::u8)(c0) | ((irr::u32)(irr::u8)(c1) << 8) | \
        ((irr::u32)(irr::u8)(c2) << 16) | ((irr::u32)(irr::u8)(c3) << 24 ))

ignore VC8 warning deprecated

The microsoft compiler creates four CC codes used in Irrlicht for simple ids some compilers can create those by directly writing the code like 'code', but some generate warnings so we use this macro here

Definition at line 241 of file irrTypes.h.