[En-Nut-Discussion] Event API
Henk Kampman
henk at secondmove.com
Wed Oct 27 10:02:29 CEST 2004
On 27-okt-04, at 9:45, Matthias Ringwald wrote:
>
> On 26.10.2004, at 19:58, Henk Kampman wrote:
>
>> Why is there no NutEventClear?
>
> Because it's not (really) needed.
>
> NutEventClear is identical to the also non-existant NutEventInit
> which is realized by setting the event queue to 0:
> theEvent = 0
Are you sure about that?
Wouldn't that cause a memory leak or a dangling pointer when the the
event queue is not empty?
Henk
More information about the En-Nut-Discussion
mailing list