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
WEObjectHandlers.h
/*
	WASTE Demo Project:
	Sample WASTE Object Handlers

	Copyright © 1993-1998 Marco Piovanelli
	All Rights Reserved
*/
#ifndef WITHOUT_FRAMEWORKS
#include <Carbon/Carbon.h>
#endif
#ifndef _WASTE_
#include "WASTE.h"
#endif


// PICTURES

pascal OSErr HandleNewPicture(Point *defaultObjectSize, WEObjectReference objectRef);
pascal OSErr HandleDisposePicture(WEObjectReference objectRef);
pascal OSErr HandleDrawPicture(const Rect *destRect, WEObjectReference objectRef);

// SOUNDS

enum {
	kSoundIconID	=	550
};

pascal OSErr HandleNewSound(Point *defaultObjectSize, WEObjectReference objectRef);
pascal OSErr HandleDrawSound(const Rect *destRect, WEObjectReference objectRef);
pascal Boolean HandleClickSound(Point hitPt, EventModifiers modifiers,
					UInt32 clickTime, WEObjectReference objectRef);
back to top