Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ UTF8PrevCodepoint
Function
UTF8PrevCodepoint
src/string.cpp:501–505 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
499
500
501
size_t UTF8PrevCodepoint(const std::string& s8, size_t pos) {
502
if (pos == 0)
503
return 0;
504
return UTF8StartCodepoint(s8, pos - 1);
505
}
506
507
508
size_t UTF8Length(const std::string& s8) {
Callers
3
truncatePrefix
Function · 0.85
ellipsize
Function · 0.85
onSelectKey
Method · 0.85
Calls
1
UTF8StartCodepoint
Function · 0.85
Tested by
no test coverage detected