Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for libcfg+/config.h.bot between version 1.1 and 1.2

version 1.1, 2002/08/16 20:31:41 version 1.2, 2002/08/27 13:19:18
Line 1 
Line 1 
   
 /* Define if you will add prefix for functions in src/str/ subdirectory */  /* Macros for generating function name with prefix 'cfg_' */
 #define PLATON_PREFIX 1  #ifndef PLATON_FUNC
   # define PLATON_FUNC(_name) cfg_ ## _name
   #endif
   
 /* Macros for geterate function name with prefix and postfix  /* Quote prefixed function name
  * postfix not used, prefix is 'cfg_' (PLATON_PREFIX must be defined)   * Macro PLATON_FUNC_STR(my_function) produces "cfg_my_function"
  */   */
 #define FUNCTION_NAME_STR( _pre, _name, _post) #_pre#_name#_post  #ifndef _PLATON_FUNC_STR
 #define FUNCTION_NAME(_pre, _name, _post) _pre##_name##_post  # define _PLATON_FUNC_STR(_name) #_name
 #define FUNCTION(_name) FUNCTION_NAME(cfg_, _name, )  #endif
 #define FUNCTION_STR(_name) FUNCTION_NAME_STR(cfg_, _name, )  #ifndef PLATON_FUNC_STR
   # define PLATON_FUNC_STR(_name) _PLATON_FUNC_STR(cfg_ ## _name)
   #endif
   
   
   
 #endif /* #ifndef _CONFIG_H */  #endif /* #ifndef _CONFIG_H */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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