[Numpy-svn] [numpy/numpy] 56a547: ENH: Add const qualifier to some arguments in ndar...

GitHub noreply@github....
Thu Feb 16 20:38:19 CST 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 56a54727433d38cc3e9187c029a0d2bcfdcfcc2f
      https://github.com/numpy/numpy/commit/56a54727433d38cc3e9187c029a0d2bcfdcfcc2f
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2012-02-16 (Thu, 16 Feb 2012)

  Changed paths:
    M numpy/core/include/numpy/ndarraytypes.h

  Log Message:
  -----------
  ENH: Add const qualifier to some arguments in ndarraytypes.h functions.

Some of the new access functions in ndarraytypes.h can use the const
qualifier. In particular, this avoids a lot of warnings when the code in
f2py is updated to use non-deprecated means of accessing ndarray internals.





More information about the Numpy-svn mailing list