super lightweight event lib for c and lua