Skip to content

Commit

Permalink
* 提交缺少的文件
Browse files Browse the repository at this point in the history
  • Loading branch information
weolar committed Sep 25, 2024
1 parent 4d11ae8 commit 317bebd
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions v8_5_7/src/libplatform/default-platform-wrap.cc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

#include "default-platform-wrap.h"
#include "default-platform.h"
#include "include/v8.h"

namespace v8 {

void InitializeDefaultPlatform() {
v8::V8::InitializePlatform(new v8::platform::DefaultPlatform());
}

}
11 changes: 11 additions & 0 deletions v8_5_7/src/libplatform/default-platform-wrap.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

#ifndef libplatform_default_platform_wrap_h
#define libplatform_default_platform_wrap_h

namespace v8 {
void InitializeDefaultPlatform();
}



#endif // libplatform_default_platform_wrap_h

0 comments on commit 317bebd

Please sign in to comment.