diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-05-17 22:02:40 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-05-17 22:02:40 +0000 |
commit | a27f468bd852b6ff7cce4740c2980b5e66081e41 (patch) | |
tree | fc3f3a83b00dc8c96c509cc1e3d462835ed1b5c5 /numpy | |
parent | 0f8a56410d6a780eb23558f33e9ef01759922dfc (diff) | |
download | numpy-a27f468bd852b6ff7cce4740c2980b5e66081e41.tar.gz |
Change from C++ comments
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/doc/swig/Series.i | 10 | ||||
-rw-r--r-- | numpy/doc/swig/numpy.i | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/numpy/doc/swig/Series.i b/numpy/doc/swig/Series.i index 8265dd35d..f9a5b2cc3 100644 --- a/numpy/doc/swig/Series.i +++ b/numpy/doc/swig/Series.i @@ -5,27 +5,27 @@ #include "series.h" %} -// Get the Numeric typemaps +/* Get the Numeric typemaps */ %include "numpy.i" %init %{ import_array(); %} -// Apply the Numeric typemaps for 1D input arrays +/* Apply the Numeric typemaps for 1D input arrays */ %apply (short* IN_ARRAY1, int DIM1) {(short* series, int size)}; %apply (int* IN_ARRAY1, int DIM1) {(int* series, int size)}; %apply (long* IN_ARRAY1, int DIM1) {(long* series, int size)}; %apply (float* IN_ARRAY1, int DIM1) {(float* series, int size)}; %apply (double* IN_ARRAY1, int DIM1) {(double* series, int size)}; -// Apply the Numeric typemaps for 2D input arrays +/* Apply the Numeric typemaps for 2D input arrays */ %apply (int* IN_ARRAY2, int DIM1, int DIM2) {(int* matrix, int rows, int cols)}; %apply (double* IN_ARRAY2, int DIM1, int DIM2) {(double* matrix, int rows, int cols)}; -// Apply the Numeric typemaps for 1D input/output arrays +/* Apply the Numeric typemaps for 1D input/output arrays */ %apply (int* INPLACE_ARRAY1, int DIM1) {(int* array, int size)}; %apply (double* INPLACE_ARRAY1, int DIM1) {(double* array, int size)}; -// Include the header file to be wrapped +/* Include the header file to be wrapped */ %include "series.h" diff --git a/numpy/doc/swig/numpy.i b/numpy/doc/swig/numpy.i index 9e061a9a1..9c9e94878 100644 --- a/numpy/doc/swig/numpy.i +++ b/numpy/doc/swig/numpy.i @@ -1,4 +1,4 @@ -// -*- C -*- (not really, but good for syntax highlighting) +/* -*- C -*- (not really, but good for syntax highlighting) */ %{ #ifndef SWIG_FILE_WITH_INIT # define NO_IMPORT_ARRAY @@ -107,7 +107,7 @@ PyArrayObject* obj_to_array_allow_conversion(PyObject* input, int typecode, } else { py_obj = PyArray_FromObject(input, typecode, 0, 0); - // If NULL, PyArray_FromObject will have set python error value. + /* If NULL, PyArray_FromObject will have set python error value.*/ ary = (PyArrayObject*) py_obj; *is_new_object = 1; } |