Staging
v0.5.1
https://github.com/python/cpython
Revision 342c42bce3a5d239b407b76d32aa107f751978d3 authored by Neal Norwitz on 30 March 2003, 19:26:50 UTC, committed by Neal Norwitz on 30 March 2003, 19:26:50 UTC
Check for readline 2.2 features.  This should make it possible to
compile readline.c again with GNU readline versions 2.0 or 2.1; this
ability was removed in readline.c rev. 2.49.  Apparently the older
versions are still in widespread deployment on older Solaris
installations.  With an older readline, completion behavior is subtly
different (a space is always added).
1 parent fa8b672
Raw File
Tip revision: 342c42bce3a5d239b407b76d32aa107f751978d3 authored by Neal Norwitz on 30 March 2003, 19:26:50 UTC
Backport Patch 659834 checked in by GvR on 2002/12/30 16:25:38
Tip revision: 342c42b
WETabs.h
/*
 *	WETabs.h
 *
 *	WASTE TABS PACKAGE
 *	Public C/C++ interface
 *
 *	version 1.3.2 (August 1996)
 *
 *	Copyright (c) 1993-1998 Marco Piovanelli
 *	All Rights Reserved
 *
 */


#ifndef WITHOUT_FRAMEWORKS
#include <Carbon/Carbon.h>
#endif
#ifndef _WASTE_
#include "WASTE.h"
#endif

enum {
	kMinTabSize				=	1,		//	must be greater than zero
	kDefaultTabSize			=	32,
	kMaxTabSize				=	1024	//	arbitrary value
};

#ifdef __cplusplus
extern "C" {
#endif

pascal OSErr WEInstallTabHooks(WEReference we);
pascal OSErr WERemoveTabHooks(WEReference we);
pascal Boolean WEIsTabHooks(WEReference we);
pascal SInt16 WEGetTabSize(WEReference we);
pascal OSErr WESetTabSize(SInt16 tabWidth, WEReference we);

#ifdef __cplusplus
}
#endif
back to top