ReactMarker.cpp 643 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. #include "ReactMarker.h"
  8. namespace facebook {
  9. namespace react {
  10. namespace ReactMarker {
  11. #if __clang__
  12. #pragma clang diagnostic push
  13. #pragma clang diagnostic ignored "-Wglobal-constructors"
  14. #endif
  15. LogTaggedMarker logTaggedMarker = nullptr;
  16. #if __clang__
  17. #pragma clang diagnostic pop
  18. #endif
  19. void logMarker(const ReactMarkerId markerId) {
  20. logTaggedMarker(markerId, nullptr);
  21. }
  22. } // namespace ReactMarker
  23. } // namespace react
  24. } // namespace facebook