- Timestamp:
- Aug 15, 2009, 7:08:19 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:
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
style.c
rc08c70a r1fdab04 8 8 } 9 9 10 int owl_style_matches_name( owl_style *s, const char *name)10 int owl_style_matches_name(const owl_style *s, const char *name) 11 11 { 12 12 if (!strcmp(s->name, name)) return(1); … … 14 14 } 15 15 16 const char *owl_style_get_name( owl_style *s)16 const char *owl_style_get_name(const owl_style *s) 17 17 { 18 18 return(s->name); 19 19 } 20 20 21 const char *owl_style_get_description( owl_style *s)21 const char *owl_style_get_description(const owl_style *s) 22 22 { 23 23 SV *sv = NULL; … … 39 39 * 'fm' should already be be initialzed 40 40 */ 41 void owl_style_get_formattext( owl_style *s, owl_fmtext *fm, const owl_message *m)41 void owl_style_get_formattext(const owl_style *s, owl_fmtext *fm, const owl_message *m) 42 42 { 43 43 const char *body; … … 79 79 } 80 80 81 int owl_style_validate( owl_style *s) {81 int owl_style_validate(const owl_style *s) { 82 82 if (!s || !s->perlobj || !SvOK(s->perlobj)) { 83 83 return -1;
Note: See TracChangeset
for help on using the changeset viewer.