repo.or.cz
/
AROS-Contrib.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial revision
[AROS-Contrib.git]
/
development
/
compilers
/
freepascal
/
rtl
/
inc
/
tagutils.inc
blob
fc6b63a7cb2929005fe525efacd4ee37c20bd361
1
2
{
3
tagutils.inc
4
5
Some handy functions to deal with taglist.
6
At least until fpc have array of const.
7
}
8
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;
16
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;