lmi
[Top][All Lists]
Advanced

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

Re: [lmi] [lmi-commits] master 8cccd20 5/9: Note a mystery


From: Vadim Zeitlin
Subject: Re: [lmi] [lmi-commits] master 8cccd20 5/9: Note a mystery
Date: Sun, 23 Sep 2018 15:38:30 +0200

On Sat, 22 Sep 2018 23:21:47 +0000 Greg Chicares <address@hidden> wrote:

GC> On 2018-09-19 15:30, Vadim Zeitlin wrote:
GC> > On Wed, 19 Sep 2018 09:19:33 -0400 (EDT) Greg Chicares <address@hidden> 
wrote:
GC> > 
GC> > GC>     Note a mystery
GC> 
GC>     // PDF !! Apparently this is some sort of quasi-global object?
GC>     html_cell_for_pdf_output::pdf_context_setter the_pdf_context

 Sorry for all the confusion which probably cost you a lot of time, but,
just to confirm, your new found understanding is absolutely correct and
it's only html_cell_for_pdf_output::pdf_context which is global (and,
unfortunately, has to be with the current wxHTML API), while
pdf_context_setter is just a local variable using RAII to set and, most
importantly, automatically reset pdf_context on scope exit.

 Sorry again for being unclear,
VZ


reply via email to

[Prev in Thread] Current Thread [Next in Thread]