Origin commit data
------------------
Branch: ni/coolstream
Commit: e8e77b7f41
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2024-11-10 (Sun, 10 Nov 2024)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2024-11-10 20:03:08 +01:00
committed by vanhofen
parent 7e2a9f66f4
commit 1f60833aed
6 changed files with 68 additions and 0 deletions

View File

@@ -37,6 +37,15 @@
#include "lua_cc_window.h"
#include "lua_cc_text.h"
#if LUA_VERSION_NUM >= 503 /* Lua 5.3 */
#ifndef luaL_checkint
# define luaL_checkint luaL_checkinteger
#endif
#endif /* Lua 5.3 */
CLuaInstCCText* CLuaInstCCText::getInstance()
{
static CLuaInstCCText* LuaInstCCText = NULL;

View File

@@ -33,6 +33,14 @@
#include "luainstance.h"
#include "lua_cc_window.h"
#if LUA_VERSION_NUM >= 503 /* Lua 5.3 */
#ifndef luaL_checkint
#define luaL_checkint luaL_checkinteger
#endif
#endif /* Lua 5.3 */
CLuaInstCCWindow* CLuaInstCCWindow::getInstance()
{
static CLuaInstCCWindow* LuaInstCCWindow = NULL;

View File

@@ -30,6 +30,14 @@
#include "luainstance.h"
#include "lua_configfile.h"
#if LUA_VERSION_NUM >= 503 /* Lua 5.3 */
#ifndef luaL_checkint
#define luaL_checkint luaL_checkinteger
#endif
#endif /* Lua 5.3 */
CLuaInstConfigFile* CLuaInstConfigFile::getInstance()
{
static CLuaInstConfigFile* LuaInstConfigFile = NULL;

View File

@@ -35,6 +35,14 @@
#include "luainstance.h"
#include "lua_filehelpers.h"
#if LUA_VERSION_NUM >= 503 /* Lua 5.3 */
#ifndef luaL_checkint
#define luaL_checkint luaL_checkinteger
#endif
#endif /* Lua 5.3 */
CLuaInstFileHelpers* CLuaInstFileHelpers::getInstance()
{
static CLuaInstFileHelpers* LuaInstFileHelpers = NULL;

View File

@@ -41,6 +41,14 @@
/* autogenerated from luainstance.h */
#include "lua_api_version.h"
#if LUA_VERSION_NUM >= 503 /* Lua 5.3 */
#ifndef luaL_checkint
#define luaL_checkint luaL_checkinteger
#endif
#endif /* Lua 5.3 */
extern CVolume* g_volume;
CLuaInstMisc* CLuaInstMisc::getInstance()

View File

@@ -62,6 +62,33 @@
/* autogenerated from luainstance.h */
#include "lua_api_version.h"
#if LUA_VERSION_NUM >= 503 /* Lua 5.3 */
#ifndef luaL_checkint
# define luaL_checkint luaL_checkinteger
#endif
#ifndef lua_pushunsigned
#define lua_pushunsigned(L, n) \
lua_pushinteger(L, static_cast<lua_Integer>(n))
#define lua_tounsignedx(L, i, is) \
static_cast<lua_Unsigned>(lua_tointegerx(L, i, is))
#define lua_tounsigned(L, i) \
lua_tounsignedx(L, (i), nullptr)
#endif
#ifndef luaL_checkunsigned
#define luaL_checkunsigned(L, a) \
static_cast<lua_Unsigned>(luaL_checkinteger(L, a))
#define luaL_optunsigned(L, a, d) \
static_cast<lua_Unsigned>(luaL_optinteger(L, a, static_cast<lua_Integer>(d)))
#endif
#endif /* Lua 5.3 */
extern CPictureViewer *g_PicViewer;
extern cVideo *videoDecoder;