Mark constant strings as constant
Fixes a few compiler warnings in fcxml.c and makes it clear that they should not be freed.
This commit is contained in:
parent
c76ed777dd
commit
6c7915c105
|
@ -57,7 +57,7 @@ by <parameter>atomic</parameter>.
|
|||
@TYPE1@ FcAtomic * @ARG1@ atomic
|
||||
@PURPOSE@ return original file name
|
||||
@DESC@
|
||||
Returns the file referenced by <parameter>atomic</parameter>.
|
||||
Returns the file refernced by <parameter>atomic</parameter>.
|
||||
@@
|
||||
|
||||
@RET@ FcBool
|
||||
|
|
|
@ -239,13 +239,13 @@ typedef struct _FcExpr {
|
|||
union {
|
||||
int ival;
|
||||
double dval;
|
||||
FcChar8 *sval;
|
||||
const FcChar8 *sval;
|
||||
FcMatrix *mval;
|
||||
FcBool bval;
|
||||
FcCharSet *cval;
|
||||
FcLangSet *lval;
|
||||
FcObject object;
|
||||
FcChar8 *constant;
|
||||
const FcChar8 *constant;
|
||||
struct {
|
||||
struct _FcExpr *left, *right;
|
||||
} tree;
|
||||
|
|
Loading…
Reference in New Issue