#147 Directors for C#

closed-invalid
None
5
2006-05-16
2006-04-11
No

This patch contains support for directors in C#. It passes most of the director tests in the test suit, but some with warnings.

There are no support for destructor destructors yet, and exceptions thrown in a C# director can't be caught in C++.

Discussion

  • Mikael Magnusson

    Logged In: YES
    user_id=141160

    The following patch fixes a problem with return values from
    directors.

    --- SWIG/Lib/csharp/csharp.swg.bak 2006-04-08
    00:54:37.000000000 +0200
    +++ SWIG/Lib/csharp/csharp.swg 2006-04-17
    20:12:25.000000000 +0200
    @@ -163,7 +163,7 @@
    unsigned long long,
    float,
    double
    -%{ $1 = $input; %}
    +%{ $result = $input; %}

    %typemap(csdirectorin) bool,
    char,

     
  • William Fulton

    William Fulton - 2006-05-16
    • assigned_to: nobody --> wsfulton
    • status: open --> closed-invalid
     
  • William Fulton

    William Fulton - 2006-05-16

    Logged In: YES
    user_id=242951

    Firstly, thanks for the patch. Secondly, I committed another
    C# director implementation into cvs a few days ago which I
    did a couple of months ago. It has been underoing quite a
    bit of rigourous testing over the last few months. The
    entire test-suite also passes with this implementation,
    barring some protected virtual function warnings. I'm afraid
    when I tried your patch, it failed all the important tests,
    so I decided to stick with the patch I'd already done. If
    you have any improvements please submit them with patches
    against cvs.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks