Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!pcrat!rick From: rick@pcrat.uucp (Rick Richardson) Newsgroups: comp.windows.x.motif Subject: Re: Motif 1.0 w/X11R4 Message-ID: <1990Jul19.141632.16118@pcrat.uucp> Date: 19 Jul 90 14:16:32 GMT References: <1990Jul18.040054.14112@pcrat.uucp% <5132@harrier.ukc.ac.uk> Reply-To: rick@pcrat.UUCP (Rick Richardson) Organization: PC Research, Inc., Tinton Falls, NJ Lines: 32 In article <5132@harrier.ukc.ac.uk> rlh2@ukc.ac.uk (Richard Hesketh) writes: >In article <1990Jul18.040054.14112@pcrat.uucp% rick@pcrat.uucp (Rick Richardson) writes: >%I just got through trying to determine if I could use the >%Motif 1.0 libXm.a (as provided by ISC) with the X11R4 >%libXt.a libX.a et al libraries (as provided by Thomas Roell). >Looking through the R4 source (my favourite lunchtime treat 8-) I found: > XtWidgetCallCallbacks() and XtWidgetHasCallbacks() are renamed to > XtCallCallbacks() and XtHasCallbacks() respectively. I don't think that's it. A disassembly of XtWidgetCallCallbacks, for example, (and not knowing the actual argument types) shows the code is roughly: void XtWidgetCallCallbacks(a1, a2) int *a1; /* No idea what this type is really */ char *a2; { if (a1 == 0) return; XtCallCallbacks((?Widget?) &a1[2], a2); } This code looks suspect as hell to me, yet it compiles to the functional equivalent of what's in the R3 libXt.a. The fact that the third argument to XtCallCallbacks is missing is very strange. Thanks for the 'go at it', though. -Rick -- Rick Richardson - PC Research, Inc., uunet!pcrat!rick, (201) 389-8963