Skip to content

Commit

Permalink
[p-api]c语言兼容
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Oct 17, 2024
1 parent 65f25d0 commit c0025f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion unreal/Puerts/Source/JsEnv/Private/PesapiV8Impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ pesapi_scope pesapi_open_scope(pesapi_env_ref env_ref)
return scope;
}

pesapi_scope pesapi_open_scope_placement(pesapi_env_ref env_ref, pesapi_scope_memory* memory)
pesapi_scope pesapi_open_scope_placement(pesapi_env_ref env_ref, struct pesapi_scope_memory* memory)
{
if (env_ref->env_life_cycle_tracker.expired())
{
Expand Down
2 changes: 1 addition & 1 deletion unreal/Puerts/Source/JsEnv/Public/pesapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ PESAPI_EXTERN pesapi_env_ref pesapi_duplicate_env_ref(pesapi_env_ref env_ref);
PESAPI_EXTERN void pesapi_release_env_ref(pesapi_env_ref env_ref);

PESAPI_EXTERN pesapi_scope pesapi_open_scope(pesapi_env_ref env_ref);
PESAPI_EXTERN pesapi_scope pesapi_open_scope_placement(pesapi_env_ref env_ref, pesapi_scope_memory* memory);
PESAPI_EXTERN pesapi_scope pesapi_open_scope_placement(pesapi_env_ref env_ref, struct pesapi_scope_memory* memory);
PESAPI_EXTERN bool pesapi_has_caught(pesapi_scope scope);
PESAPI_EXTERN const char* pesapi_get_exception_as_string(pesapi_scope scope, bool with_stack);
PESAPI_EXTERN void pesapi_close_scope(pesapi_scope scope);
Expand Down

0 comments on commit c0025f7

Please sign in to comment.