/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/v8/src/base/platform/wrappers.h
32 строки
643 B
Michaël Zasso
deps: update V8 to 12.2.281.27
31 мар 2024, 16:36
Не верифицирован
31 мар 2024, 16:36
09a8440
Код
Авторство
О чём код?
// Copyright 2020 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_BASE_PLATFORM_WRAPPERS_H_ #define V8_BASE_PLATFORM_WRAPPERS_H_ #include <stddef.h> #include <stdio.h> #include <stdlib.h> namespace v8::base { inline FILE* Fopen(const char* filename, const char* mode) { #if V8_OS_STARBOARD return NULL; #else return fopen(filename, mode); #endif } inline int Fclose(FILE* stream) { #if V8_OS_STARBOARD return -1; #else return fclose(stream); #endif } } // namespace v8::base #endif // V8_BASE_PLATFORM_WRAPPERS_H_