Commit 5d03262b authored by Jaime O. Rios's avatar Jaime O. Rios

Added message about 32-bit Obj-C to all @synthesize sections.

parent 10651d49
...@@ -708,7 +708,7 @@ void cv::setWindowTitle(const String& winname, const String& title) ...@@ -708,7 +708,7 @@ void cv::setWindowTitle(const String& winname, const String& title)
@synthesize firstContent; @synthesize firstContent;
@synthesize sliders; @synthesize sliders;
@synthesize status; @synthesize status;
#else #else // 32-bit Obj-C does not have automatic synthesize
@synthesize mouseCallback = _mouseCallback; @synthesize mouseCallback = _mouseCallback;
@synthesize mouseParam = _mouseParam; @synthesize mouseParam = _mouseParam;
@synthesize autosize = _autosize; @synthesize autosize = _autosize;
...@@ -745,7 +745,7 @@ void cv::setWindowTitle(const String& winname, const String& title) ...@@ -745,7 +745,7 @@ void cv::setWindowTitle(const String& winname, const String& title)
- (void)cvMouseEvent:(NSEvent *)event { - (void)cvMouseEvent:(NSEvent *)event {
//cout << "cvMouseEvent" << endl; //cout << "cvMouseEvent" << endl;
if([self mouseCallback] == nil) if([self mouseCallback] == nil)
return; return;
...@@ -864,7 +864,7 @@ void cv::setWindowTitle(const String& winname, const String& title) ...@@ -864,7 +864,7 @@ void cv::setWindowTitle(const String& winname, const String& title)
@implementation CVView @implementation CVView
#if defined(__LP64__) #if defined(__LP64__)
@synthesize image; @synthesize image;
#else #else // 32-bit Obj-C does not have automatic synthesize
@synthesize image = _image; @synthesize image = _image;
#endif #endif
...@@ -1000,8 +1000,7 @@ void cv::setWindowTitle(const String& winname, const String& title) ...@@ -1000,8 +1000,7 @@ void cv::setWindowTitle(const String& winname, const String& title)
@synthesize userData; @synthesize userData;
@synthesize callback; @synthesize callback;
@synthesize callback2; @synthesize callback2;
#else #else // 32-bit Obj-C does not have automatic synthesize
// 32-bit Obj-C does not have automatic synthesize
@synthesize slider = _slider; @synthesize slider = _slider;
@synthesize name = _name; @synthesize name = _name;
@synthesize value = _value; @synthesize value = _value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment