1 /* LuaEvent - Copyright (C) 2007 Thomas Harning <harningt@gmail.com> |
1 /* LuaEvent - Copyright (C) 2007 Thomas Harning <harningt@gmail.com> |
2 * Licensed as LGPL - See doc/COPYING for details */ |
2 * Licensed as LGPL - See doc/COPYING for details */ |
|
3 #include <stdlib.h> |
3 #include "buffer_event.h" |
4 #include "buffer_event.h" |
4 #include "utility.h" |
5 #include "utility.h" |
5 #include <lauxlib.h> |
6 #include <lauxlib.h> |
6 #include <malloc.h> |
|
7 #include "event_buffer.h" |
7 #include "event_buffer.h" |
8 |
8 |
9 #define BUFFER_EVENT_MT "BUFFER_EVENT_MT" |
9 #define BUFFER_EVENT_MT "BUFFER_EVENT_MT" |
10 |
10 |
11 /* Locations of READ/WRITE buffers in the fenv */ |
11 /* Locations of READ/WRITE buffers in the fenv */ |