Re: [Python-Dev] Memoryviews should expose the underlying memory address

2012年9月20日 11:37:42 -0700

Well, if it's supposed to do that, it certainly doesn't work for me in 3.3. I 
get a type error about it wanting a ctypes pointer object. Even if this 
worked, it still doesn't address the need to get the pointer value possibly for 
some other purpose such as handling it off to a bunch of code generated via 
LLVM. 
Cheers,
Dave
On Sep 20, 2012, at 1:20 PM, Benjamin Peterson wrote:
> 2012年9月20日 David Beazley <[email protected]>:
>> How? I must be missing something very obvious.
> 
> If you have some ctypes function that requires a pointer and you pass
> a memoryview, ctypes should pass the pointer to the raw memory, right?
> 
> 
> 
> -- 
> Regards,
> Benjamin
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to