Make main page of reference more precise.
This commit is contained in:
parent
d8582f33c1
commit
393c179c00
@ -57,7 +57,7 @@
|
||||
*
|
||||
* int main()
|
||||
* {
|
||||
* mastodonpp::Instance instance{"example.com", ""};
|
||||
* mastodonpp::Instance instance{"example.com", {}};
|
||||
* std::cout << "Maximum characters per post: "
|
||||
* << instance.get_max_chars() << std::endl;
|
||||
*
|
||||
@ -85,12 +85,10 @@
|
||||
*
|
||||
* @section thread_safety Thread safety
|
||||
*
|
||||
* The first time you construct an @link mastodonpp::Instance Instance @endlink
|
||||
* or @link mastodonpp::Connection Connection @endlink, [curl_global_init(3)]
|
||||
* (https://curl.haxx.se/libcurl/c/curl_global_init.html) is called. When the
|
||||
* last @link mastodonpp::Instance Instance @endlink or @link
|
||||
* mastodonpp::Connection Connection @endlink is destroyed,
|
||||
* [curl_global_cleanup(3)]
|
||||
* The first time you construct an @link mastodonpp::Instance Instance@endlink,
|
||||
* [curl_global_init(3)](https://curl.haxx.se/libcurl/c/curl_global_init.html)
|
||||
* is called. When the last @link mastodonpp::Instance Instance @endlink is
|
||||
* destroyed, [curl_global_cleanup(3)]
|
||||
* (https://curl.haxx.se/libcurl/c/curl_global_cleanup.html) is called. Both
|
||||
* are not thread safe.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user