|
Passing pointers to longs: msg#00159programming.swig
I was under the impressoin that SWIG had some basic handling built into it for things like the following: /* C code */ extern char getInt32(unsigned long *value); But when I try to compile java against it, I get: Main.java:13: getInt32(SWIGTYPE_p_unsigned_long) in Object cannot be applied to (long) System.out.println(Object.getInt32(value)); ^ Where value is defined in Java as: long value; What am I doing wrong? +==========================================================+ Brian N. Hawley bhawley@xxxxxxxxxxx Luminex Software, Inc. http://www.luminex.com PO Box 5908 voice: 909-781-4100 x112 Riverside, CA 92517 fax: 909-781-4105 +==========================================================+ _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | function pointers in structures and Java: 00159, Brian Hawley |
|---|---|
| Next by Date: | Re: Null reference: 00159, Luigi Ballabio |
| Previous by Thread: | function pointers in structures and Javai: 00159, Brian Hawley |
| Next by Thread: | Re: Passing pointers to longs: 00159, William S Fulton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |