Received: by ATHENA-PO-2.MIT.EDU (5.45/4.7) id AA25852; Fri, 15 Sep 89 09:20:30 EDT
From: <rap@ATHENA.MIT.EDU>
Received: by ATHENA.MIT.EDU (5.45/4.7) id AA23763; Fri, 15 Sep 89 09:21:36 EDT
Received: by MORPHEUS.MIT.EDU (5.61/4.7) id AA07310; Fri, 15 Sep 89 09:20:14 -0400
Date: Fri, 15 Sep 89 09:20:14 -0400
Message-Id: <8909151320.AA07310@MORPHEUS.MIT.EDU>
To: bgardner@ATHENA.MIT.EDU
In-Reply-To: <bgardner@ATHENA.MIT.EDU>'s message of Thu, 14 Sep 89 21:06:58 -0400 <8909150106.AA02602@PINK.MIT.EDU>
Subject: ReSaveFunc *AlRsb_save_func(editor_id, rule, closure)

Typedefs of function declarations are a pain in the butt!  The weird thing
is that you aren't supposed to declare your function as an ReSaveFunc* but
you are to declare you function AS IF IT WERE an ReSaveFunc*.  Weird right?

So your declaration should look like this (if __STDC__ is defined)

	void AlRsb_save_func(reid,AlRule,VOIDP);

Its a confusing point, even the original HP widgets wouldn't compile with an
ansi compiler because they declared their callback routines as
XtCallbackFunc* (!!).  (Actually XtCallbackFunc is a good example, you don't
declare your callbacks as XtCallbackFuncs).

	__Rich.
