Re: Review of sizeof usage
From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 13 Aug 2015 11:17:40 +0100
Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com> writes:
>> I prefer the explicit type as it is easier to grep.
If I want to find all the locations that a given type is allocated then
type_t *p;
and this:
void foo(type_t **p, apr_pool_t *pool)
Finding sizeof(type_t) is easier.
-- Philip Martin WANdiscoReceived on 2015-08-13 12:18:13 CEST |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.