home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!agate!soda.berkeley.edu!cliffwd
- From: cliffwd@soda.berkeley.edu (Cliff Draper)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: AllocRemember - how does it work?
- Date: 4 Jan 1993 02:55:43 GMT
- Organization: U.C. Berkeley, CS Undergraduate Association
- Lines: 11
- Distribution: inet
- Message-ID: <1i88vfINN6nf@agate.berkeley.edu>
- References: <d2hacker.724952539@dtek.chalmers.se> <1i5rpcINNj4j@agate.berkeley.edu> <S37732V.93Jan3122345@lk-hp-18.hut.fi>
- NNTP-Posting-Host: soda.berkeley.edu
-
-
- Sorry about that typo. "FreeRemember(*remkey, TRUE);" should actually read
- FreeRemember(&remkey, TRUE);
-
- You need to pass in the address of the key. FYI, if the second argument is
- FALSE when you call FreeRemember() the allocations will still be allocated,
- but Intuition will free its little tags it uses to remember the allocations.
- Basically it will then be like you had used AllocMem instead of AllocRemember.
-
- -Cliff
- cliffwd@soda.Berkeley.Edu UC Berkeley
-