Re: missing _copy [Re: $region->get_clipbox copy rect]



On Sun, 2008-01-13 at 10:52 +1100, Kevin Ryde wrote:

The ones involving PangoColors baffle me.  They look like bugs in the  
code, but they have unit tests that show them to work correctly.

Are they "BoxedWrap" thingies instead, copying contents into an array,
instead of keeping a pointer ... maybe.

Yes.  In PangoAttributes.xs, we register custom wrapper functions for
PangoColor that convert the pointers to and from arrays.

-- 
Bye,
-Torsten




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]