barbi...@profusion.mobi>
> To: "Enlightenment developer
> list"<enlightenment-devel@lists.sourceforge.net> Cc:
> Sent: 11-10-17(월) 22:06:50
> Subject: Re: [E-devel] internal elm casting
> ACK
> On Monday, October 17, 2011, Tom Hacohen
> <tom.haco...@partner.samsung.com>
On 17/10/11 17:54, ChunEon Park wrote:
> but make us to type shortly.
> i.e)
> Elm_Widget_Item *it = ...
> Elm_Diskselector_Item *git = ELM_CAST(it);
>
That's a discouraged usage.
You should do Elm_Diskselector_Item *git = (Elm_Diskselector_Item *) it;
I.e, don't cast to (void *) in the proc
list"<enlightenment-devel@lists.sourceforge.net>
Cc:
Sent: 11-10-17(월) 22:06:50
Subject: Re: [E-devel] internal elm casting
ACK
On Monday, October 17, 2011, Tom Hacohen <tom.haco...@partner.samsung.com>
wrote:
> On 17/10/11 14:32, Mike Blumenkrantz wrote:
>> Hi,
>>
>&g
ACK
On Monday, October 17, 2011, Tom Hacohen
wrote:
> On 17/10/11 14:32, Mike Blumenkrantz wrote:
>> Hi,
>>
>> At some point recently, someone introduced a macro which does:
>>#define ELM_CAST(p) ((void *)(p))
>>
>> This macro needs to be either changed or removed, as it does nothing but
>> n
On 17/10/11 14:32, Mike Blumenkrantz wrote:
> Hi,
>
> At some point recently, someone introduced a macro which does:
>#define ELM_CAST(p) ((void *)(p))
>
> This macro needs to be either changed or removed, as it does nothing but
> needlessly obfuscate code (not to mention takes longer to type/r
Hi,
At some point recently, someone introduced a macro which does:
#define ELM_CAST(p) ((void *)(p))
This macro needs to be either changed or removed, as it does nothing but
needlessly obfuscate code (not to mention takes longer to type/read than
(void*)).
--
Mike Blumenkrantz
Zentific: Codin