Revision: 1536
http://sourceforge.net/p/opengtoolkit/svn/1536
Author: labviewer
Date: 2015-07-31 23:16:09 +0000 (Fri, 31 Jul 2015)
Log Message:
-----------
Fix the definition of the macro
Modified Paths:
--------------
trunk/labpython/c source/lvsnapi.h
Modified: trunk/labpython/c source/lvsnapi.h
===================================================================
--- trunk/labpython/c source/lvsnapi.h 2015-07-29 21:02:00 UTC (rev 1535)
+++ trunk/labpython/c source/lvsnapi.h 2015-07-31 23:16:09 UTC (rev 1536)
@@ -101,22 +101,17 @@
#define lvsnFAILURE 0
#define kMaxErrStringLength 0x400
-typedef struct {
+typedef struct
+{
int32 len;
LStrHandle elm[4];
} **LStrArrayHdl;
-#if !defined(NIPrivatePtr)
- #if defined(LV_PRIVATE_POINTER)
- #define NIPrivatePtr(p) LV_PRIVATE_POINTER(p) // LV 8.5 - LV 2011
- #elif defined(PrivatP)
- #define NIPrivatePtr(p) PrivatP(p) // <= LV 8.2.1
- #else
- #error Unsupported cintools headers
- #endif
+#if !defined(LV_PRIVATE_POINTER)
+ #define LV_PRIVATE_POINTER(p) PrivateP(p) // >= LV 8.5
#endif
-NIPrivatePtr(lvsnInstance);
+LV_PRIVATE_POINTER(lvsnInstance);
/********************************************************************************/
/* */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|