[beast/devel: 21/35] BSE: remove unused code
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast/devel: 21/35] BSE: remove unused code
- Date: Tue, 14 May 2013 19:39:40 +0000 (UTC)
commit 0491a607df3f9c497208d99904dd583ae5686c41
Author: Tim Janik <timj gnu org>
Date: Mon May 13 01:24:57 2013 +0200
BSE: remove unused code
bse/bseutils.cc | 25 -------------------------
bse/bseutils.hh | 15 ---------------
2 files changed, 0 insertions(+), 40 deletions(-)
---
diff --git a/bse/bseutils.cc b/bse/bseutils.cc
index 0da7ff7..ddf31ee 100644
--- a/bse/bseutils.cc
+++ b/bse/bseutils.cc
@@ -669,31 +669,6 @@ bse_string_equals (gconstpointer string1,
else
return string1 == string2;
}
-void
-bse_bbuffer_puts (gchar bbuffer[BSE_BBUFFER_SIZE],
- const gchar *string)
-{
- g_return_if_fail (bbuffer != NULL);
- strncpy (bbuffer, string, BSE_BBUFFER_SIZE - 1);
- bbuffer[BSE_BBUFFER_SIZE - 1] = 0;
-}
-guint
-bse_bbuffer_printf (gchar bbuffer[BSE_BBUFFER_SIZE],
- const gchar *format,
- ...)
-{
- va_list args;
- guint l;
-
- g_return_val_if_fail (bbuffer != NULL, 0);
- g_return_val_if_fail (format != NULL, 0);
-
- va_start (args, format);
- l = g_vsnprintf (bbuffer, BSE_BBUFFER_SIZE, format, args);
- va_end (args);
-
- return l;
-}
#include "bseclientapi.cc"
#include "bseserverapi.cc" // build AIDA IDL stubs
diff --git a/bse/bseutils.hh b/bse/bseutils.hh
index d6f1774..69beffd 100644
--- a/bse/bseutils.hh
+++ b/bse/bseutils.hh
@@ -102,21 +102,6 @@ gint bse_xinfo_stub_compare (const gchar *xinfo1, /* mu
guint bse_string_hash (gconstpointer string);
gint bse_string_equals (gconstpointer string1,
gconstpointer string2);
-/* --- bbuffer utils --- */
-#define BSE_BBUFFER_SIZE (128)
-void bse_bbuffer_puts (gchar bbuffer[BSE_BBUFFER_SIZE],
- const gchar *string);
-guint bse_bbuffer_printf (gchar bbuffer[BSE_BBUFFER_SIZE],
- const gchar *format,
- ...) G_GNUC_PRINTF (2, 3);
-static inline void
-bse_bbuffer_putc (gchar bbuffer[BSE_BBUFFER_SIZE],
- gchar character)
-{
- bbuffer[0] = character;
- bbuffer[1] = 0;
-}
-
G_END_DECLS
#endif /* __BSE_UTILS_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]