1
0
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:
Steve Holme 2016-04-09 17:04:46 +01:00
parent f044cbe6fc
commit 9b03bca6e6

View File

@ -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