Re: [Mesa-dev] Unify the style of function pointer calls in structs

2017-01-13 Thread Emil Velikov
Hi Boyan, On 25 November 2015 at 05:27, Boyan Ding wrote: > This series is a follow-up of Brian's patch ([1], commit 47fae842). It > converts nearly all of the function-pointer-in-a-struct calls from > (*foo->bar)(...) or (foo->bar)(...) > to > foo->bar(...) > > The sed regex to do the conver

[Mesa-dev] Unify the style of function pointer calls in structs

2015-11-24 Thread Boyan Ding
This series is a follow-up of Brian's patch ([1], commit 47fae842). It converts nearly all of the function-pointer-in-a-struct calls from (*foo->bar)(...) or (foo->bar)(...) to foo->bar(...) The sed regex to do the conversion looks like this (really ugly): s/(\*\?\([^*(), \]]*->[^*), \]]*\))