2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
6 #include <proto/arossupport.h>
8 IPTR
LibGetTagData(Tag tagValue
, IPTR defaultVal
, const struct TagItem
*tagList
)
10 struct TagItem
*tag
= LibFindTagItem(tagValue
, tagList
);
12 return tag
? tag
->ti_Data
: defaultVal
;