Hi
- Original Message -
> On Fri, 2017-06-09 at 14:29 -0400, Marc-André Lureau wrote:
> > Hi
> >
> > - Original Message -
> > > Hi
> > >
> > > - Original Message -
> > > > > If I was reading the code of a project and noticed that they
> > > > > checked a
> > > > > global
On Fri, 2017-06-09 at 14:29 -0400, Marc-André Lureau wrote:
> Hi
>
> - Original Message -
> > Hi
> >
> > - Original Message -
> > > > If I was reading the code of a project and noticed that they
> > > > checked a
> > > > global variable every time before calling g_debug(), I would
Hi
- Original Message -
> Hi
>
> - Original Message -
> > > If I was reading the code of a project and noticed that they checked a
> > > global variable every time before calling g_debug(), I would find that
> > > very odd. For example:
> > >
> > > void foo(void)
> > > {
> > >
Hi
- Original Message -
> > If I was reading the code of a project and noticed that they checked a
> > global variable every time before calling g_debug(), I would find that
> > very odd. For example:
> >
> > void foo(void)
> > {
> > if (foo_get_debug()) {
> > g_debug("somethin
Hi,
On Fri, Jun 09, 2017 at 01:00:56PM -0500, Jonathon Jongsma wrote:
> On Fri, 2017-06-09 at 12:41 -0400, Marc-André Lureau wrote:
> > Hi
> >
> > - Original Message -
> > > Calling spice_util_get_debug() from the SPICE_DEBUG() macro is
> > > unnecessary since g_log() will already check w
Hi
- Original Message -
> On Fri, 2017-06-09 at 12:41 -0400, Marc-André Lureau wrote:
> > Hi
> >
> > - Original Message -
> > > Calling spice_util_get_debug() from the SPICE_DEBUG() macro is
> > > unnecessary since g_log() will already check whether the message
> > > will
> > > ac
On Fri, 2017-06-09 at 12:41 -0400, Marc-André Lureau wrote:
> Hi
>
> - Original Message -
> > Calling spice_util_get_debug() from the SPICE_DEBUG() macro is
> > unnecessary since g_log() will already check whether the message
> > will
> > actually be printed. The only benefit to calling th
>
> Hi
>
> - Original Message -
> > >
> > > Hi
> > >
> > > - Original Message -
> > > > Calling spice_util_get_debug() from the SPICE_DEBUG() macro is
> > > > unnecessary since g_log() will already check whether the message will
> > > > actually be printed. The only benefit to c
Hi
- Original Message -
> >
> > Hi
> >
> > - Original Message -
> > > Calling spice_util_get_debug() from the SPICE_DEBUG() macro is
> > > unnecessary since g_log() will already check whether the message will
> > > actually be printed. The only benefit to calling this function fr
>
> Hi
>
> - Original Message -
> > Calling spice_util_get_debug() from the SPICE_DEBUG() macro is
> > unnecessary since g_log() will already check whether the message will
> > actually be printed. The only benefit to calling this function from
> > SPICE_DEBUG() is that it ensures that th
Hi
- Original Message -
> Calling spice_util_get_debug() from the SPICE_DEBUG() macro is
> unnecessary since g_log() will already check whether the message will
> actually be printed. The only benefit to calling this function from
> SPICE_DEBUG() is that it ensures that the SPICE_DEBUG env
Calling spice_util_get_debug() from the SPICE_DEBUG() macro is
unnecessary since g_log() will already check whether the message will
actually be printed. The only benefit to calling this function from
SPICE_DEBUG() is that it ensures that the SPICE_DEBUG environment
variable gets read the very firs
12 matches
Mail list logo