diff options
author | Travis Oliphant <oliphant@enthought.com> | 2005-09-26 20:20:16 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2005-09-26 20:20:16 +0000 |
commit | 45d01a4be1c4221132ba46d687e6af3a8df3329b (patch) | |
tree | ce3be5290e918def7c7187e747c5460193b0ca85 /scipy/weave/examples/swig2_ext.h | |
parent | ccd1c3db37672627aa4fe0fdb5437f5dddc0fe86 (diff) | |
download | numpy-45d01a4be1c4221132ba46d687e6af3a8df3329b.tar.gz |
Moved weave
Diffstat (limited to 'scipy/weave/examples/swig2_ext.h')
-rw-r--r-- | scipy/weave/examples/swig2_ext.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scipy/weave/examples/swig2_ext.h b/scipy/weave/examples/swig2_ext.h new file mode 100644 index 000000000..457bc97a0 --- /dev/null +++ b/scipy/weave/examples/swig2_ext.h @@ -0,0 +1,11 @@ +#include <iostream> +class A { +public: + void f() {std::cout << "A::f()\n";} +}; + +A* foo() +{ + A* a = new A; + return a; +} |