Support delete a fd event.
authorXiongfei Guo <xfguo@credosemi.com>
Fri, 20 Jun 2014 10:31:19 +0000 (10:31 +0000)
committerJohn Crispin <blogic@openwrt.org>
Tue, 24 Jun 2014 13:30:30 +0000 (14:30 +0100)
commit02ca59334743aff65a24cba16c9343412c2c0550
tree3138fdc600b26d68bbc42cc798cdbbfd7cad8128
parent79b56268b46ea2eaf7f79af7a64c57e2be37636a
Support delete a fd event.

When you call the fd_add, it will return an object with `delete` method.
So you can delete that event if you want.

Signed-off-by: Xiongfei(Alex) Guo <xfguo@credosemi.com>
examples/uloop-example.lua
lua/uloop.c