vf_parse_text(3)

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

πŸ’– vf_parse_text β€” the vf_parse_text() era πŸ’–

okay bestie so welcome to the vf_parse_text(3) page from the Library Functions Manual πŸŽ€ this is literally the function that takes your raw text and feeds it straight into the parser's little object brain. no cap.


✨ NAME ✨

vf_parse_text β€” it's vf_parse_text(), that's the whole vibe πŸ¦‹


🌸 SYNOPSIS 🌸

#include <../vformat/vf_iface.h>

extern bool_t vf_parse_text
(
     VF_PARSER_T *p_parse,
     char *p_chars,
     int numchars
);

look at her. iconic signature. πŸ‘‘


πŸ’… PARAMETERS πŸ’…

  • VF_PARSER_T *p_parse β€” the parser itself, the main character of this whole operation 🫢
  • char *p_chars β€” the new characters we're parsing into the object, fresh text just dropped ✨
  • int numchars β€” how many new characters there are. the count. the receipts. πŸ’―

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically: parse the indicated text into the object that's associated with the VPARSE_T. that's it, that's the job πŸ’–

heads up bestie β€” go read the notes for vf_parse_init() too, they matter here πŸ‘€

🌈 RETURNS 🌈

TRUE <=> allocation & syntax OK, FALSE else.

so like, TRUE means the allocation AND the syntax both came through slaying πŸ’… and FALSE means... something didn't. sad girl hours 😭


πŸŽ€ SEE ALSO πŸŽ€

the whole friend group, fr fr:

vf_parse_init(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_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 page bestie!! this one was generated by c2man from vf_iface.h, dated 30 April 2003 β€” yes she's vintage, yes she still ate, we love a legacy icon πŸ’œβœ¨

πŸ“¦ where this page comes from