MCPcopy Create free account
hub / github.com/boostorg/build / debug_object_read

Function debug_object_read

src/engine/debugger.cpp:120–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120static OBJECT * debug_object_read( FILE * in )
121{
122 string buf[ 1 ];
123 int ch;
124 OBJECT * result;
125 string_new( buf );
126 while( ( ch = fgetc( in ) ) > 0 )
127 {
128 string_push_back( buf, (char)ch );
129 }
130 result = object_new( buf->value );
131 string_free( buf );
132 return result;
133}
134
135static void debug_int_write( FILE * out, int i )
136{

Callers 4

debug_int_readFunction · 0.85
debug_list_readFunction · 0.85
debug_frame_readFunction · 0.85
debug_parent_backtraceFunction · 0.85

Calls 4

string_newFunction · 0.85
string_push_backFunction · 0.85
object_newFunction · 0.85
string_freeFunction · 0.85

Tested by

no test coverage detected