Initial revision
[AROS-Contrib.git] / development / compilers / freepascal / rtl / inc / tagutils.inc
blobfc6b63a7cb2929005fe525efacd4ee37c20bd361
3    tagutils.inc
5    Some handy functions to deal with taglist.
6    At least until fpc have array of const.
9 procedure SetTags(ti : pTagItem; item, data : Longint);
10 begin
11     with ti^ do begin
12        ti_Tag := item;
13        ti_Data := data;
14     end;
15 end;
17 function TagItem(item, data : Longint): tTagItem;
18 var
19    temp : tTagItem;
20 begin
21    with temp do begin
22       ti_Tag := item;
23       ti_Data := data;
24    end;
25    TagItem := temp;
26 end;