int error = Sleep(lua_State *L, int ms);
ERR_USERABORT
so that Hollywood can shutdown.
Sleep()
is an optional API and must only be implemented if HWSDAFLAGS_SLEEP
has been
passed to hw_SetDisplayAdapter(). See hw_SetDisplayAdapter for details.
Note that when compiling for 64-bit Windows, this function must be called _Sleep
instead. Otherwise there will be clashes with the function of the same name from kernel32
.lib.
On 32-bit Windows this isn't a problem because 32-bit Windows uses decorated function exports.
lua_State