mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 20:15:03 -05:00
CODE_STYLE: Added ternary operator example to 'Space around operators'
Following conversation on the libcurl mailing list.
This commit is contained in:
parent
f044cbe6fc
commit
9b03bca6e6
@ -160,6 +160,7 @@ Examples:
|
|||||||
ptr = &address;
|
ptr = &address;
|
||||||
contents = *pointer;
|
contents = *pointer;
|
||||||
complement = ~bits;
|
complement = ~bits;
|
||||||
|
empty = (!*string) ? TRUE : FALSE;
|
||||||
|
|
||||||
## Platform dependent code
|
## Platform dependent code
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user