hzzc1987 / jnaerator

Automatically exported from code.google.com/p/jnaerator
0 stars 0 forks source link

Support of @property in Objective-C #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Take example code from [http://theocacao.com/document.page/510] :
{{{
@interface Movie : NSObject {

  NSString* title;
  NSString* studio;
  NSInteger yearReleased;
}

+ (id)movie;

@property (copy) NSString* title;
@property (copy) NSString* studio;
@property (assign) NSInteger yearReleased;
@property (readonly) NSString* summary;

@end
}}}

What is the expected output? What do you see instead?
We need to generate getters and/or setters for properties (readonly => no 
setter).

Original issue reported on code.google.com by olivier.chafik@gmail.com on 4 Jun 2009 at 8:42

GoogleCodeExporter commented 8 years ago

Original comment by olivier.chafik@gmail.com on 4 Jun 2009 at 8:43

GoogleCodeExporter commented 8 years ago

Original comment by olivier.chafik@gmail.com on 12 Jun 2009 at 12:40

GoogleCodeExporter commented 8 years ago

Original comment by olivier.chafik@gmail.com on 9 Oct 2009 at 12:25

GoogleCodeExporter commented 8 years ago
JNAerator 0.9.5 accepts this syntax but does not make use of it...

Original comment by olivier.chafik@gmail.com on 11 Oct 2010 at 1:55

GoogleCodeExporter commented 8 years ago
Hi,
This issue moved to Github :
https://github.com/ochafik/nativelibs4java/issues/112

Thanks for not updating this page anymore and adding further comments on Github.
Cheers
--
zOlive

Original comment by olivier.chafik@gmail.com on 1 Sep 2011 at 7:22