Director %ignore test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5000f2c0a2
commit
9b8fd2ff04
3 changed files with 87 additions and 0 deletions
34
SWIG/Examples/test-suite/csharp/director_ignore_runme.cs
Normal file
34
SWIG/Examples/test-suite/csharp/director_ignore_runme.cs
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
using System;
|
||||
|
||||
namespace director_ignoreNamespace {
|
||||
|
||||
public class runme
|
||||
{
|
||||
static void Main()
|
||||
{
|
||||
runme r = new runme();
|
||||
r.run();
|
||||
}
|
||||
|
||||
void run()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
class DIgnoresDerived : DIgnores
|
||||
{
|
||||
public DIgnoresDerived() : base()
|
||||
{
|
||||
}
|
||||
|
||||
// These will give a warning if the %ignore is not working
|
||||
public virtual void OverloadedMethod(int n, int xoffset, int yoffset) {}
|
||||
public virtual void OverloadedMethod(int n, int xoffset) {}
|
||||
public virtual void OverloadedMethod(int n) {}
|
||||
|
||||
public virtual void ProtectedMethod(int n, int xoffset, int yoffset) {}
|
||||
public virtual void ProtectedMethod(int n, int xoffset) {}
|
||||
public virtual void ProtectedMethod(int n) {}
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue