blob: b0756493c07a51fa84aa403020b81e74d0e5e83b (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
#ifdef HAVE_CONFIG_H
# include <oce-config.h>
#endif
#include <Standard_PrimitiveTypes.hxx>
#include <Standard_Persistent.hxx>
//#include <Standard_Type.hxx>
//#include <Standard_Stream.hxx>
#include <Standard.hxx>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif
//class Handle(Standard_Type);
//extern const Handle(Standard_Transient) Standard_TransientNullHandle;
//extern const Handle(Standard_Persistent) Standard_PersistentNullHandle;
//const Handle(Standard_Transient) Standard_TransientNullHandle;
//const Handle(Standard_Persistent) Standard_PersistentNullHandle;
//---------------------------------------------------
#ifdef WNT
# include <windows.h>
# include <winbase.h>
#endif
//=======================================================================
//function : CSFDB_Allocate
//purpose :
//=======================================================================
Standard_Address StandardCSFDB_Allocate(const Standard_Size aSize)
{
return Standard::Allocate( aSize );
}
//=======================================================================
//function : Free
//purpose :
//=======================================================================
void StandardCSFDB_Free(Standard_Address& aStorage )
{
Standard::Free( aStorage );
}
//=======================================================================
//function : Reallocate
//purpose :
//=======================================================================
Standard_EXPORT Standard_Address StandardCSFDB_Reallocate
(Standard_Address& aStorage,
const Standard_Size ,
const Standard_Size newSize)
{
return Standard::Reallocate( aStorage, newSize );
}
|