Freeciv-3.2
Loading...
Searching...
No Matches
setcompat.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13#ifndef FC__SETCOMPAT_H
14#define FC__SETCOMPAT_H
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
20#define setcompat_current_name_from_previous(_old_name_) \
21 setcompat_S3_2_name_from_S3_1(_old_name_)
22#define setcompat_current_val_from_previous(_set_, _old_val_) \
23 setcompat_S3_2_val_from_S3_1(_set_, _old_val_)
24
25struct setting;
26
27const char *setcompat_S3_2_name_from_S3_1(const char *old_name);
28
29const char *setcompat_S3_2_val_from_S3_1(struct setting *pset,
30 const char *val);
31
32#ifdef __cplusplus
33}
34#endif /* __cplusplus */
35
36#endif /* FC__SETCOMPAT_H */
char * incite_cost
Definition comments.c:75
const char * setcompat_S3_2_val_from_S3_1(struct setting *pset, const char *val)
Definition setcompat.c:70
const char * setcompat_S3_2_name_from_S3_1(const char *old_name)
Definition setcompat.c:62