ZstrDeinit

Table of Contents

ZstrDeinit

Description

Deinit method for zero-terminated strings.

Note

This is meant to be used as deinit method with Zstrs vector which is basically a typedef of Vec(const char*).

Parameters

NameDirectionDescription
srcinPointer to zero-terminated string to be destroyed.

Success

Returns.

Failure

Does not return.

Usage example (Cross-references)

    }
    
    void ZstrDeinit(const char **zs) {
    if (!zs) {
    LOG_FATAL("Invalid arguments");

Share :