1 Apr 2003 06:21
Re: MALLOC vs. malloc: maybe use __builtin_constant_p?
Jason Thorpe <thorpej <at> wasabisystems.com>
2003-04-01 04:21:05 GMT
2003-04-01 04:21:05 GMT
On Monday, March 31, 2003, at 07:14 PM, cgd <at> broadcom.com wrote:
> Maybe "The Right Thing" is to have a single blessed version, which uses
> __builtin_constant_p() to check whether the arg is a constant, and
> evaluates into the macro or the fn based on that...
Yah, that's a pretty good idea...
I'll take a look while I'm on the plane Wednesday...
-- Jason R. Thorpe <thorpej <at> wasabisystems.com>
RSS Feed