Skip to content

Commit

Permalink
Implemented missing ctypes attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason McCampbell (Enthought, Inc) committed Mar 16, 2011
1 parent 4d5a280 commit 4f5f4b5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions numpy/NumpyDotNet/ndarray.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f5f4b5

Please sign in to comment.