diff options
Diffstat (limited to 'numpy/distutils/tests/swig_ext/src/zoo.cc')
-rw-r--r-- | numpy/distutils/tests/swig_ext/src/zoo.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/numpy/distutils/tests/swig_ext/src/zoo.cc b/numpy/distutils/tests/swig_ext/src/zoo.cc deleted file mode 100644 index 0a643d1e5..000000000 --- a/numpy/distutils/tests/swig_ext/src/zoo.cc +++ /dev/null @@ -1,23 +0,0 @@ -#include "zoo.h" -#include <cstdio> -#include <cstring> - -Zoo::Zoo() -{ - n = 0; -} - -void Zoo::shut_up(char *animal) -{ - if (n < 10) { - strcpy(animals[n], animal); - n++; - } -} - -void Zoo::display() -{ - int i; - for(i = 0; i < n; i++) - printf("%s\n", animals[i]); -} |