EC_VEC_ADD_U32(3)
β¨ EC_VEC_ADD_U32 β¨
okay so bestie, welcome to Libecoli Programmer's Manual, section 3 π
this is the page for ec_vec_add_u32, and yes it's giving "tiny function, huge slay" energy π¦
πΈ NAME πΈ
ec_vec_add_u32 β Add uint32_t value to a vector. literally that's the whole job and she does it flawlessly π
π SYNOPSIS π
#include <ecoli/vec.h>
int ec_vec_add_u32(
struct ec_vec *vec,
uint32_t elt
);
ok so you pull in <ecoli/vec.h> first, no skipping that part π then you call ec_vec_add_u32 and hand it two things:
struct ec_vec *vecβ the vector you're adding to, she's the main character here πuint32_t eltβ the actualuint32_tvalue getting yeeted into that vector β¨
and she returns an int, because of course she does, she's a whole grown-up function π
not me being obsessed with a four-line function. anyway.
π SEE ALSO π
the whole friend group, all iconic, all worth a follow π«Ά
ec_vec_add_ptr(3)ec_vec_free(3)ec_vec(3)ec_vec_add_u8(3)ec_vec_add_u16(3)ec_vec_add_by_ref(3)ec_vec_get(3)ec_vec_ndup(3)ec_vec_dup(3)ec_vec_add_u64(3)
like if ec_vec_add_u32 is your girl, the other add functions are her sisters and they're all eating π₯
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's the whole page, bestie!! π this lil gem dropped as part of libecoli, dated 2026-06-11, and it lives at EC_VEC_ADD_U32(3) in the Libecoli Programmer's Manual. periodt. π
ππ¦
π¦ where this page comes from
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms