atom_library_main.h 565 B

12345678910111213141516171819202122
  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 ATOM_APP_ATOM_LIBRARY_MAIN_H_
  5. #define ATOM_APP_ATOM_LIBRARY_MAIN_H_
  6. #include "build/build_config.h"
  7. #if defined(OS_MACOSX)
  8. extern "C" {
  9. __attribute__((visibility("default"))) int AtomMain(int argc, char* argv[]);
  10. #ifdef ENABLE_RUN_AS_NODE
  11. __attribute__((visibility("default"))) int AtomInitializeICUandStartNode(
  12. int argc,
  13. char* argv[]);
  14. #endif
  15. }
  16. #endif // OS_MACOSX
  17. #endif // ATOM_APP_ATOM_LIBRARY_MAIN_H_