v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
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
#undef USING_V8_SHARED_PRIVATE
9
#include "
include/v8config.h
"
10
11
#if V8_OS_WIN
12
#include "
src/base/win32-headers.h
"
13
14
extern
"C"
{
15
BOOL
WINAPI
DllMain(
HANDLE
hinstDLL,
DWORD
dwReason,
LPVOID
lpvReserved) {
16
// Do nothing.
17
return
1;
18
}
19
}
20
#endif
// V8_OS_WIN
v8config.h
win32-headers.h
BOOL
int BOOL
Definition
win32-headers.h:51
WINAPI
#define WINAPI
Definition
win32-headers.h:58
HANDLE
void * HANDLE
Definition
win32-headers.h:56
LPVOID
void * LPVOID
Definition
win32-headers.h:54
DWORD
unsigned long DWORD
Definition
win32-headers.h:52
src
utils
v8dll-main.cc
Generated on Sun Apr 6 2025 21:08:57 for v8 by
1.12.0