Skip to content

Commit

Permalink
[unity]修正android编译错误,并升级api版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Mar 25, 2024
1 parent f174001 commit 18f08c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions unity/native_src/Src/Puerts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <cstring>
#include "V8Utils.h"

#define API_LEVEL 32
#define API_LEVEL 33

using puerts::JSEngine;
using puerts::FValue;
Expand Down Expand Up @@ -975,9 +975,9 @@ V8_EXPORT void LogicTick(v8::Isolate *Isolate)

typedef void(*LogCallback)(const char* value);

extern LogCallback GLogCallback = nullptr;
extern LogCallback GLogWarningCallback = nullptr;
extern LogCallback GLogErrorCallback = nullptr;
extern LogCallback GLogCallback;
extern LogCallback GLogWarningCallback;
extern LogCallback GLogErrorCallback;

V8_EXPORT void SetLogCallback(LogCallback Log, LogCallback LogWarning, LogCallback LogError)
{
Expand Down

0 comments on commit 18f08c8

Please sign in to comment.