mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
15 lines
567 B
C++
Executable File
15 lines
567 B
C++
Executable File
#define Standard_STATIC(type,name) type& name() \
|
|
{ \
|
|
static type _##name; \
|
|
return _##name; \
|
|
}
|
|
|
|
#define Standard_STATIC_INIT(type,name,initfunc) type& name() \
|
|
{ \
|
|
static type _##name = initfunc; \
|
|
return _##name; \
|
|
}
|
|
|
|
|
|
|