cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_setopt() typechecker, try2

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 4 Mar 2008 11:05:00 -0800

A couple of stylistic suggestions: ANSI reserves all identifiers beginning
with an underscore, so things like

 #define _curl_long_option(option)

should really have the leading underscore removed. Also, some macros are
called curl_is_xxx but others (like the above) aren't. I like the _is_
versions better because of the analogy to the standard C macros like
isupper() and isxdigit() and make it more clear what they're accomplishing.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-03-04