Add C implementation of test cpp_atomic_class_method

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Leif Middelschulte 2012-07-26 20:23:02 +00:00
commit 2080038170
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,13 @@
#include <assert.h>
#include "cpp_atomic_class_method/cpp_atomic_class_method_proxy.h"
int main(int argc, const char *argv[])
{
MyClass *mc = new_MyClass();
assert(MyClass_someMethod(mc) == 42);
delete_MyClass(mc);
return 0;
}