FROM : Roland Silver
DATE : Sat Jul 22 16:21:10 2006
In an @interface declaration, how do I declare an instance variable
foo to be a function with no arguments returning int?
I've tried
(int (void))foo;
and
int (void)*foo;
which yield the error message
parse error before '(' token
and
int (void)foo;
and
int (void)*foo;
which yield
parse error before 'void'
-- Roland Silver <<email_removed>>
DATE : Sat Jul 22 16:21:10 2006
In an @interface declaration, how do I declare an instance variable
foo to be a function with no arguments returning int?
I've tried
(int (void))foo;
and
int (void)*foo;
which yield the error message
parse error before '(' token
and
int (void)foo;
and
int (void)*foo;
which yield
parse error before 'void'
-- Roland Silver <<email_removed>>
| Related mails | Author | Date |
|---|---|---|
| Roland Silver | Jul 22, 16:21 | |
| James Bucanek | Jul 22, 16:48 |






Cocoa mail archive

