1) Not being much of a C guy myself, I'm not sure what to make of
all this pointer business. Especially since the object reference is capable of being indexed (and SO much more [>>> help(a)]) - Just don't try a.Address(0) like I just did - got a core dump on Mono - 2) C# type rules apply (except that python lets you try things like "a == input"); underneath Array.Equals(System.Array) is called. hence Int32(7) == 7 is false. - I tend to think of this package as a "wrist-friendly" (see Boo) wrapper over the Mono/.NET components more than a trying to be a type compatibility layer. 3) Slicing seems like something that is worth implementing. That would take a lot of typing out of Array.Copy(a1, srcIndx, a2, dstIndx, len) Great fun, Barton On 01/08/2013 12:31 AM, Jeffrey Bush
wrote:
How about my other questions? Pass as a pointer (like ctypes would do)? Convert that pointer back? And I don't seem to be able to get the slices (":") to work with byte arrays. |
_________________________________________________ Python.NET mailing list - PythonDotNet@python.org http://mail.python.org/mailman/listinfo/pythondotnet