summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2003-10-28 16:59:03 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2003-10-28 16:59:03 +0000
commitbb9c195a541ba29ff84dac835be1e5c3f41d92c9 (patch)
tree2a1613c0d736ee731c21470dd647c00285e55c22
parent7a5a4dc419b85c1740dfd0e0a78de69e0f0b96b9 (diff)
downloadxine-lib-bb9c195a541ba29ff84dac835be1e5c3f41d92c9.tar.gz
xine-lib-bb9c195a541ba29ff84dac835be1e5c3f41d92c9.tar.bz2
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
-rw-r--r--include/xine.h.in6
-rw-r--r--src/xine-engine/xine_interface.c6
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;