On 02/01/2016 02:19 PM, Hailiang Zhang wrote: > On 2016/2/1 11:05, Jason Wang wrote: >> >> >> On 01/27/2016 04:29 PM, zhanghailiang wrote: >>> Make the helper object_create() public and fix its first >>> parameter to accept NULL value. >> >> Looks not very nice. Maybe pass a new predicate func for sanity check it >> better. >> > > OK, but here is it better to check if the predicate func is NULL ? > > Thanks, > Hailiang
Not sure, but if you stick to check against NULL, need a separate patch.