Menu

#103 [c#] Features csprepend, csappend & insert directive csharp

None
closed
None
5
2022-10-29
2005-01-05
No

This patch adds the features "csappend" and "csprepend"
and the insert directive "csharp" to the csharp module.
csappend and csprepend only work with ctors and
functions, properties are not supported. They add code
to an existing ctor or function.

Discussion

  • Alexander Olk

    Alexander Olk - 2005-01-05

    Diff for SWIG/Source/Modules/csharp.cxx

     
  • William Fulton

    William Fulton - 2005-02-02
    • assigned_to: nobody --> wsfulton
     
  • William Fulton

    William Fulton - 2005-11-09

    Logged In: YES
    user_id=242951

    The csconstruct typemap can now be used for modifying
    constructors (added in SWIG-1.3.25).

     
  • Olly Betts

    Olly Betts - 2006-09-25
    • summary: Features csprepend, csappend and insert directive csharp --> [c#] Features csprepend, csappend & insert directive csharp
     
  • Olly Betts

    Olly Betts - 2022-10-25

    @wsfulton I see you assigned this to yourself, but nearly 17 years ago now so I'm guessing it's no longer on your radar.

    Is the patch here something that's desirable to add in your view?

    If not, we should close this as "wontfix" rather than keeping it open indefinitely. If so, then the main problem seems to be it lacks a testcase to serve as a feature test.

     
  • William Fulton

    William Fulton - 2022-10-29
    • status: open --> closed
    • Group: -->
     
  • William Fulton

    William Fulton - 2022-10-29

    The 'cscode' typemap and the 'pre' and 'post' typemap attributes should cover what this patch is trying to do.

     

Log in to post a comment.