Changeset 2aaca94 for fmtext.c


Ignore:
Timestamp:
Dec 6, 2008, 2:33:28 AM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
554a2b8
Parents:
de1c8a5
git-author:
Anders Kaseorg <andersk@mit.edu> (12/06/08 01:33:51)
git-committer:
Anders Kaseorg <andersk@mit.edu> (12/06/08 02:33:28)
Message:
Make format_fn accept a char * instead of a void *.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fmtext.c

    r6f6330b r2aaca94  
    763763 * If format_fn is specified, passes it the list element value
    764764 * and it will return a string which this needs to free. */
    765 void owl_fmtext_append_list(owl_fmtext *f, owl_list *l, char *join_with, char *(format_fn)(void*))
     765void owl_fmtext_append_list(owl_fmtext *f, owl_list *l, char *join_with, char *(format_fn)(char *))
    766766{
    767767  int i, size;
    768   void *elem;
     768  char *elem;
    769769  char *text;
    770770
Note: See TracChangeset for help on using the changeset viewer.