electron_library_main.h 566 B

12345678910111213141516171819
  1. // Copyright (c) 2013 GitHub, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #ifndef ELECTRON_SHELL_APP_ELECTRON_LIBRARY_MAIN_H_
  5. #define ELECTRON_SHELL_APP_ELECTRON_LIBRARY_MAIN_H_
  6. #include "build/build_config.h"
  7. #if BUILDFLAG(IS_MAC)
  8. extern "C" {
  9. __attribute__((visibility("default"))) int ElectronMain(int argc, char* argv[]);
  10. __attribute__((visibility("default"))) int ElectronInitializeICUandStartNode(
  11. int argc,
  12. char* argv[]);
  13. }
  14. #endif
  15. #endif // ELECTRON_SHELL_APP_ELECTRON_LIBRARY_MAIN_H_