[TextEditor_mcc] Re: BOOPSI and hook functions

  • From: Gunther Nikl <gni@xxxxxxxx>
  • To: texteditor_mcc@xxxxxxxxxxxxx
  • Date: Mon, 11 Jul 2005 11:59:30 +0200

On Fri, Jul 08, 2005 at 07:05:02PM +0300, Ilkka Lehtoranta wrote:
> > Currently most MCC projects have some OS4 magic in mcc_common.h for boopsi
> > and hook functions. IMHO this magic should be moved into a separate header
> > eg. "SDI_boospi.h". Additionally to what is currently done, this header
> > should include "clib/alib_protos.h" for OS3/MOS and "proto/intuition."
> > together with "proto/utility.h" for OS4. Whenever a sourec needs boopsi
> Actually it could include proto/intuition.h and proto/utility.h for all 
> three.

  Well, thats what I would like to avoid. I see no advatange doing this
  unconditionally but I can see problems. AFAICT, only OS4 has BOOPSI
  support in intuition and insists in using utility/CallHookPkt. OS3 
  and MOS use amiga.lib.

> Having them always included doesnt hurt but eliminates random 
> "missing proto" syndromes.

  I don't think this matters for this case.


Linux is only free if your time has no value
 - Jamie Zawinski
TextEditor ML   - http://www.freelists.org/list/texteditor_mcc
Listserver help - mailto:texteditor_mcc-request@xxxxxxxxxxxxx?Subject=HELP
Bugtracker......: http://sourceforge.net/tracker/?atid=731469&group_id=135025

Other related posts: