Re: [Pyobjc-dev] VTK bindings
Brought to you by:
ronaldoussoren
From: Carlos P. <ca...@ci...> - 2003-12-04 04:39:20
|
On Dec 3, 2003, at 4:59 AM, Jack Jansen wrote: > > 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. > Actually you might be right. This is not ideal, but it would do. hat is this cobject? How can I use it? Carlos |