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

Method init

dlib/matlab/subprocess_stream.cpp:199–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197 protected:
198
199 void init (
200 )
201 {
202 try
203 {
204 out_buffer = new char[out_buffer_size];
205 in_buffer = new char[in_buffer_size];
206 }
207 catch (...)
208 {
209 if (out_buffer) delete [] out_buffer;
210 throw;
211 }
212 setp(out_buffer, out_buffer + (out_buffer_size-1));
213 setg(in_buffer+max_putback,
214 in_buffer+max_putback,
215 in_buffer+max_putback);
216 }
217
218 int flush_out_buffer (
219 )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected