[ros-dev] Re: [ros-diffs] [gvg] 19572: Implement adding new sections/lines/fields and writing the resulting file

Hartmut Birr osexpert at googlemail.com
Sat Nov 26 23:35:59 CET 2005


gvg at svn.reactos.com wrote:
> Implement adding new sections/lines/fields and writing the resulting file
> Added: trunk/reactos/lib/inflib/infhostglue.c
>   
> *Added: trunk/reactos/lib/inflib/infhostglue.c*
> --- trunk/reactos/lib/inflib/infhostglue.c	2005-11-25 21:29:16 UTC (rev 19571)
> +++ trunk/reactos/lib/inflib/infhostglue.c	2005-11-25 21:37:23 UTC (rev 19572)
> @@ -0,0 +1,24 @@
> +/*
> + * PROJECT:   .inf file parser
> + * LICENSE:   GPL - See COPYING in the top level directory
> + * COPYRIGHT: Copyright 2005 Ge van Geldorp <gvg at reactos.org>
> + */
> +
> +/* INCLUDES *****************************************************************/
> +
> +#include "inflib.h"
> +
> +#define NDEBUG
> +#include <debug.h>
> +
> +void
> +DbgPrint(const char *Fmt, ...)
> +{
> +  va_list Args;
> +
> +  va_start(Args, Fmt);
> +  vfprintf(stderr, Fmt, Args);
> +  va_end(Args);
> +}
> +
> +/* EOF */
>   

It is a little bit dirty to implement a well known function in a
different way.

- Hartmut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-dev/attachments/20051126/f03217d9/attachment.html


More information about the Ros-dev mailing list