Committing luabindings for commit 07f47c1 (#1773)

* Committing luabindings for commit 07f47c1

* Check lua-tests on linux ci

---------

Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
This commit is contained in:
axmol-bot 2024-03-28 21:07:51 +08:00 committed by GitHub
parent 6f81d69c01
commit 1de0e166b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 14 additions and 4 deletions

View File

@ -95,7 +95,9 @@ jobs:
- name: Build
shell: pwsh
run: ./build.ps1 -p linux -a x64
run: |
./build.ps1 -p linux -a x64
./build.ps1 -p linux -a x64 -xb '--target,lua-tests'
osx:
runs-on: macos-13
strategy:

View File

@ -1,4 +1,5 @@
#include "lua-bindings/auto/axlua_3d_auto.hpp"
#if defined(AX_ENABLE_3D)
#include "cocos2d.h"
#include "3d/Bundle3D.h"
#include "lua-bindings/manual/tolua_fix.h"
@ -7747,3 +7748,4 @@ TOLUA_API int register_all_ax_3d(lua_State* tolua_S)
return 1;
}
#endif

View File

@ -1,6 +1,8 @@
#include "base/Config.h"
#if defined(AX_ENABLE_3D)
#ifndef __ax_3d_h__
#define __ax_3d_h__
#include "tolua++.h"
int register_all_ax_3d(lua_State* tolua_S);
#endif // __ax_3d_h__
#endif //#if defined(AX_ENABLE_3D)

View File

@ -1,5 +1,5 @@
#include "lua-bindings/auto/axlua_audioengine_auto.hpp"
#if AX_TARGET_PLATFORM == AX_PLATFORM_ANDROID || AX_TARGET_PLATFORM == AX_PLATFORM_IOS || AX_TARGET_PLATFORM == AX_PLATFORM_MAC || defined(_WIN32) || AX_TARGET_PLATFORM == AX_PLATFORM_LINUX || AX_TARGET_PLATFORM == AX_PLATFORM_WASM
#if defined(AX_ENABLE_AUDIO) && (AX_TARGET_PLATFORM == AX_PLATFORM_ANDROID || AX_TARGET_PLATFORM == AX_PLATFORM_IOS || AX_TARGET_PLATFORM == AX_PLATFORM_MAC || defined(_WIN32) || AX_TARGET_PLATFORM == AX_PLATFORM_LINUX || AX_TARGET_PLATFORM == AX_PLATFORM_WASM)
#include "audio/AudioEngine.h"
#include "lua-bindings/manual/tolua_fix.h"
#include "lua-bindings/manual/LuaBasicConversions.h"

View File

@ -1,8 +1,8 @@
#include "base/Config.h"
#if AX_TARGET_PLATFORM == AX_PLATFORM_ANDROID || AX_TARGET_PLATFORM == AX_PLATFORM_IOS || AX_TARGET_PLATFORM == AX_PLATFORM_MAC || defined(_WIN32) || AX_TARGET_PLATFORM == AX_PLATFORM_LINUX || AX_TARGET_PLATFORM == AX_PLATFORM_WASM
#if defined(AX_ENABLE_AUDIO) && (AX_TARGET_PLATFORM == AX_PLATFORM_ANDROID || AX_TARGET_PLATFORM == AX_PLATFORM_IOS || AX_TARGET_PLATFORM == AX_PLATFORM_MAC || defined(_WIN32) || AX_TARGET_PLATFORM == AX_PLATFORM_LINUX || AX_TARGET_PLATFORM == AX_PLATFORM_WASM)
#ifndef __ax_audioengine_h__
#define __ax_audioengine_h__
#include "tolua++.h"
int register_all_ax_audioengine(lua_State* tolua_S);
#endif // __ax_audioengine_h__
#endif //#if AX_TARGET_PLATFORM == AX_PLATFORM_ANDROID || AX_TARGET_PLATFORM == AX_PLATFORM_IOS || AX_TARGET_PLATFORM == AX_PLATFORM_MAC || defined(_WIN32) || AX_TARGET_PLATFORM == AX_PLATFORM_LINUX || AX_TARGET_PLATFORM == AX_PLATFORM_WASM
#endif //#if defined(AX_ENABLE_AUDIO) && (AX_TARGET_PLATFORM == AX_PLATFORM_ANDROID || AX_TARGET_PLATFORM == AX_PLATFORM_IOS || AX_TARGET_PLATFORM == AX_PLATFORM_MAC || defined(_WIN32) || AX_TARGET_PLATFORM == AX_PLATFORM_LINUX || AX_TARGET_PLATFORM == AX_PLATFORM_WASM)

View File

@ -1,4 +1,5 @@
#include "lua-bindings/auto/axlua_video_auto.hpp"
#if defined(AX_ENABLE_MEDIA)
#include "ui/UIMediaPlayer.h"
#include "lua-bindings/manual/tolua_fix.h"
#include "lua-bindings/manual/LuaBasicConversions.h"
@ -14,3 +15,4 @@ TOLUA_API int register_all_ax_video(lua_State* tolua_S)
return 1;
}
#endif

View File

@ -1,6 +1,8 @@
#include "base/Config.h"
#if defined(AX_ENABLE_MEDIA)
#ifndef __ax_video_h__
#define __ax_video_h__
#include "tolua++.h"
int register_all_ax_video(lua_State* tolua_S);
#endif // __ax_video_h__
#endif //#if defined(AX_ENABLE_MEDIA)