|
How to convert “Swig Tcl Pointer” to “C++ Pointers” ?: msg#00138programming.swig
Morteza Saheb Zamani writes: > Hi, > I have a C++ program in which several classes are > defined. Swig converts my C++ classes into .so (shared > object) file to be able to load them into Tcl. > > Now, I want to have a copy of the objects (created in > Tcl) inside C++. Is there any way to convert the Tcl > pointer (which is in the form of a string) into actual > pointers usable in C++? > Yes, you just give it to any SWIG-wrapped function that takes a pointer. What more are you looking for? -- Dave _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | How to convert “Swig Tcl Pointer” to “C++ Pointers” ?: 00138, Morteza Saheb Zamani |
|---|---|
| Next by Date: | Re: How can I map "C" unsigned char[] to byte[] in Java ?: 00138, William S Fulton |
| Previous by Thread: | How to convert “Swig Tcl Pointer” to “C++ Pointers” ?i: 00138, Morteza Saheb Zamani |
| Next by Thread: | How to convert “Swig Tcl Pointer” to “C++ Pointers” ?: 00138, Morteza Saheb Zamani |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |