mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
feat: enable native extensions support (#21814)
This commit is contained in:
20
shell/common/process_util.h
Normal file
20
shell/common/process_util.h
Normal file
@@ -0,0 +1,20 @@
|
||||
// Copyright (c) 2019 GitHub, Inc.
|
||||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_COMMON_PROCESS_UTIL_H_
|
||||
#define SHELL_COMMON_PROCESS_UTIL_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "shell/common/node_includes.h"
|
||||
|
||||
namespace electron {
|
||||
|
||||
void EmitWarning(node::Environment* env,
|
||||
const std::string& warning_msg,
|
||||
const std::string& warning_type);
|
||||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_PROCESS_UTIL_H_
|
||||
Reference in New Issue
Block a user