[webkit-efl] Announcement of Coding Style Change in WebKit EFL port

Raphael Kubo da Costa kubo at profusion.mobi
Tue Jan 3 04:27:41 PST 2012


Tomasz Morawski <t.morawski at samsung.com> writes:

> W dniu 03.01.2012 12:49, Raphael Kubo da Costa pisze:
>> Tomasz Morawski<t.morawski at samsung.com>  writes:
>>
>>> What about using new/delete operator for memory allocation/free
>>> everywhere inside internal implementation? For example:
>>>
>>> tile = static_cast<Ewk_Tile*>(malloc(sizeof(Ewk_Tile)));
>>>
>>> I think it could be simpler and better to just write:
>>>
>>> tile = new EwkTile;
>>
>> That'd be really good. Plus using smart pointers wherever possible :)
> So, since there is general agreement for that, could we add this to
> EFL coding style?

Sure. Could you add that to the Trac page?

-- 
Raphael Kubo da Costa
ProFUSION embedded systems
http://profusion.mobi



More information about the webkit-efl mailing list