You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
375 B
C
16 lines
375 B
C
/*
|
|
* "ex" API implementation
|
|
* http://lua-users.org/wiki/ExtensionProposal
|
|
* Copyright 2007 Mark Edgar < medgar at gmail com >
|
|
*/
|
|
#ifndef pusherror_h
|
|
#define pusherror_h
|
|
|
|
#include <windows.h>
|
|
#include "lua.h"
|
|
|
|
int windows_pusherror(lua_State *L, DWORD error, int nresults);
|
|
#define windows_pushlasterror(L) windows_pusherror(L, GetLastError(), -2)
|
|
|
|
#endif/*pusherror_h*/
|