Changeset 77bced3 for list.c


Ignore:
Timestamp:
Aug 15, 2009, 7:08:18 PM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
636b137
Parents:
075ba92
git-author:
Anders Kaseorg <andersk@mit.edu> (08/04/09 02:37:55)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:18)
Message:
Add const qualifiers for owl_list *.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • list.c

    r4d86e06 r77bced3  
    1414}
    1515
    16 int owl_list_get_size(owl_list *l)
     16int owl_list_get_size(const owl_list *l)
    1717{
    1818  return(l->size);
     
    3333}
    3434
    35 void *owl_list_get_element(owl_list *l, int n)
     35void *owl_list_get_element(const owl_list *l, int n)
    3636{
    3737  if (n>l->size-1) return(NULL);
Note: See TracChangeset for help on using the changeset viewer.