entrypoints.h 763 B

12345678910111213141516171819202122232425
  1. // Copyright 2016 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef MOJO_CORE_ENTRYPOINTS_H_
  5. #define MOJO_CORE_ENTRYPOINTS_H_
  6. #include "mojo/core/system_impl_export.h"
  7. #include "mojo/public/c/system/thunks.h"
  8. namespace mojo {
  9. namespace core {
  10. // Initializes the global Core object.
  11. MOJO_SYSTEM_IMPL_EXPORT void InitializeCore();
  12. // Returns a MojoSystemThunks2 struct populated with the EDK's implementation
  13. // of each function. This may be used by embedders to populate thunks for
  14. // application loading.
  15. MOJO_SYSTEM_IMPL_EXPORT const MojoSystemThunks2& GetSystemThunks();
  16. } // namespace core
  17. } // namespace mojo
  18. #endif // MOJO_CORE_ENTRYPOINTS_H_