Enlightenment CVS committal

Author  : tilman
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/bin


Modified Files:
        edje_cc.h edje_cc_out.c 


Log Message:
fixed some const char*/char* confusion.

===================================================================
RCS file: /cvs/e/e17/libs/edje/src/bin/edje_cc.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- edje_cc.h   12 Oct 2006 05:35:14 -0000      1.28
+++ edje_cc.h   31 Mar 2007 10:33:23 -0000      1.29
@@ -15,13 +15,13 @@
 
 struct _New_Object_Handler
 {
-   char *type;
+   const char *type;
    void (*func)(void);
 };
 
 struct _New_Statement_Handler
 {
-   char *type;
+   const char *type;
    void (*func)(void);
 };
 
===================================================================
RCS file: /cvs/e/e17/libs/edje/src/bin/edje_cc_out.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -3 -r1.54 -r1.55
--- edje_cc_out.c       17 Nov 2006 14:47:30 -0000      1.54
+++ edje_cc_out.c       31 Mar 2007 10:33:23 -0000      1.55
@@ -45,7 +45,7 @@
 };
 
 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 @@
 }
 
 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;



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to