E CVS: proto/eina cedric

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Author: Enlightenment CVS
Date:  
To: enlightenment-cvs
Subject: E CVS: proto/eina cedric
Enlightenment CVS committal

Author : cedric
Project : e17
Module : proto/eina

Dir : e17/proto/eina/src/include


Modified Files:
    eina_inline_array.x


Log Message:
Add some meaningfull const.


===================================================================
RCS file: /cvs/e/e17/proto/eina/src/include/eina_inline_array.x,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- eina_inline_array.x    8 Aug 2008 14:25:37 -0000    1.5
+++ eina_inline_array.x    11 Aug 2008 16:21:19 -0000    1.6
@@ -51,13 +51,13 @@
}

static inline void *
-eina_array_get(Eina_Array *array, unsigned int index)
+eina_array_get(const Eina_Array *array, unsigned int index)
{
return array->data[index];
}

static inline unsigned int
-eina_array_count(Eina_Array *array)
+eina_array_count(const Eina_Array *array)
{
return array->count;
}



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@???
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs