Diff for libcfg+/src/props.c between version 1.25 and 1.26
| version 1.25, 2002/08/06 23:38:30 |
version 1.26, 2002/08/16 20:31:43 |
|
|
| /* $Id$ */ |
/* $Id$ */ |
| |
|
| /* Includes {{{ */ |
/* Includes {{{ */ |
| #include "config.h" |
#ifdef HAVE_CONFIG_H |
| |
# include "config.h" |
| |
#endif |
| |
|
| #include <stdio.h> |
#include <stdio.h> |
| #include <stdarg.h> |
#include <stdarg.h> |
| Line 60 strdyn_array_clear(where) |
|
| Line 62 strdyn_array_clear(where) |
|
| #if 0 |
#if 0 |
| if (*where != NULL) |
if (*where != NULL) |
| #endif |
#endif |
| *where = strdyn_remove_all(*where); |
*where = FUNCTION(strdyn_remove_all)(*where); |
| |
|
| return *where != NULL; |
return *where != NULL; |
| } /* }}} */ |
} /* }}} */ |
| Line 76 strdyn_array_add(where, str) |
|
| Line 78 strdyn_array_add(where, str) |
|
| *where = strdyn_create(); |
*where = strdyn_create(); |
| #endif |
#endif |
| |
|
| *where = strdyn_add(*where, str); |
*where = FUNCTION(strdyn_add)(*where, str); |
| |
|
| return *where != NULL; |
return *where != NULL; |
| } /* }}} */ |
} /* }}} */ |
| Line 90 strdyn_array_remove(where, str) |
|
| Line 92 strdyn_array_remove(where, str) |
|
| #if 0 |
#if 0 |
| if (*where != NULL) |
if (*where != NULL) |
| #endif |
#endif |
| *where = strdyn_remove_str_all(*where, str); |
*where = FUNCTION(strdyn_remove_str_all)(*where, str); |
| |
|
| return *where != NULL; |
return *where != NULL; |
| } /* }}} */ |
} /* }}} */ |
Platon Group <platon@platon.org> http://platon.org/
|
|