callstack.h 341 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) 2012-2023 Daniele Bartolini et al.
  3. * SPDX-License-Identifier: MIT
  4. */
  5. #pragma once
  6. #include "core/strings/string_stream.h"
  7. #include "core/strings/types.h"
  8. namespace crown
  9. {
  10. namespace error
  11. {
  12. /// Fills @a ss with the current call stack.
  13. void callstack(StringStream &ss);
  14. } // namespace error
  15. } // namespace crown