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
13
14extern "C" {
15BOOL WINAPI DllMain(HANDLE hinstDLL, DWORD dwReason, LPVOID lpvReserved) {
16 // Do nothing.
17 return 1;
18}
19}
20#endif // V8_OS_WIN
int BOOL
#define WINAPI
void * HANDLE
void * LPVOID
unsigned long DWORD