Re: C++ comment in gobject.h



On Fri, 8 Dec 2000, Alexander Larsson wrote:

> Index: gobject.h
> ===================================================================
> RCS file: /cvs/gnome/glib/gobject/gobject.h,v
> retrieving revision 1.6
> diff -u -p -r1.6 gobject.h
> --- gobject.h	2000/11/20 22:24:12	1.6
> +++ gobject.h	2000/12/08 15:44:04
> @@ -76,7 +76,7 @@ struct	_GObjectClass
>    guint	       n_param_specs;
>    GParamSpec **param_specs;
> 
> -  GObject*   (*constructor)	(GType		        type, // FIXME!!!
> +  GObject*   (*constructor)	(GType		        type, /* FIXME!!! */
>  				 guint		        n_construct_params,
>  				 GObjectConstructParam *construct_params);
>    void	     (*get_param)		(GObject	*object,
> 

i use /* FIXME */ to mark things that have to be fixed at some point
(and quite often fgrep FIXME my code).
i use // FIXME for things that have to be fixed asap, for one, it's
faster to type, and for another, there's always _someone_ bugging me
about c++ comments, this way i can actually turn that into an
advantage and not just be nerved ;)

> 
> / Alex
> 

---
ciaoTJ





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