From: <fla...@gm...> - 2008-01-02 18:15:00
|
# HG changeset patch # User Diego 'Flameeyes' Pettenò <fla...@gm...> # Date 1199297662 -3600 # Node ID ba443ed4258e06f3a48f58bb35c557c24d020c21 # Parent ea5a9ff89f5d2f1e78ce2de69e402cf16939ad06 Make description and name of post-plugin parameters constant. diff -r ba443ed4258e06f3a48f58bb35c557c24d020c21 -r ea5a9ff89f5d2f1e78ce2de69e402cf16939ad06 include/xine.h --- a/include/xine.h Wed Jan 02 19:14:22 2008 +0100 +++ b/include/xine.h Wed Jan 02 19:10:04 2008 +0100 @@ -707,14 +707,14 @@ void xine_post_dispose(xine_t *xine, xin /* defines a single parameter entry. */ typedef struct { int type; /* POST_PARAM_TYPE_xxx */ - char *name; /* name of this parameter */ + const char *name; /* name of this parameter */ int size; /* sizeof(parameter) */ int offset; /* offset in bytes from struct ptr */ char **enum_values; /* enumeration (first=0) or NULL */ double range_min; /* minimum value */ double range_max; /* maximum value */ int readonly; /* 0 = read/write, 1=read-only */ - char *description; /* user-friendly description */ + const char *description; /* user-friendly description */ } xine_post_api_parameter_t; /* description of parameters struct (params). */ |