summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_init_static_clist.rst
blob: b837694efdf6839ae0bcf28eea701f339a81a19b (plain)
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
29
30
31
32
PR_INIT_STATIC_CLIST
====================

Statically initializes a circular list.


Syntax
------

.. code::

   #include <prclist.h>

   PR_INIT_STATIC_CLIST (PRCList *listp);


Parameter
~~~~~~~~~

``listp``
   A pointer to the anchor of the linked list.


Description
-----------

PR_INIT_STATIC_CLIST statically initializes the specified list to be an
empty list. For example,

::

   PRCList free_object_list = PR_INIT_STATIC_CLIST(&free_object_list);