Luna::Path::append_extension

void append_extension(const c8 *new_extension)

Appends the extension.

The system adds one extension separator (".") between extension and filename automatically.

Parameters

  • in new_extension

    The extension to append.

Valid Usage

  • new_extension must be null-terminated.