|
SWIG_ConvertPtrFromString bug in SWIG 1.3.20 & 1.3.21: msg#00175programming.swig
There appears to be a lingering bug with the call to SWIG_ConvertPtrFromString in both SWIG 1.3.20 and 1.3.21 while generating Tcl wrappers. The new version of this function takes only 4 arguments, but there are some places in the generated code where this function is being incorrectly passed 5 arguments. Here is a code excerpt with the bad call - // Convert the string name to a real C++ pointer if (SWIG_ConvertPtrFromString(interp, cargs, (void**)&temp, ty, 0) != TCL_OK) { Tcl_AppendResult(interp,"Conversion from Tcl pointer to PixLoc* failed: \n", " SWIG_ConvertPtrFromString failed!", " input = ", cargs, (char *)NULL); Tcl_Free((char *) ty); Tcl_Free((char *) temp_argv); return TCL_ERROR; } Thanks. Abhi _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Perl typemaps for byte arrays: 00175, Henri Asseily |
|---|---|
| Next by Date: | Re: SWIG_ConvertPtrFromString bug in SWIG 1.3.20 & 1.3.21: 00175, Matthias Koeppe |
| Previous by Thread: | bug while wrapping const char arrays without an explicitly defined sizei: 00175, Oren Miller |
| Next by Thread: | Re: SWIG_ConvertPtrFromString bug in SWIG 1.3.20 & 1.3.21: 00175, Matthias Koeppe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |