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

Raphael Kubo da Costa kubo at profusion.mobi
Tue Jan 3 03:49:44 PST 2012


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 :)

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



More information about the webkit-efl mailing list