rltypedefs.h   rltypedefs.h 
skipping to change at line 29 skipping to change at line 29
along with Readline. If not, see <http://www.gnu.org/licenses/>. along with Readline. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef _RL_TYPEDEFS_H_ #ifndef _RL_TYPEDEFS_H_
#define _RL_TYPEDEFS_H_ #define _RL_TYPEDEFS_H_
#ifdef __cplusplus #ifdef __cplusplus
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)
# define _RL_FUNCTION_TYPEDEF # define _RL_FUNCTION_TYPEDEF
/* Bindable functions */ /* Bindable functions */
typedef int rl_command_func_t PARAMS((int, int)); typedef int rl_command_func_t PARAMS((int, int));
/* Typedefs for the completion system */ /* Typedefs for the completion system */
typedef char *rl_compentry_func_t PARAMS((const char *, int)); typedef char *rl_compentry_func_t PARAMS((const char *, int));
 End of changes. 1 change blocks. 
0 lines changed or deleted 20 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/