1996-11-02 10:00:46 -08:00
|
|
|
/***********************************************************************/
|
|
|
|
/* */
|
|
|
|
/* Objective Caml */
|
|
|
|
/* */
|
|
|
|
/* Damien Doligez, projet Para, INRIA Rocquencourt */
|
|
|
|
/* */
|
|
|
|
/* Copyright 1996 Institut National de Recherche en Informatique et */
|
|
|
|
/* Automatique. Distributed only by permission. */
|
|
|
|
/* */
|
|
|
|
/***********************************************************************/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
/* Cursor rotation for MPW tools (ocamlrun and ocamlyacc) */
|
|
|
|
|
|
|
|
#ifndef _rotatecursor_
|
|
|
|
#define _rotatecursor_
|
|
|
|
|
1998-10-02 06:02:32 -07:00
|
|
|
/* [have_to_interact] will be magically set to 1 when the time comes to
|
|
|
|
call [rotatecursor_action]. */
|
|
|
|
extern int volatile have_to_interact;
|
|
|
|
|
|
|
|
/* [*p1] and [have_to_interact] will be set to 1 when the time comes to
|
|
|
|
call [rotatecursor_action]. If p1 is not used, pass it as NULL.
|
1996-11-02 10:00:46 -08:00
|
|
|
*/
|
1998-10-02 06:02:32 -07:00
|
|
|
void rotatecursor_init (int volatile *p1);
|
1996-11-02 10:00:46 -08:00
|
|
|
|
1997-11-12 10:59:32 -08:00
|
|
|
/* [reverse] is 0 to rotate the cursor clockwise, anything else to
|
|
|
|
rotate counterclockwise. This function always returns 0.
|
1996-11-02 10:00:46 -08:00
|
|
|
*/
|
1997-11-12 10:59:32 -08:00
|
|
|
int rotatecursor_action (int reverse);
|
1996-11-02 10:00:46 -08:00
|
|
|
|
|
|
|
#endif /* _rotatecursor_ */
|