pike.git
/
src
/
builtin.cmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/builtin.cmod:1:
/* -*- c -*- || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: builtin.cmod,v 1.
163
2004/09/
11
09
:
44
:
17
grubba Exp $
+
|| $Id: builtin.cmod,v 1.
164
2004/09/
12
15
:
29
:
11
grubba Exp $
*/ #include "global.h" #include "interpret.h" #include "svalue.h" #include "pike_macros.h" #include "object.h" #include "program.h" #include "array.h" #include "pike_error.h"
pike.git/src/builtin.cmod:3076:
/* Sentinel overlap description: * * List Head sentinel Tail sentinel * head next * head_sentinel_refs refs * tail prev next * tail_sentinel_refs refs * tail_pred prev */
+
/* Suggestions for future functionality:
+
*
+
* o Join
+
* o Copy segment
+
* o Detach segment (requires new iterator implementation)
+
* o Iterator copy
+
* o Support for reverse(), filter() and map().
+
* o Initialization from array.
+
*/
+
INIT { THIS->tail = NULL; THIS->head = TAIL_SENTINEL(THIS); THIS->tail_pred = HEAD_SENTINEL(THIS); THIS->head_sentinel_refs = THIS->tail_sentinel_refs = 1; } EXIT {