ZT_CURRENT_LOCATION(3)

ZT_CURRENT_LOCATION3

Get the current location in the source file

Usage

#include <zt.h>

#define ZT_CURRENT_LOCATION() zt_location_at(__FILE__, __LINE__)

Overview

ZT_CURRENT_LOCATION provides zt_location describing the location of the source file invoking the macro.

Return values

A zt_location containing the current values of __FILE__ and __LINE.

Releases

Unchanged in 3 releases since Debian 11 (Bullseye).

  1. 11–13

History

ZT_CURRENT_LOCATION first appeared in libzt 0.1

Authors

Zygmunt Krynicki ⟨[email protected]⟩

From libzt-doc 0.3.1-4 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.