MCPcopy Create free account
hub / github.com/davisking/dlib / trim

Method trim

dlib/gui_widgets/fonts.cpp:380–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378 }
379 }
380 void trim()
381 {
382 int type;
383 std::string token;
384 while ( 1 )
385 {
386 type = tokzr.peek_type();
387 if ( type == tokenizer::kernel_1a_c::WHITE_SPACE || type == tokenizer::kernel_1a_c::END_OF_LINE )
388 {
389 tokzr.get_token( type, token );
390 continue;
391 }
392 break;
393 }
394 }
395 bool required_keyword( int kw )
396 {
397 int type;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected