On 01/19/2016 02:51 PM, Ronald S. Bultje wrote:
What I did in vp8 (if I remember correctly) in those cases is to split the
top line:

static av_always_inline long_return_type_name
far_too_long_function_name(type arg1, type arg2,
                            type arg3, type arg4)
{
     ..
}

May be helpful, but all of this is very personal-taste-ish...

Ronald

Yes, that's one way to do it, of course :) Otherwise, *if* I'm forced to do anything that breaks this rule, I always use 8 columns indentation for anything that continues on to the next line, to differentiate it from "normal" indentations of 4 columns. But I'll try to stick to what's customary as much as I can.

Mats

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to