From 29a5e405a4594ad8b3b6a0525d7c93a45183c522 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 10 Jun 2011 13:59:57 +0100 Subject: [PATCH 4/9] _dbus_type_writer_init_types_delayed, _dbus_type_writer_add_types, _dbus_type_writer_remove_types: remove --- dbus/dbus-marshal-recursive.c | 52 ----------------------------------------- 1 files changed, 0 insertions(+), 52 deletions(-) diff --git a/dbus/dbus-marshal-recursive.c b/dbus/dbus-marshal-recursive.c index 8bb403c..5ce5e8e 100644 --- a/dbus/dbus-marshal-recursive.c +++ b/dbus/dbus-marshal-recursive.c @@ -1512,58 +1512,6 @@ _dbus_type_writer_init (DBusTypeWriter *writer, } /** - * Initialize a write iterator, with the signature to be provided - * later. - * - * @param writer the writer to init - * @param byte_order the byte order to marshal into - * @param value_str the string to write values into - * @param value_pos where to insert values - * - */ -void -_dbus_type_writer_init_types_delayed (DBusTypeWriter *writer, - int byte_order, - DBusString *value_str, - int value_pos) -{ - _dbus_type_writer_init (writer, byte_order, - NULL, 0, value_str, value_pos); -} - -/** - * Adds type string to the writer, if it had none. - * - * @param writer the writer to init - * @param type_str type string to add - * @param type_pos type position - * - */ -void -_dbus_type_writer_add_types (DBusTypeWriter *writer, - DBusString *type_str, - int type_pos) -{ - if (writer->type_str == NULL) /* keeps us from using this as setter */ - { - writer->type_str = type_str; - writer->type_pos = type_pos; - } -} - -/** - * Removes type string from the writer. - * - * @param writer the writer to remove from - */ -void -_dbus_type_writer_remove_types (DBusTypeWriter *writer) -{ - writer->type_str = NULL; - writer->type_pos = -1; -} - -/** * Like _dbus_type_writer_init(), except the type string * passed in should correspond to an existing signature that * matches what you're going to write out. The writer will -- 1.7.5.4