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:
William S Fulton 2006-09-20 20:39:50 +00:00
commit 9b8fd2ff04
3 changed files with 87 additions and 0 deletions

View 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) {}
}
}