home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!sdd.hp.com!decwrl!csus.edu!netcom.com!mspace
- From: mspace@netcom.com (Brian Hall)
- Subject: AEDisposeDesc
- Message-ID: <w0bn2sb.mspace@netcom.com>
- Date: Thu, 27 Aug 92 01:22:08 GMT
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- Lines: 20
-
- Is it safe to call AEDisposeDesc on an AEDesc more than once? I "<noticed
- that after the call, the AEDesc passed in had a type of "typeNull" and
- a datahandle of "NULL". Does AEDisposeDesc know enough not to try and
- dispose of a record like that?
-
- On a related note, is it safe to call AEDisposeDesc when the AEDesc is
- {0, NULL} (essentially 0,0)) instead of { typeNull, NULL}? This, of course,
- assumes that it is OK to call AEDisposeDesc on {typeNull, NULL} in
- the first place.
-
- If it is not OK, I think I will end up making a ForgetAEDesc along
- the lines of TCLs ForgetHandle routine.
-
- --
-
- \ | / | Brian Hall mspace@netcom.com
- - : - | Mark/Space Softworks Applelink: markspace
- /|\ | America Online: MarkSpace
- |-+-| |
- /-\|/-\ | Stupidity is its own punishment.
-