Changeset 2aaca94


Ignore:
Timestamp:
Dec 6, 2008, 2:33:28 AM (16 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, debian, release-1.10, 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 *.
Files:
2 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
  • functions.c

    r1d12db24 r2aaca94  
    9999}
    100100
    101 char *owl_function_style_describe(void *name) {
     101char *owl_function_style_describe(char *name) {
    102102  char *desc, *s;
    103103  owl_style *style;
     
    114114}
    115115
    116 char *owl_function_cmd_describe(void *name)
     116char *owl_function_cmd_describe(char *name)
    117117{
    118118  owl_cmd *cmd = owl_cmddict_find(owl_global_get_cmddict(&g), name);
     
    31063106}
    31073107
    3108 char *owl_function_keymap_summary(void *name)
     3108char *owl_function_keymap_summary(char *name)
    31093109{
    31103110  owl_keymap *km
Note: See TracChangeset for help on using the changeset viewer.