fixed some const char*/char* confusion.

SVN revision: 29279
devs/devilhorns/wayland_egl
tilman 16 years ago committed by tilman
parent fd9cf44c7e
commit 731a6622f9
  1. 4
      legacy/edje/src/bin/edje_cc.h
  2. 4
      legacy/edje/src/bin/edje_cc_out.c
  3. 2
      legacy/edje/src/lib/edje_calc.c

@ -15,13 +15,13 @@ typedef struct _SrcFile_List SrcFile_List;
struct _New_Object_Handler
{
char *type;
const char *type;
void (*func)(void);
};
struct _New_Statement_Handler
{
char *type;
const char *type;
void (*func)(void);
};

@ -45,7 +45,7 @@ struct _Code_Lookup
};
static void data_queue_image_pc_lookup(Edje_Part_Collection *pc, char *name, int *dest);
static void data_process_string(Edje_Part_Collection *pc, char *prefix, char *s, void (*func)(Edje_Part_Collection *pc, char *name, int *val));
static void data_process_string(Edje_Part_Collection *pc, const char *prefix, char *s, void (*func)(Edje_Part_Collection *pc, char *name, int *val));
Edje_File *edje_file = NULL;
Evas_List *edje_collections = NULL;
@ -1008,7 +1008,7 @@ data_process_lookups(void)
}
static void
data_process_string(Edje_Part_Collection *pc, char *prefix, char *s, void (*func)(Edje_Part_Collection *pc, char *name, int *val))
data_process_string(Edje_Part_Collection *pc, const char *prefix, char *s, void (*func)(Edje_Part_Collection *pc, char *name, int *val))
{
char *p;
char *key;

@ -1067,7 +1067,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags)
if (ep->calculating & flags)
{
#if 1
char *axes = "NONE", *faxes = "NONE";
const char *axes = "NONE", *faxes = "NONE";
if ((ep->calculating & FLAG_X) &&
(ep->calculating & FLAG_Y))

Loading…
Cancel
Save