From 4f5f4b5395965c478ece71036d9214e9d8abfb7a Mon Sep 17 00:00:00 2001 From: "Jason McCampbell (Enthought, Inc)" Date: Wed, 16 Mar 2011 17:38:57 -0500 Subject: [PATCH] Implemented missing ctypes attribute. --- numpy/NumpyDotNet/ndarray.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/numpy/NumpyDotNet/ndarray.cs b/numpy/NumpyDotNet/ndarray.cs index 12c54ccd1..6ccc36002 100644 --- a/numpy/NumpyDotNet/ndarray.cs +++ b/numpy/NumpyDotNet/ndarray.cs @@ -1322,6 +1322,13 @@ public ndarray T { } } + public object ctypes { + get { + return NpyUtil_Python.CallFunction(null, "numpy.core._internal", + "_ctypes", this, UnsafeAddress.ToPython()); + } + } + #endregion #region methods