Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2020-04-12 19:55:03 +0300
committerAnna Henningsen <anna@addaleax.net>2020-04-15 03:11:43 +0300
commite0a7fd7d214300496a3b63eec74296661d844a2d (patch)
treebdab5bf444437748cd7a5b1f2749a6becebcab36 /src/node_internals.h
parent907ebdd76d45aa7f5dbd0972da79a959e6f34246 (diff)
src: use basename(argv0) for --trace-uncaught suggestion
Refs: https://github.com/nodejs/node/pull/32797#discussion_r407222290 PR-URL: https://github.com/nodejs/node/pull/32798 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'src/node_internals.h')
-rw-r--r--src/node_internals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node_internals.h b/src/node_internals.h
index dfb2c6e0c37..fa3ba022fe7 100644
--- a/src/node_internals.h
+++ b/src/node_internals.h
@@ -396,6 +396,10 @@ BaseObjectPtr<AsyncWrap> CreateHeapSnapshotStream(
Environment* env, HeapSnapshotPointer&& snapshot);
} // namespace heap
+namespace fs {
+std::string Basename(const std::string& str, const std::string& extension);
+} // namespace fs
+
} // namespace node
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS