~mcfletch/pyopengl/trunk

Viewing all changes in revision 1027.

  • Committer: Mike C. Fletcher
  • Date: 2018-02-18 18:20:02 UTC
  • Revision ID: mcfletch@vrplumber.com-20180218182002-tnry9i01vc86d2is
Bugfix for ctypes arrays of c_void_p and for multi-dimensional array coercion

c_void_p wasn't previously registered as a "guessable" type, so if you
tried to auto-convert an array of c_void_p references you would get an error

multidimensional ctypes array conversions where you were relying on 
automatic type-guessing would fail due to our only looking at the 
"first" _type_ of the array, in ctypes you need to keep drilling 
down through ._type_._type_. etc.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: