On Thu, Feb 08, 2018 at 03:58:46AM -0500, Frediano Ziglio wrote:
> > +
> > +[source,h]
> > +---
> > +#ifndef MY_MODULE_H
> > +#define MY_MODULE_H
> > +
> > +...
> > +
> > +#endif /* MY_MODULE_H */
> > +---
> > +
> 
> Are we suggesting C style only comment or is clear the is not important?
> (I'm just drinking my first coffee this morning)

spice-server is consistently using #endif /* */ for header guards, I'd
rather this stays consistent. I'd say use /* */ in C projects, and // in
C++ ones.

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to