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

Tomasz Morawski t.morawski at samsung.com
Tue Jan 3 04:18:05 PST 2012


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?



More information about the webkit-efl mailing list