Re: [Pyobjc-dev] How to use NSOpenGLContext.setValues_forParameter_ with PyObjC <= 2.2?
Brought to you by:
ronaldoussoren
From: Greg E. <gre...@ca...> - 2011-02-06 21:48:02
|
Phillip Nguyen wrote: > I'm calling > NSOpenGLContext.setValues_forParameter_() which takes as its first argument a > pointer to an int (or array of ints). It seems to work fine in PyObjC 2.3, but > in PyObjC 2.2b3 I get > > ValueError: depythonifying 'pointer', got 'int' Seeing as it's really a pointer to an array, have you tried something obvious such as a list of ints? -- Greg |