From bb9c195a541ba29ff84dac835be1e5c3f41d92c9 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Tue, 28 Oct 2003 16:59:03 +0000 Subject: this const is bad, since xine_post_wire takes non-const in/outputs removing it from xine.h should maintain API and ABI compatibility, since everything that compiled and linked before will still compile and link; only some things that did not compile (warning free) before, will now compile, so this change should be equivalent to adding a new function CVS patchset: 5627 CVS date: 2003/10/28 16:59:03 --- include/xine.h.in | 6 +++--- src/xine-engine/xine_interface.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/xine.h.in b/include/xine.h.in index 7675cc4c6..82d361403 100644 --- a/include/xine.h.in +++ b/include/xine.h.in @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.h.in,v 1.100 2003/10/24 09:34:01 mroi Exp $ + * $Id: xine.h.in,v 1.101 2003/10/28 16:59:03 mroi Exp $ * * public xine-lib (libxine) interface and documentation * @@ -589,10 +589,10 @@ const char *const *xine_post_list_inputs(xine_post_t *self); const char *const *xine_post_list_outputs(xine_post_t *self); /* retrieve one specific input of a post plugin */ -const xine_post_in_t *xine_post_input(xine_post_t *self, char *name); +xine_post_in_t *xine_post_input(xine_post_t *self, char *name); /* retrieve one specific output of a post plugin */ -const xine_post_out_t *xine_post_output(xine_post_t *self, char *name); +xine_post_out_t *xine_post_output(xine_post_t *self, char *name); /* * wire an input to an output diff --git a/src/xine-engine/xine_interface.c b/src/xine-engine/xine_interface.c index 74d780c2c..741be2373 100644 --- a/src/xine-engine/xine_interface.c +++ b/src/xine-engine/xine_interface.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_interface.c,v 1.62 2003/10/26 12:15:34 mroi Exp $ + * $Id: xine_interface.c,v 1.63 2003/10/28 16:59:03 mroi Exp $ * * convenience/abstraction layer, functions to implement * libxine's public interface @@ -685,7 +685,7 @@ const char *const *xine_post_list_outputs(xine_post_t *this_gen) { return this->output_ids; } -const xine_post_in_t *xine_post_input(xine_post_t *this_gen, char *name) { +xine_post_in_t *xine_post_input(xine_post_t *this_gen, char *name) { post_plugin_t *this = (post_plugin_t *)this_gen; xine_post_in_t *input; @@ -698,7 +698,7 @@ const xine_post_in_t *xine_post_input(xine_post_t *this_gen, char *name) { return NULL; } -const xine_post_out_t *xine_post_output(xine_post_t *this_gen, char *name) { +xine_post_out_t *xine_post_output(xine_post_t *this_gen, char *name) { post_plugin_t *this = (post_plugin_t *)this_gen; xine_post_out_t *output; -- cgit v1.2.3