Artifact 7460e3daf64a54a5984bd1e7b08b4f3372d3bf203b402bdad42ae8cc91d63e81:
- File
src/OFListObject.h
— part of check-in
[7a49441656]
at
2008-10-09 00:25:31
on branch trunk
— Multiple changes, see details.
* Use config.h.
* Check whether to use sel_get_name or sel_getName.
* Rename freeWithData to freeIncludingData. (user: js, size: 624) [annotate] [blame] [check-ins using]
/* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import "OFObject.h" @interface OFListObject: OFObject { void *data; OFListObject *next; OFListObject *prev; } + newWithData: (void*)ptr; - initWithData: (void*)ptr; - freeIncludingData; - (void*)data; - (OFListObject*)next; - (OFListObject*)prev; - (void)setNext: (OFListObject*)ptr; - (void)setPrev: (OFListObject*)ptr; @end