home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / amiga / programm / 13280 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  794 b 

  1. Path: sparky!uunet!decwrl!netcomsv!terapin!paulk
  2. From: paulk@terapin.com (Paul Kienitz)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: TagItem tricks
  5. References: <FsLEr*iY1@swinjm.UUCP>
  6. Message-ID: <paulk.1gtc@terapin.com>
  7. Date: 11 Sep 92 14:14:06 PST
  8. Organization: BBS
  9. Lines: 12
  10.  
  11. > To add tags:
  12. > Examine the taglist to find the TagItem where ti_Tag = TAG_END (or
  13. > TAG_DONE), and replace it with TAG_MORE. Then into ti_Data put a
  14. > pointer to an other taglist.
  15.  
  16. *DANGER!*  *DANGER!*
  17.  
  18. Many taglists, especially ones that are pushed on the stack by stub
  19. functions that have varargs prototypes (Like OpenScreenTags for
  20. OpenScreenTagList) DO NOT have an extra empty word after the
  21. TAG_DONE.  If you overwrite the corresponding ti_Data field you will
  22. clobber memory used for something else.
  23.