blob: 1a599e078cba89c80eabe4af6b97d3b983d780c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
// File: Standard_TypeDef.hxx
// Copyright: Open Cascade 2006
#ifndef _Standard_TypeDef_HeaderFile
#define _Standard_TypeDef_HeaderFile
#include <stddef.h>
#define Standard_False (Standard_Boolean)0
#define Standard_True (Standard_Boolean)1
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
typedef int Standard_Integer;
typedef double Standard_Real;
typedef unsigned int Standard_Boolean;
typedef float Standard_ShortReal;
typedef char Standard_Character;
typedef short Standard_ExtCharacter;
typedef unsigned char Standard_Byte;
typedef void* Standard_Address;
typedef size_t Standard_Size;
//
typedef const char* Standard_CString;
typedef const short* Standard_ExtString;
// declare operator new in global scope for old sun compiler
#ifndef WORKAROUND_SUNPRO_NEW_PLACEMENT
#define WORKAROUND_SUNPRO_NEW_PLACEMENT
#if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x420)
inline void* operator new(size_t,void* anAddress)
{
return anAddress;
}
#endif
#endif
#endif
|