atom_library_main.h 529 B

1234567891011121314151617181920
  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")))
  10. int AtomMain(int argc, const char* argv[]);
  11. __attribute__((visibility("default")))
  12. int AtomInitializeICUandStartNode(int argc, char *argv[]);
  13. }
  14. #endif // OS_MACOSX
  15. #endif // ATOM_APP_ATOM_LIBRARY_MAIN_H_