MONGOC_TOPOLOG...PTION_NEW_COPY(3)
β¨ mongoc_topology_description_new_copy(3) β¨
Okay so this page is from the libmongoc manual, and it's literally the copy-paste glow-up for your topology description π
No cap.
πΈ SYNOPSIS πΈ
mongoc_topology_description_t *
mongoc_topology_description_new_copy (
const mongoc_topology_description_t *description);
π PARAMETERS π
descriptionβ amongoc_topology_description_t. That's the thing you're copying, bestie.
π¦ DESCRIPTION π¦
It performs a deep copy of description. Like, a whole full duplicate, no cap π₯
π RETURNS π
You get a newly allocated copy of description back, and you should free it with mongoc_topology_description_destroy() when it's no longer in use. If description is NULL, it returns NULL. Periodt π
π AUTHOR π
MongoDB, Inc β iconic.
π COPYRIGHT π
2009-present, MongoDB, Inc. β yup, they've been holding it down.
That's the whole page, bestie π«Ά Source: libmongoc, version 2.5.6, dated Oct 09, 202 β slay and stay copied π
β¨
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms