Getting ready for 2.1. (#1181)
* Getting ready for 2.1. * Fixed version. * Year. * Manually added line as takase said to. * Fixed minor issue at takase's behest. * Dunno where that went. * Updated to use a function pointer. * OK, as discussed, adding this manually for now. * Updated SDL.
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ typedef enum {
|
||||
|
||||
#ifdef _WIN32
|
||||
static volatile long PipeSerialNumber;
|
||||
static void close_fd(HANDLE* handle) { if (*handle) CloseHandle(*handle); *handle = NULL; }
|
||||
static void close_fd(HANDLE* handle) { if (*handle) CloseHandle(*handle); *handle = INVALID_HANDLE_VALUE; }
|
||||
#else
|
||||
static void close_fd(int* fd) { if (*fd) close(*fd); *fd = 0; }
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -900,7 +900,7 @@ static void* api_require(const char* symbol) {
|
||||
U(newmetatable), U(setmetatable), U(testudata), U(checkudata), U(where),
|
||||
U(error), U(fileresult), U(execresult), U(ref), U(unref), U(loadstring),
|
||||
U(newstate), U(setfuncs), U(buffinit), U(addlstring), U(addstring),
|
||||
U(addvalue), U(pushresult), {"api_load_libs", (void*)(api_load_libs)},
|
||||
U(addvalue), U(pushresult), U(openlibs), {"api_load_libs", (void*)(api_load_libs)},
|
||||
#if LUA_VERSION_NUM >= 502
|
||||
P(absindex), P(arith), P(callk), P(compare), P(getglobal),
|
||||
P(len), P(pcallk), P(rawgetp), P(rawlen), P(rawsetp), P(setglobal),
|
||||
|
||||
Reference in New Issue
Block a user