🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #16157

Re: Passing EventRecords to DA's in LSC

#16157
From: Mark Mendel
Date: Thu, 14 May 1987 14:31
16 lines
1053 bytes
Apparently, p->csParam is declared as an array of shorts.  There is, however,
a clearer way to get an EventRecord pointer out of this:

	*(EventRecord **)&p->csParam

is slightly clearer than

	(EventRecord *) * (long *) &p->csParam 

and should do the same thing.  You have to use the '&' operator, since otherwise
p->csParam will extract a 16 bit quantity.
-- 
Mark G. Mendel, ihnp4!umn-cs!hyper!mark,  Network Systems Corporation

All opinions expressed herein, even the most arbitrary, are defended by my 
employer with religious fervor.
Technical Details
Message-ID: <259@hyper.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!uwvax!umnd-cs!umn-cs!hyper!mark
References: <7383@boring.mcvax.cwi.nl>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!uwvax!umnd-cs!umn-cs!hyper!mark
From: mark@hyper.UUCP (Mark Mendel)
Newsgroups: comp.sys.mac
Subject: Re: Passing EventRecords to DA's in LSC
Message-ID: <259@hyper.UUCP>
Date: Thu, 14-May-87 10:31:28 EDT
Article-I.D.: hyper.259
Posted: Thu May 14 10:31:28 1987
Date-Received: Sat, 16-May-87 12:05:37 EDT
References: <7383@boring.mcvax.cwi.nl>
Organization: Network Systems Corp., Mpls. MN
Lines: 16