vf_delete_prop(3)
π vf_delete_prop β from the vf_delete_prop(3) pages of the Library Functions Manual β¨
okay bestie, gather round, because today we are learning how to yeet a property out of an object and honestly? it's giving spring cleaning π§ΉπΈ
β¨ NAME β¨
vf_delete_prop β literally just vf_delete_prop(), the girlies said "name it after itself" and honestly? iconic. no cap. π
πΈ SYNOPSIS πΈ
#include <../vformat/vf_iface.h>
extern void vf_delete_prop
(
VF_OBJECT_T *p_object,
VF_PROP_T *p_prop,
bool_t dc
);
yes she's extern, yes she returns void, yes we love a low-commitment queen π«Ά
π PARAMETERS π
VF_OBJECT_T *p_objectβ the object we're deleting from. this is the lil home base we're tidying up πVF_PROP_T *p_propβ the property we're removing. say bye bye bestie ππbool_t dcβ should property contents be deleted? like... actually deleted deleted? that's the question, anddcis the answer π₯
π DESCRIPTION π
Deletes the indicated property from the indicated object. that's it. that's the whole vibe.
and then β plot twist β it also deletes the prop's contents if dc is set. so if you pass that flag, we're not just removing her from the guest list, we're deleting her whole existence. it's giving no survivors π
β RETURNS β
(None) β she gives you nothing back. no return value, no closure, no text back. very main character of her honestly π
π¦ SEE ALSO π¦
the whole squad, fr fr β go read these when you're done:
vf_parse_init(3)vf_parse_text(3)vf_parse_end(3)vf_read_file(3)vf_write_file(3)vf_get_next_object(3)vf_create_object(3)vf_get_object_type(3)vf_get_property(3)vf_get_property_ex(3)vf_get_next_property(3)vf_get_prop_value(3)vf_set_prop_value(3)vf_get_prop_value_string(3)vf_get_prop_name_string(3)vf_set_prop_name_string(3)vf_get_prop_name(3)vf_get_prop_value_object(3)vf_set_prop_value_object(3)vf_set_prop_value_string(3)vf_set_prop_value_base64(3)vf_get_prop_value_base64(3)vf_set_property_from_file(3)vf_delete_object(3)vf_find_prop_qual_index(3)vf_is_modified(3)vf_find_charset(3)vf_date_string_to_time(3)vf_period_string_to_time(3)vf_period_time_to_string(3)vf_set_prop_value_time(3)vf_get_prop_value_time(3)
lowkey a note for future you: dc is the whole personality of this function. forget it and you've only half-deleted, iykyk π
and that's the tea, bestie π this page came from vf_iface.h, generated by c2man, dated 30 April 2003 β yeah she's vintage, she's retro, she's still serving π periodt. ππ¦β¨
π¦ where this page comes from
- debian bookworm: libvformat-dev 1.13-12 Β· LGPL-2.1-or-later
- ubuntu jammy: libvformat-dev 1.13-12build2 Β· LGPL-2.1-or-later
- ubuntu noble: libvformat-dev 1.13-12.1ubuntu1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms