Sack Library Documentation
sack::containers::data_list::AddDataItem Macro
#define AddDataItem(list,data) (((list)&&(*(list)))?SetDataItemEx((list),(*list)->Cnt,data DBG_SRC ):NULL)

Adds an item to a DataList.

PDATALIST datalist = CreateDataList();
struct my_struct {
    _32 my_data;
struct my_struct my_item;
my_item.my_data = 0;
AddDataItem( &datalist, &my_item );
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!