[webkit-dev] Change to style guideline: should use type& instead of type* for out arguments

Ryosuke Niwa rniwa at webkit.org
Tue Oct 4 14:13:48 PDT 2011


On Tue, Oct 4, 2011 at 2:11 PM, Peter Kasting <pkasting at chromium.org> wrote:

> On Tue, Oct 4, 2011 at 2:06 PM, Ryosuke Niwa <rniwa at webkit.org> wrote:
>
>> In my understanding, we use pass by reference for out arguments when they
>> have to be modified in callees.
>>
>
> I had not heard this.
>

As far as I know, this is the convention used in the majority of WebCore.

- Ryosuke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20111004/78c03152/attachment.html>


More information about the webkit-dev mailing list