gCAD3D 2.35
ut_cast.h
Go to the documentation of this file.
1 
18 #define LONG_PTR(vp1) (long)vp1
20 
22 #define INT_PTR(vp1) (int)((long)vp1)
23 
25 #ifdef _LP64
26 // #define INT_PTR(vp1) (int)((long)vp1)
27 // #define LONG_PTR(vp1) (long)vp1
28 #define PTR_INT(i1) (void*)((long)i1)
29 #else
30 // #define INT_PTR(vp1) (int)((int)vp1)
31 // #define LONG_PTR(vp1) (long)vp1
32 #define PTR_INT(i1) (void*)((int)i1)
33 #endif
34 
35 
37 #define PTR_LONG(l1) (void*)l1
38 
40 #define PTR_CHRA(txt) (void*)txt
41 
43 #define TXT_PTR(vp1) (char*)(vp1)
44 
45 
46 // EOF