Freeciv-3.3
|
#include "log.h"
Go to the source code of this file.
Macros | |
#define | LOG_DEPRECATION LOG_WARN |
#define | log_deprecation(message, ...) |
#define | log_deprecation_alt(altlvl, message, ...) |
#define | log_deprecation_always(message, ...) do_log_deprecation(message, ## __VA_ARGS__); |
Typedefs | |
typedef void(* | deprecation_warn_callback) (const char *msg) |
Definition at line 26 of file deprecations.h.
Definition at line 35 of file deprecations.h.
Definition at line 42 of file deprecations.h.
#define log_deprecation_always | ( | message, | |
... | |||
) | do_log_deprecation(message, ## __VA_ARGS__); |
Definition at line 51 of file deprecations.h.
Definition at line 24 of file deprecations.h.
Return whether deprecation warnings are currently enabled.
Definition at line 43 of file deprecations.c.
Referenced by api_utilities_deprecation_warning(), client_start_server(), and secfile_check_unused().
void deprecation_warn_cb_set | ( | deprecation_warn_callback | new_cb | ) |
Set callback to call when deprecation warnings are issued
Definition at line 51 of file deprecations.c.
Referenced by con_log_init().
Enable deprecation warnings.
Definition at line 35 of file deprecations.c.
Referenced by client_main(), and main().