|
Re: RE:: msg#00020programming.swig
On Thursday 06 May 2004 03:17, Devender Marri wrote: > Hi all, > > How to pass a java function as a pointer to a c or c++ function.??? The short answer is, no. The two ideas are semantically (if not just purely functionally) disjoint. You might want to read up on Java JNI. Then it'll be clear to you why this isn't strictly possible. You might be able to create an object wrapping template that does what you want, but if you do this, you're not strictly passing a c/c++ pointer to a function as a parameter any more. But it might satisfy your "requirement" to upcall a Java method indirectly by passing a pointer to something as a method argument. _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: SWIG and autotools: 00020, Drummonds, Scott B |
|---|---|
| Next by Date: | RE: SWIG and autotools: 00020, Pereira, Ricardo Scachetti |
| Previous by Thread: | RE:i: 00020, Devender Marri |
| Next by Thread: | Splitting Wrappers: 00020, swente |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |