/usr/include/t3/widget/t3widget/log.h is in libt3widget-dev 0.6.2-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | /* Copyright (C) 2011-2012,2018 G.P. Halkes
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef T3_WIDGET_LOG_H
#define T3_WIDGET_LOG_H
#ifndef _T3_WIDGET_INTERNAL
#error This header file is for internal use _only_!!
#endif
#ifdef _T3_WIDGET_DEBUG
#include <typeinfo>
#endif
#include <stdio.h>
#include "widget_api.h"
namespace t3_widget {
#ifdef _T3_WIDGET_DEBUG
T3_WIDGET_LOCAL void init_log();
/* Note: these must be declared with T3_WIDGET_API such that they can be accessed
from the clipboard modules. */
T3_WIDGET_API void lprintf(const char *fmt, ...)
#ifdef __GNUC__
__attribute__((format(printf, 1, 2)))
#endif
;
T3_WIDGET_API void ldumpstr(const char *str, int length);
T3_WIDGET_API void logkeyseq(const char *keys);
#else
#define init_log()
#define lprintf(fmt, ...)
#define ldumpstr(str, length)
#define logkeyseq(keys)
#endif
}; // namespace
#endif
|