vf_delete_prop(3)

πŸ“¦ version 1.13, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– 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, and dc is 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:


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