MCPcopy Create free account
hub / github.com/TASEmulators/fceux / trimTrailingSpaces

Method trimTrailingSpaces

src/debugsymboltable.cpp:72–96  ·  view source on GitHub ↗

--------------------------------------------------------------

Source from the content-addressed store, hash-verified

70}
71//--------------------------------------------------------------
72void debugSymbol_t::trimTrailingSpaces(void)
73{
74 while ( _name.size() > 0 )
75 {
76 if ( isspace( _name.back() ) )
77 {
78 _name.pop_back();
79 }
80 else
81 {
82 break;
83 }
84 }
85 while ( _comment.size() > 0 )
86 {
87 if ( isspace( _comment.back() ) )
88 {
89 _comment.pop_back();
90 }
91 else
92 {
93 break;
94 }
95 }
96}
97//--------------------------------------------------------------
98// debugSymbolPage_t
99//--------------------------------------------------------------

Callers 2

AddNewSymbolicNameFunction · 0.80
execMethod · 0.80

Calls 2

isspaceClass · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected