Menu

#244 [Tcl] typemap for std::vector<T*> produces list of T**

open
nobody
None
5
2012-12-21
2010-07-22
eNtity
No

Improved patch that fixes bug ID: 2919243 and issue with the initial fix to Lib/tcl/std_vector.i

- get method of vector in specialized template implementation returned value using type T*&, that was interpreted to final type T**.
- original fix and example code by Chris Hill ( gbrchill ) - 2009-12-22 12:14:14 EET

Patch is against svn revision r12163.

Discussion

  • eNtity

    eNtity - 2010-07-22

    patch for Lib/tcl/std_vector.i

     
  • eNtity

    eNtity - 2010-07-22

    Example code for testing

     
  • Olly Betts

    Olly Betts - 2010-10-01

    Patch looks reasonable (except for the first hunk which reintroduces the old licence boilerplate), and the tcl testsuite still passes with it applied.

    It would be good to slot the testcase into the testsuite so we have test coverage to ensure this actually works, and continues to do so. I'll take a look when I get a chance, but if anyone fancies a go, feel free to beat me to it!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.