On 11/08/2011 12:30 PM, Jose Fonseca wrote:
> Second, it would really help to clearly distinguish headers that are meant to 
> be used exclusive by C++ with a different suffix (e.g., .hpp). And leave .h 
> for headers that are meant for joint C/C++ consuption.
> 
> Take e.g., ../glsl/program.h, are these supposed to be C functions or C++ 
> functions? There's no way to tell just from reading the headers. So it's not 
> clear if those type/functions should be inside extern "C"  {..} or not.
> 
> 
> Is this OK?

I agree. Pure C++ headers should have the .hpp extension. That would eliminate 
some unnecessary confusion.

-- 
Chad Versace
c...@chad-versace.us



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to