Re: [pygccxml-development] Additional attribute functionality
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2007-12-04 08:22:49
|
On Dec 4, 2007 10:11 AM, Ben Schleimer <bsc...@lu...> wrote: > Hi Roman, > I have another patch here which contains the previous patch and adds > size,align,offset info the correct classes. > Again, I hope it makes sense. One thing I would change is more the > __read_size/align into the method reading the types and classes. > I will apply it later. > Maybe it makes sense to have class_t inherit from type_t because they are > very similar? > > You just discovered the awful mistake I made. You are absolutely right - everything should derive from type_t. I cannot fix the mistake, without introducing backward compatibility problems for the users. I prefer to implement this change after official 1.0 release of the project, where I will allow to myself to break it. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |