Re: [Tutor] passing values and C pointers

2018-05-06 Thread eryk sun
On Sun, May 6, 2018 at 2:17 AM, Brad M wrote: > > Say I have an array of values, say addresses or int produced by a c module/ > c function that's in a DLL , how do I pass that array back to > the python code? C arrays are passed and returned automatically as pointers to the first element. The arr

[Tutor] passing values and C pointers

2018-05-06 Thread Brad M
Hi all: Although I have college C++ 101 and Python 101 down my belt, I wan't taught how to read a reference manual to figure this out :( Say I have an array of values, say addresses or int produced by a c module/ c function that's in a DLL , how do I pass that array back to the python code? from