electron/atom/app/atom_library_main.h

23 lines
556 B
C
Raw Normal View History

// Copyright (c) 2013 GitHub, Inc.
2014-04-25 09:49:37 +00:00
// Use of this source code is governed by the MIT license that can be
2013-04-12 01:46:58 +00:00
// found in the LICENSE file.
2014-03-16 00:58:59 +00:00
#ifndef ATOM_APP_ATOM_LIBRARY_MAIN_H_
#define ATOM_APP_ATOM_LIBRARY_MAIN_H_
2013-04-12 01:46:58 +00:00
2016-03-08 14:28:53 +00:00
#include "build/build_config.h"
2013-07-01 14:21:31 +00:00
#if defined(OS_MACOSX)
2013-04-12 01:46:58 +00:00
extern "C" {
2013-04-14 09:33:44 +00:00
__attribute__((visibility("default")))
int AtomMain(int argc, char* argv[]);
2015-01-16 23:54:38 +00:00
#ifdef ENABLE_RUN_AS_NODE
2015-01-16 23:54:38 +00:00
__attribute__((visibility("default")))
int AtomInitializeICUandStartNode(int argc, char *argv[]);
#endif
2013-04-12 01:46:58 +00:00
}
2013-07-01 14:21:31 +00:00
#endif // OS_MACOSX
2013-04-12 01:46:58 +00:00
2014-03-16 00:58:59 +00:00
#endif // ATOM_APP_ATOM_LIBRARY_MAIN_H_