pike.git / src / builtin.cmod

version» Context lines:

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.166 2004/09/14 15:26:08 grubba Exp $ + || $Id: builtin.cmod,v 1.167 2004/09/14 17:21:36 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:3051:    Pike_fatal("Appending hooked node.\n");    }   #endif /* PIKE_DEBUG */    new->next = node->next;    new->prev = node;    new->next->prev = node->next = new;    add_ref(new);    add_ref(new);   }    + /*! @module ADT +  */ +    /*! @class List    *!    *! Linked list of values.    */   PIKECLASS List   {    CVAR struct list_node *head;    CVAR INT32 head_sentinel_refs;    CVAR struct list_node *tail; /* Always NULL. */    CVAR INT32 tail_sentinel_refs;
pike.git/src/builtin.cmod:3623:    pop_n_elems(args);    push_int(0);    }    }    /*! @endclass    */   }   /*! @endclass    */    + /*! @endmodule +  */ +    void init_builtin(void)   {    init_list_node_blocks();   INIT   }      void exit_builtin(void)   {   EXIT    free_all_list_node_blocks();   }