From: Arno P. <ar...@pu...> - 2011-02-07 06:47:40
|
the line of Objective-C code you pasted in your message does not seem to come from XMLVM's backend (formal parameters are named n1, n2, etc by the code generator). XMLVMArray is a helper class that is defined in xmlvm.h. The error you get could indicate that you didn't #import that header file. Arno On 2/6/11 9:24 PM, Wenjing Yan wrote: > Hello, > > I defined a method in Java as: > (void) read( byte[] buffer, int start, int maxLength); > > and translated this method into objc as: > +(void)read___byte_ARRAYTYPE_int_int :(XMLVMArray *)buffer :(int)start > :(int)length; > > But I got an error saying "error: expected ')' before 'XMLVMArray'". > Could someone provide me some valuable hints, please? Thank you in advance. > > > > > -- > /Best Regards > Wenjing Yan/ > > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |