Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, September 19, 2019

File: [Platon] / libcfg+ / config.h.bot (download)

Revision 1.2, Tue Aug 27 13:19:18 2002 UTC (17 years ago) by rajo


Changes since 1.1: +13 -8 lines

Code cleanup.

/* Macros for generating function name with prefix 'cfg_' */
#ifndef PLATON_FUNC
# define PLATON_FUNC(_name) cfg_ ## _name
#endif

/* Quote prefixed function name
 * Macro PLATON_FUNC_STR(my_function) produces "cfg_my_function"
 */
#ifndef _PLATON_FUNC_STR
# define _PLATON_FUNC_STR(_name) #_name
#endif
#ifndef PLATON_FUNC_STR
# define PLATON_FUNC_STR(_name) _PLATON_FUNC_STR(cfg_ ## _name)
#endif



#endif /* #ifndef _CONFIG_H */

/* vim: ft=cpp
 */

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top