electron/atom/app/atom_library_main.h

21 lines
529 B
C
Raw Normal View History

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