home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 18086 < prev    next >
Encoding:
Internet Message Format  |  1993-01-03  |  990 b 

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