~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/include/ut0list.ic

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/********************************************************************
 
2
Get the first node in the list. */
 
3
UNIV_INLINE
 
4
ib_list_node_t*
 
5
ib_list_get_first(
 
6
/*==============*/
 
7
                                /* out: first node, or NULL */
 
8
        ib_list_t*      list)   /* in: list */
 
9
{
 
10
        return(list->first);
 
11
}
 
12
 
 
13
/********************************************************************
 
14
Get the last node in the list. */
 
15
UNIV_INLINE
 
16
ib_list_node_t*
 
17
ib_list_get_last(
 
18
/*=============*/
 
19
                                /* out: last node, or NULL */
 
20
        ib_list_t*      list)   /* in: list */
 
21
{
 
22
        return(list->last);
 
23
}