Re: [Pyobjc-dev] VTK bindings
Brought to you by:
ronaldoussoren
From: Jack J. <Jac...@cw...> - 2003-12-03 09:59:36
|
On 2 Dec 2003, at 18:38, Ronald Oussoren wrote: > The problem is that PyObjCPointer is a not really a wrapped pointer, > when the PyObjCPointer object is created the value pointed-to is > copied into an internal buffer. Most of the time that doesn't work, > vtkRenderer is probably a C++ class and the copied value is invalid. > > I'll put creation of a real pointer wrapper on my todo-list, a generic > version of the types used to wrapped some other pointer types (see > pointer-support.m). Isn't cobject what you want here? It just gives you an opaque Python wrapper around a C pointer, but it looks like that could be good engouh. -- Jack Jansen <Jac...@cw...> http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman |