<div dir="ltr"><div>Good morning, <br></div><div>I'm working on a %pL placeholder and I encountered some problems.</div><div>So I get a pointer to a list. I turn it's pointer into a string, that's fine.</div><div>Now I need to get pointers to the items in that list.</div><div>I need to iterate them first. <br></div><div>That is done either by list_foreach() or I can do it just by jumping pointers to links and getting a pointer to each item with list_item().</div><div>Both list_foreach() and list_item() require a type of a payload and a name of a link variable. <br></div><div>In test cases it's a paw_t, but I suppose we need to make this work on any structure.<br></div><div>I'm not sure how to make this generic.</div><div>What type should I pass to list_foreach() or list_item() to make it so?</div><div>Or is there a better way that I don't see?</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Georgii Ekserdzhian</div></div></div></div></div>