« Return to Thread: Almost empty cs file created

Almost empty cs file created

by Juan Manuel Alvarez :: Rate this Message:

Reply to Author | View in Thread

Hello everyone! I am having a little doubt I would like to share.

I am wrapping to C# and given a simple file like:

%module myModule
%{
#include "myModule.h"
%}
namespace fzm
{
class MyClass
{
      // ... interface here....
};
}

The thing is that SWIG generates 3 files:
- MyClass.cs with the class itselft
- myModulePINVOKE.cs with all the pinvoke stuff
- myModule.cs with the following code:

namespace NS {

using System;
using System.Runtime.InteropServices;

public class myModule {
}

}

The question is... even if the file does no harm, is there a way to
tell SWIG no to generate it?

Thanks is advance!
Juan M.

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user

 « Return to Thread: Almost empty cs file created