On 27.8.2010 12:02, Julien Cristau wrote:
> On Fri, Aug 27, 2010 at 11:26:59 +0200, Zdenek Kabelac wrote:
>
>> Why keeping different name for C++ and C ?
>>
> Because changing the name for C means breaking API for existing users,
> which is not a nice thing to do.
>


Well if DRM would have very stable API - it would make sence - but from a view 
of occasional user who needs to compile drm for intel driver - it seems the 
API is changed so frequently and in such an incompatible way that this change 
doesn't look all that bad.

How many libdrm project users are there - and how often is this variable used 
outside of libdrm ?

Now C++ will use different names for same variables - that IMHO bigger issue...

Also - if headers are supposed to be C++ friendly - maybe usage of
extern "C" might be handy for such case ?

Zdenek


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to