premake.lua: Remove, as we now have a standard Makefile

buffer_event.c, event_buffer.c, luaevent.c: Remove redundant #includes.

buffer_event.h, event_buffer.h, event_callback.h: Remove sys/time.h, and other redundant #includes.

luaevent.h: sys/time.h is not available with MSVC, use winsock2.h on windows.

luaevent.c: Make ANSI C compatible.

Makefile: Make makefile a bit more generic

Makefile: Added basic Makefile for standard make

base:addevent(): Accept integer as fd parameter

Fix potential stack slot leak when error occurs

Add _NAME and _VERSION fields to module

Add core.libevent_version() function to get version of libevent in use

Add base:method() to return string identifying the current libevent backend in use

base:loopexit(): Support for specifying the timeout before exit

Add base:loopexit() method

event_callback: Fix stack slot leak

(0) -15 +15 tip

mercurial