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 <d...@dabeaz.com>:
>> 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
Python-Dev@python.org
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