EC_VEC_ADD_PTR(3)
π EC_VEC_ADD_PTR(3) π
Libecoli Programmer's Manual page, bestie! This is ec_vec_add_ptr, and it's giving tiny helper with vector main-character energy. β¨
β¨ NAME β¨
ec_vec_add_ptr - Add opaque element to a vector.
Okay so literally: you got a vector, you got a void * element, and this function is the one that adds that opaque lil thing in. No cap. π«Ά
πΈ SYNOPSIS πΈ
#include <ecoli/vec.h>
int ec_vec_add_ptr(
struct ec_vec *vec,
void *elt
);
It returns an int, takes a struct ec_vec *vec and a void *elt, and lives in <ecoli/vec.h>. Slay. π
π¦ SEE ALSO π¦
Bestie, the whole friend group is here: 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), ec_vec_add_u32(3). Go read them, iykyk. π
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
xoxo, libecoli π 2026-06-11 π EC_VEC_ADD_PTR(3) π
π¦ 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