From 42b6d9648fdd3f78806ac0556338f8fb13707821 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 8 Sep 2000 01:04:58 +0000 Subject: * dyn-string.h: Adjust formatting. (dyn_string_insert_char): New macro. New declaration. --- include/ChangeLog | 5 +++++ include/dyn-string.h | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/include/ChangeLog b/include/ChangeLog index c300fc0..6cb9c10 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -2,6 +2,11 @@ * md5.h (md5_uint32): Choose via INT_MAX instead of UINT_MAX. +2000-09-04 Alex Samuel + + * dyn-string.h: Adjust formatting. + (dyn_string_insert_char): New macro. New declaration. + 2000-08-28 Jason Merrill * md5.h: New file. diff --git a/include/dyn-string.h b/include/dyn-string.h index 103f947..67f7ab7 100644 --- a/include/dyn-string.h +++ b/include/dyn-string.h @@ -59,6 +59,7 @@ typedef struct dyn_string #define dyn_string_prepend_cstr __cxa_dyn_string_prepend_cstr #define dyn_string_insert __cxa_dyn_string_insert #define dyn_string_insert_cstr __cxa_dyn_string_insert_cstr +#define dyn_string_insert_char __cxa_dyn_string_insert_char #define dyn_string_append __cxa_dyn_string_append #define dyn_string_append_cstr __cxa_dyn_string_append_cstr #define dyn_string_append_char __cxa_dyn_string_append_char @@ -82,11 +83,10 @@ extern int dyn_string_insert PARAMS ((dyn_string_t, int, dyn_string_t)); extern int dyn_string_insert_cstr PARAMS ((dyn_string_t, int, const char *)); +extern int dyn_string_insert_char PARAMS ((dyn_string_t, int, int)); extern int dyn_string_append PARAMS ((dyn_string_t, dyn_string_t)); -extern int dyn_string_append_cstr - PARAMS ((dyn_string_t, const char *)); -extern int dyn_string_append_char - PARAMS ((dyn_string_t, int)); +extern int dyn_string_append_cstr PARAMS ((dyn_string_t, const char *)); +extern int dyn_string_append_char PARAMS ((dyn_string_t, int)); extern int dyn_string_substring PARAMS ((dyn_string_t, dyn_string_t, int, int)); extern int dyn_string_eq PARAMS ((dyn_string_t, dyn_string_t)); -- cgit v1.1