On Thu, 1 Mar 2012, Andreas F?rber wrote: > Am 01.03.2012 09:17, schrieb malc: > > On Thu, 1 Mar 2012, Andreas F?rber wrote: > > > >> Am 29.02.2012 10:05, schrieb ???: > >>> On Wed, Feb 29, 2012 at 10:59:54AM +0400, Michael Tokarev wrote: > >>>> On 29.02.2012 09:52, Evgeny Voevodin wrote: > >>>>> include/qemu/object.h: > >>>> [] > >>>>> * void my_device_class_init(ObjectClass *klass, void *class_data) > >>>>> * { > >>>>> * DeviceClass *dc = DEVICE_CLASS(klass); > >>>>> * dc->reset = my_device_reset; > >>>>> * } > >>>>> * > >>>>> > >>>>> Why to use "klass", not "class"? > >>>> > >>>> Because in C++, "class" is a reserved word. It is quite typical idiom > >>>> to replace class with klass in (public) headers. > >>> > >>> I thought QEMU is written in C, right? Is there anything related to C++? > >> > >> A while back there was a patch that added a C++ audio backend, for > >> instance. I didn't get around to cleaning the patch up yet though. > >> > > > > The real reason, ofcourse, is that germans are taking over the world, > > nothing new here. > > Actually the Haiku patch was by a Swiss and Anthony is American I guess. > > In German it would be Klasse. ;)
Ich weiss das >B) -- mailto:av1...@comtv.ru