File: ObjP.h

package info (click to toggle)
xfireworks 1.3-8
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 460 kB
  • ctags: 498
  • sloc: ansic: 3,229; makefile: 204; sh: 40
file content (28 lines) | stat: -rw-r--r-- 982 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*****************************************************************************/
/* ObjP.h - A library for object list.                                       */
/*                                                                           */
/* ObjP.h Copyright (c) 2000 Sakai Hiroaki.                                  */
/* All Rights Reserved.                                                      */
/*****************************************************************************/

#ifndef _SAKAILIB_OBJP_H_INCLUDED_
#define _SAKAILIB_OBJP_H_INCLUDED_

#include "Obj.h"

/* ǡǼѹ¤ */
typedef struct _ObjListData {
  struct _ObjListData * prev; /* Υǡ */
  struct _ObjListData * next; /* Υǡ */
  Obj obj; /* ֥ */
  Obj (*destructor)(Obj); /* ˸ƤФǥȥ饯 */
} _ObjListData;

/* ꥹȹ¤δ */
typedef struct _ObjList {
  struct _ObjListData * start_edge;
  struct _ObjListData * end_edge;
  int length;
} _ObjList;

#endif