зеркало из https://github.com/electron/electron.git
24 строки
652 B
C
24 строки
652 B
C
// Copyright (c) 2013 GitHub, Inc.
|
|
// Use of this source code is governed by the MIT license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef ELECTRON_SHELL_APP_ELECTRON_LIBRARY_MAIN_H_
|
|
#define ELECTRON_SHELL_APP_ELECTRON_LIBRARY_MAIN_H_
|
|
|
|
#include "build/build_config.h"
|
|
#include "electron/buildflags/buildflags.h"
|
|
|
|
#if BUILDFLAG(IS_MAC)
|
|
extern "C" {
|
|
__attribute__((visibility("default"))) int ElectronMain(int argc, char* argv[]);
|
|
|
|
#if BUILDFLAG(ENABLE_RUN_AS_NODE)
|
|
__attribute__((visibility("default"))) int ElectronInitializeICUandStartNode(
|
|
int argc,
|
|
char* argv[]);
|
|
#endif
|
|
}
|
|
#endif
|
|
|
|
#endif // ELECTRON_SHELL_APP_ELECTRON_LIBRARY_MAIN_H_
|