PCRE2_SERIALIZE_FREE(3)

🌸 NAME 🌸

okay bestie, this is the PCRE2_SERIALIZE_FREE(3) page from the Library Functions Manual, and it's all about PCRE2 β€” PCRE2 - Perl-compatible regular expressions (revised API). iconic, honestly. πŸ’…


✨ SYNOPSIS ✨

#include <pcre2.h>

void pcre2_serialize_free(uint8_t *bytes);

πŸ¦‹ DESCRIPTION πŸ¦‹

so this function frees the memory that was obtained by pcre2_serialize_encode() to hold a serialized byte stream. literally its whole job. πŸŽ€

the argument must point to such a byte stream, or be NULL β€” and if it's NULL, the function just returns without doing anything. no drama, no cleanup, just vibes. 🫢

there is a complete description of the PCRE2 native API in the pcre2api page, and a description of the serialization functions in the pcre2serialize page. iykyk. πŸ’–


mwah πŸ˜­πŸ’– this page is from PCRE2 10.47, dated 13 August 2018 β€” and that's the whole PCRE2_SERIALIZE_FREE(3) Library Functions Manual moment. periodt. 🌈

πŸ“¦ where this page comes from