- Timestamp:
- Aug 15, 2009, 7:08:18 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 1077891a
- Parents:
- fa4562c
- git-author:
- Anders Kaseorg <andersk@mit.edu> (08/04/09 02:37:51)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:18)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
style.c
r65b2173 re19eb97 2 2 #include "owl.h" 3 3 4 void owl_style_create_perl(owl_style *s, c har *name, SV *obj)4 void owl_style_create_perl(owl_style *s, const char *name, SV *obj) 5 5 { 6 6 s->name=owl_strdup(name); … … 8 8 } 9 9 10 int owl_style_matches_name(owl_style *s, c har *name)10 int owl_style_matches_name(owl_style *s, const char *name) 11 11 { 12 12 if (!strcmp(s->name, name)) return(1); … … 14 14 } 15 15 16 c har *owl_style_get_name(owl_style *s)16 const char *owl_style_get_name(owl_style *s) 17 17 { 18 18 return(s->name); 19 19 } 20 20 21 c har *owl_style_get_description(owl_style *s)21 const char *owl_style_get_description(owl_style *s) 22 22 { 23 23 SV *sv = NULL; … … 41 41 void owl_style_get_formattext(owl_style *s, owl_fmtext *fm, owl_message *m) 42 42 { 43 c har *body;43 const char *body; 44 44 char *indent; 45 45 int curlen;
Note: See TracChangeset
for help on using the changeset viewer.