dictCreate(3)
π dictCreate(3) π
okay bestie, so this is a page from the util/dict.h cinematic universe and we're literally about to create a whole new dictionary. no cap. it's giving β¨data structuresβ¨.
πΈ NAME πΈ
dictCreate β create new dictionary. that's it, that's the job, she's an icon, she's a legend and she IS the moment π
π SYNOPSIS π
#include <util/dict.h>
NEOERR *dictCreate(dictCtx *dict, BOOL threaded, UINT32 root, UINT32 maxLevel,
UINT32 flushLimit, BOOL useCase,
dictFreeValueFunc freeValue, void *freeRock);
look at her. eight whole parameters. she's high maintenance but she's worth it π
π¦ ARGUMENTS π¦
threadedβ true if list should be thread-safe. basically "do you want her to be able to handle multiple people at once or nah" πrootβ performance parameter (see above). yes bestie, it says "see above", we don't make the rules πmaxLevelβ performance parameter (see above). same energy fr frflushLimitβ max deleted items to keep cached before forcing a flush. like, she'll hold onto the ghosts for a bit but eventually she's gotta let them go πuseCaseβ true to be case sensitive in identifiers."BESTIE"and"bestie"are two different besties if this is on πfreeValueβ callback when freeing a value. she calls you up when it's time to say goodbye π«ΆfreeRockβ context forfreeValuecallback. your little emotional support rock that gets passed along with it πͺ¨
π DESCRIPTION π
Returns a dictionary. periodt. π
If <threaded> is true, list is multi-thread safe. so if you're living that chaotic multi-threaded main character life, flip that on and she can handle the group chat without any drama β¨
<root>, <maxLevel>, and <flushLimit> act as for skipNewList() (see skiplist.h). yes, the skiplist lore runs deep, iykyk π§
MT-Level: Safe. β say it with me: multi-thread SAFE. slay. π₯
β RETURN VALUE β
None.
and no bestie i do NOT mean "none as in she's useless", i mean the literal return value is None. the real treasure is the NEOERR * you get back in the synopsis. keep up π
π SEE ALSO π
dictDestroy(3)dictCleanup(3)dictReleaseLock(3)dictRemove(3)dictNext(3)dictCreate(3)β yes, herself. self-love queen πdictSetValue(3)dictModifyValue(3)dictSearch
okay that's the whole page bestie, go forth and create your dictionaries, i believe in you fr fr ππ
this one came from the ClearSilver girlies and she's dated 12 July 2007 β vintage, iconic, aged like fine wine πβ¨
π¦ where this page comes from
- debian bookworm: clearsilver-dev 0.10.5-4+b5
- debian trixie: clearsilver-dev 0.10.5-6+b1
- epel 10: clearsilver 0.10.5-80.el10_2 Β· Apache-1.1
- epel 9: clearsilver 0.10.5-74.el9 Β· Apache-1.1
- fedora 43: clearsilver 0.10.5-80.fc43 Β· Apache-1.1
- fedora 44: clearsilver 0.10.5-82.fc44 Β· Apache-1.1
- ubuntu jammy: clearsilver-dev 0.10.5-4build3
- ubuntu noble: clearsilver-dev 0.10.5-4build7
- ubuntu questing: clearsilver-dev 0.10.5-6build1
- ubuntu resolute: clearsilver-dev 0.10.5-7
- ubuntu stonking: clearsilver-dev 0.10.5-7build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms