PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/prelude/bark.hpp

http://github.com/Eelis/geordi
C++ Header | 12 lines | 8 code | 3 blank | 1 comment | 0 complexity | 13b48e374aa3b2b43a84f405da2bd573 MD5 | raw file
 1#ifndef BARK_HPP
 2#define BARK_HPP
 3
 4namespace bark_detail
 5{
 6  void do_bark(char const * pf, char const * func);
 7}
 8
 9#define BARK (::bark_detail::do_bark(__PRETTY_FUNCTION__, __func__))
10  // We don't include a trailing semicolon, because a function body looking like { BARK } confuses geordi's C++ parser.
11
12#endif