summaryrefslogtreecommitdiff
path: root/scipy/weave/examples/swig2_ext.h
blob: 457bc97a0a4736c33e4b953b830862e4054f3b83 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <iostream>
class A {
public:
   void f() {std::cout << "A::f()\n";}
};

A* foo()
{
   A* a = new A;
   return a;
}