Audacity 3.2.0
Functions
anonymous_namespace{AccessibleLinksFormatter.cpp} Namespace Reference

Functions

size_t OffsetPosition (size_t position, size_t length)
 

Function Documentation

◆ OffsetPosition()

size_t anonymous_namespace{AccessibleLinksFormatter.cpp}::OffsetPosition ( size_t  position,
size_t  length 
)

Definition at line 29 of file AccessibleLinksFormatter.cpp.

30{
31 if (position == wxString::npos)
32 return wxString::npos;
33
34 return position + length;
35}
constexpr size_t npos(-1)

References Tuple::detail::npos().

Referenced by AccessibleLinksFormatter::Populate(), and AccessibleLinksFormatter::ProcessArguments().

Here is the call graph for this function:
Here is the caller graph for this function: