dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #20992
Re: [noreply@xxxxxxxxxxxxx: [Branch ~dolfin-core/dolfin/main] Rev 5575: Add comment about dolfin_ prefix.]
The warning text in dolfin/ode/ODE.cpp:35 should be updated accordingly.
Benjamin
On 24 January 2011 15:08, Anders Logg <logg@xxxxxxxxx> wrote:
> I've removed all dolfin_ functions except for dolfin_debug and
> dolfin_not_implemented which are both macros and therefore can't be
> placed inside the dolfin namespace.
>
> --
> Anders
>
>
> ---------- Forwarded message ----------
> From: noreply@xxxxxxxxxxxxx
> To: Anders Logg <logg@xxxxxxxxx>
> Date: Mon, 24 Jan 2011 14:05:51 -0000
> Subject: [Branch ~dolfin-core/dolfin/main] Rev 5575: Add comment about dolfin_ prefix.
> ------------------------------------------------------------
> revno: 5575
> committer: Anders Logg <logg@xxxxxxxxx>
> branch nick: dolfin
> timestamp: Mon 2011-01-24 15:03:36 +0100
> message:
> Add comment about dolfin_ prefix.
> modified:
> dolfin/log/log.h
>
>
> --
> lp:dolfin
> https://code.launchpad.net/~dolfin-core/dolfin/main
>
> Your team DOLFIN Core Team is subscribed to branch lp:dolfin.
> To unsubscribe from this branch go to https://code.launchpad.net/~dolfin-core/dolfin/main/+edit-subscription
>
> === modified file 'dolfin/log/log.h'
> --- dolfin/log/log.h 2011-01-21 11:43:43 +0000
> +++ dolfin/log/log.h 2011-01-24 14:03:36 +0000
> @@ -4,7 +4,7 @@
> // Modified by Ola Skavhaug, 2007, 2009.
> //
> // First added: 2003-03-13
> -// Last changed: 2011-01-21
> +// Last changed: 2011-01-24
>
> #ifndef __LOG_H
> #define __LOG_H
> @@ -90,6 +90,10 @@
>
> }
>
> +// The following two macros are the only "functions" in DOLFIN
> +// named dolfin_foo. Other functions can be placed inside the
> +// DOLFIN namespace and therefore don't require a prefix.
> +
> // Debug macros (with varying number of arguments)
> #define dolfin_debug(msg) do { dolfin::__debug(__FILE__, __LINE__, __FUNCTION__, msg); } while (false)
> #define dolfin_debug1(msg, a0) do { dolfin::__debug(__FILE__, __LINE__, __FUNCTION__, msg, a0); } while (false)
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References