diff options
Diffstat (limited to 'source/slang/name.h')
| -rw-r--r-- | source/slang/name.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/slang/name.h b/source/slang/name.h index e492c4507..e1a055e60 100644 --- a/source/slang/name.h +++ b/source/slang/name.h @@ -36,6 +36,9 @@ public: // (e.g., so that it can be printed). String getText(Name* name); +/// Get the text as unowned string slice +UnownedStringSlice getUnownedStringSliceText(Name* name); + // A `RootNamePool` is used to store and look up names. // If two systems need to work together with names, and be sure that they // get equivalent names for a string like `"Foo"`, then they need to use |
