ZT_CURRENT_LOCATION(3)

NAME
ZT_CURRENT_LOCATION - get the current location in the source file

SYNOPSIS
#include <zt.h>
#define ZT_CURRENT_LOCATION() zt_location_at(__FILE__, __LINE__)

DESCRIPTION
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.

SEE ALSO
zt_location_at(3), zt_location(3)

HISTORY
ZT_CURRENT_LOCATION first appeared in libzt 0.1

AUTHORS
Zygmunt Krynicki <me@zygoon.pl>