vf_create_object(3)
π vf_create_object β Library Functions Manual, bestie π
okay so real quick, this is a page from the Library Functions Manual (vf_create_object(3), section 3, iykyk) and it's about making a brand new object from absolutely nothing. iconic behaviour honestly.
β¨ NAME β¨
vf_create_object β literally vf_create_object(), that's it, that's the name π
π¦ SYNOPSIS π¦
#include <../vformat/vf_iface.h>
extern VF_OBJECT_T *vf_create_object
(
const char *p_type,
VF_OBJECT_T *p_parent
);
so you pull in that header, call the thing, hand it a type and maybe a parent, and boom π
πΈ PARAMETERS πΈ
const char *p_typeβ the type of object you wanna create. yeah. that's the one π«ΆVF_OBJECT_T *p_parentβ the parent object, if there even is one. no parent? no problem, it's optional vibes.
π DESCRIPTION π
It creates an empty vformat object. that's the whole thing. brand new, empty, zero notes, main character energy, ready for you to fill it up however you want β¨
π₯ RETURNS π₯
A pointer to the object if it got created, otherwise NULL. so like. check it, bestie. don't be out here dereferencing NULL π
π SEE ALSO π
okay this list is long but every single one of these is a friend of ours, no skips, periodt:
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_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_delete_prop(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)
and that's the whole page, babe π this little beauty was generated by c2man from vf_iface.h, dated 30 April 2003, and it lives in the vf_create_object(3) section of the manual. mwah π go forth and create objects ππ¦β¨
π¦ 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