V8 Project
v8dll-main.cc
Go to the documentation of this file.
1
// Copyright 2011 the V8 project authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
// The GYP based build ends up defining USING_V8_SHARED when compiling this
6
// file.
7
#undef USING_V8_SHARED
8
#include "
include/v8.h
"
9
10
#if V8_OS_WIN
11
#include "
src/base/win32-headers.h
"
12
13
extern
"C"
{
14
BOOL
WINAPI DllMain(
HANDLE
hinstDLL,
15
DWORD
dwReason,
16
LPVOID lpvReserved) {
17
// Do nothing.
18
return
TRUE;
19
}
20
}
21
#endif
// V8_OS_WIN
v8.h
v8::base::HANDLE
typedef HANDLE(__stdcall *DLL_FUNC_TYPE(CreateToolhelp32Snapshot))(DWORD dwFlags
v8::base::DWORD
typedef DWORD(__stdcall *DLL_FUNC_TYPE(SymGetOptions))(VOID)
v8::base::BOOL
typedef BOOL(__stdcall *DLL_FUNC_TYPE(SymInitialize))(IN HANDLE hProcess
win32-headers.h
mnt
V8SourceCode
src
v8dll-main.cc
Generated on Tue Jul 1 2025 02:36:48 for V8 Project by
1.9.1