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