Changeset 1fdab04 for view.c


Ignore:
Timestamp:
Aug 15, 2009, 7:08:19 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:
eaa9053
Parents:
c08c70a
git-author:
Anders Kaseorg <andersk@mit.edu> (08/04/09 02:38:02)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:19)
Message:
Add const qualifiers for owl_style *.

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

Legend:

Unmodified
Added
Removed
  • view.c

    re19eb97 r1fdab04  
    22#include "owl.h"
    33
    4 void owl_view_create(owl_view *v, const char *name, owl_filter *f, owl_style *s)
     4void owl_view_create(owl_view *v, const char *name, owl_filter *f, const owl_style *s)
    55{
    66  v->name=owl_strdup(name);
     
    5757}
    5858
    59 void owl_view_set_style(owl_view *v, owl_style *s)
     59void owl_view_set_style(owl_view *v, const owl_style *s)
    6060{
    6161  v->style=s;
    6262}
    6363
    64 owl_style *owl_view_get_style(owl_view *v)
     64const owl_style *owl_view_get_style(owl_view *v)
    6565{
    6666  return(v->style);
Note: See TracChangeset for help on using the changeset viewer.