Freeciv-3.3
Loading...
Searching...
No Matches
gui_proto_constructor.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
14#ifndef FC__GUI_PROTO_CONSTRUCTOR_H
15#define FC__GUI_PROTO_CONSTRUCTOR_H
16
17#ifdef GUI_CB_MODE
18#define GUI_FUNC_PROTO(_type, _func, ...) \
19_type gui_##_func( __VA_ARGS__ ); \
20_type _func( __VA_ARGS__ );
21#else
22#define GUI_FUNC_PROTO(_type, _func, ...) \
23_type _func( __VA_ARGS__ );
24#endif
25
26#endif /* FC__GUI_PROTO_CONSTRUCTOR_H */