QB_ARRAY_NEW_BIN_CB_SET(3)

πŸ’– QB_ARRAY_NEW_BIN_CB_SET πŸ’–

okay bestie, this one lives in the libqb Programmer's Manual (section 3, the library-calls girlies) and it's literally called qb_array_new_bin_cb_set β€” get a callback when a new bin is allocated. no cap. 🫢


✨ NAME ✨

qb_array_new_bin_cb_set β€” get a callback when a new bin is allocated. πŸŽ€


🌸 SYNOPSIS 🌸

#include <qb/qbarray.h>

int32_t qb_array_new_bin_cb_set(
    qb_array_t             *a,
    qb_array_new_bin_cb_fn  fn
);

so you pass in a pointer to your qb_array_t as *a, and your callback function as *fn, and it hands you back an int32_t. that's the whole vibe. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

bestie. i'm gonna be so fr fr with you right now. the DESCRIPTION section on this page is empty. like, not "short", not "implied", not "read between the lines" β€” genuinely nothing there. πŸ’€

which is honestly iconic of it, but it does mean i'm not about to sit here and make stuff up about what this function does, because that would be a fake technical claim and we do not do those in this group chat. what the NAME line tells you is exactly what's on the tin: you set a callback, and that callback gets called when a new bin is allocated. everything past that? the source code is right there, queen. go look. πŸ‘‘


🌈 SEE ALSO 🌈

the little family of related calls, all of them bangers:


Copyright (C) 2010-2020 Red Hat, Inc.


heads up bestie: this is the libqb manual, dated 2025-09-16, and it's a section 3 page β€” library functions, iykyk. πŸ’–

okay that's the whole page, mwah, go write some C, you ate. 🧚✨

πŸ“¦ where this page comes from