macro ISTREAM_DESTROY()#
The ISTREAM_DESTROY macro safely destroys an istream_h instance by calling istream_destroy() and setting the pointer to NULL.
Prototype
#define ISTREAM_DESTROY(istream)
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
A pointer to the |
Return Value
This macro does not return a value.
Notes
This macro ensures that the istream_h instance is properly deallocated and prevents accidental use of a dangling pointer by setting it to NULL.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples