On 05/23/2012 10:26 AM, Bluezery wrote:
> 2012/5/22 Christopher Michael<[email protected]>:
>> On 05/21/12 16:34, Sebastian Dransfeld wrote:
>>> On 05/21/2012 08:24 AM, Bluezery wrote:
>>>> Hello,
>>>>
>>>> Some efreet APIs do not check input parameters.  So I add checking by
>>>> using EINA_SAFETY_ON_XXX().
>>>> ISO/IEC statndards says that "If an argument to a function has an
>>>> invalid value, behavior is undefined" . But this is  just for the
>>>> primitive functions such as libc.  I think that parameter checking is
>>>> needed in at least EFL exported APIs

In, with some modifications.

1. free function should accept NULL, and just return
2. Add EINA_SAFETY after variable declaration

S.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to