1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00

0033217: DRAW - Missed Standard_EXPORT attribute in DrawTrSurf_Set* functions

This commit is contained in:
atereshi 2022-11-22 16:46:06 +03:00 committed by smoskvin
parent db2bfd1e83
commit 3837b3bf28

View File

@ -27,7 +27,7 @@
// intended for use from debugger prompt (Command Window in Visual Studio) // intended for use from debugger prompt (Command Window in Visual Studio)
//! Save geometric object identified by pointer to handle //! Save geometric object identified by pointer to handle
const char* DrawTrSurf_Set (const char* theNameStr, void* theHandlePtr) Standard_EXPORT const char* DrawTrSurf_Set (const char* theNameStr, void* theHandlePtr)
{ {
if (theNameStr == 0 || theHandlePtr == 0) if (theNameStr == 0 || theHandlePtr == 0)
{ {
@ -57,7 +57,7 @@ const char* DrawTrSurf_Set (const char* theNameStr, void* theHandlePtr)
} }
//! Set point to DRAW variable //! Set point to DRAW variable
const char* DrawTrSurf_SetPnt (const char* theNameStr, void* thePntPtr) Standard_EXPORT const char* DrawTrSurf_SetPnt (const char* theNameStr, void* thePntPtr)
{ {
if (theNameStr == 0 || thePntPtr == 0) if (theNameStr == 0 || thePntPtr == 0)
{ {
@ -77,7 +77,7 @@ const char* DrawTrSurf_SetPnt (const char* theNameStr, void* thePntPtr)
} }
//! Set 2d point to DRAW variable //! Set 2d point to DRAW variable
const char* DrawTrSurf_SetPnt2d (const char* theNameStr, void* thePnt2dPtr) Standard_EXPORT const char* DrawTrSurf_SetPnt2d (const char* theNameStr, void* thePnt2dPtr)
{ {
if (theNameStr == 0 || thePnt2dPtr == 0) if (theNameStr == 0 || thePnt2dPtr == 0)
{ {
@ -102,17 +102,17 @@ const char* DrawTrSurf_SetPnt2d (const char* theNameStr, void* thePnt2dPtr)
// work with them (DBX could, on SUN Solaris). // work with them (DBX could, on SUN Solaris).
#ifndef _MSC_VER #ifndef _MSC_VER
const char* DrawTrSurf_Set (const char* name, const Handle(Standard_Transient)& G) Standard_EXPORT const char* DrawTrSurf_Set (const char* name, const Handle(Standard_Transient)& G)
{ {
return DrawTrSurf_Set (name, (void*)&G); return DrawTrSurf_Set (name, (void*)&G);
} }
const char* DrawTrSurf_Set (const char* theName, const gp_Pnt& thePnt) Standard_EXPORT const char* DrawTrSurf_Set (const char* theName, const gp_Pnt& thePnt)
{ {
return DrawTrSurf_SetPnt (theName, (void*)&thePnt); return DrawTrSurf_SetPnt (theName, (void*)&thePnt);
} }
const char* DrawTrSurf_Set (const char* theName, const gp_Pnt2d& thePnt2d) Standard_EXPORT const char* DrawTrSurf_Set (const char* theName, const gp_Pnt2d& thePnt2d)
{ {
return DrawTrSurf_SetPnt2d (theName, (void*)&thePnt2d); return DrawTrSurf_SetPnt2d (theName, (void*)&thePnt2d);
} }