version 1.1.1.1, 2014/07/30 08:16:45
|
version 1.1.1.2, 2016/11/03 13:35:37
|
Line 26
|
Line 26
|
extern "C" { |
extern "C" { |
#endif |
#endif |
|
|
|
/* Old-style, attempt to mark as deprecated in some way people will notice. */ |
|
|
|
#if !defined (_FUNCTION_DEF) |
|
# define _FUNCTION_DEF |
|
|
|
#if defined(__GNUC__) || defined(__clang__) |
|
typedef int Function () __attribute__ ((deprecated)); |
|
typedef void VFunction () __attribute__ ((deprecated)); |
|
typedef char *CPFunction () __attribute__ ((deprecated)); |
|
typedef char **CPPFunction () __attribute__ ((deprecated)); |
|
#else |
|
typedef int Function (); |
|
typedef void VFunction (); |
|
typedef char *CPFunction (); |
|
typedef char **CPPFunction (); |
|
#endif |
|
|
|
#endif /* _FUNCTION_DEF */ |
|
|
/* New style. */ |
/* New style. */ |
|
|
#if !defined (_RL_FUNCTION_TYPEDEF) |
#if !defined (_RL_FUNCTION_TYPEDEF) |