ghttp_parser_destroy()

ghttp_parser_destroy()#

Releases all resources associated with a GHTTP_PARSER instance, including allocated memory and internal buffers.

Prototype

void ghttp_parser_destroy(GHTTP_PARSER *parser);

Parameters

Key

Type

Description

parser

GHTTP_PARSER *

Pointer to the GHTTP_PARSER instance to be destroyed.


Return Value

This function does not return a value.

Notes

After calling ghttp_parser_destroy(), the parser pointer should not be used as it becomes invalid.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples