test/basic.lua: Add simple script to load libevent, show version, etc.

luaevent.c: Fix for backwards-compatibility with 1.3

event_buffer.c: Silence warnings about uninitialized variable 'ret'

Update name and version to luaevent-prosody 0.1.0

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

(0) -10 +10 tip

mercurial