MCPcopy Create free account
hub / github.com/beefytech/Beef / Create

Method Create

IDEHelper/Compiler/BfIRCodeGen.cpp:292–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290 }
291
292 bool Create()
293 {
294 AutoCrit autoCrit(mCritSect);
295 if (mFP != NULL)
296 return false;
297
298 WCHAR wPath[4096];
299 wPath[0] = 0;
300 ::GetTempPathW(4096, wPath);
301
302 WCHAR wFilePath[4096];
303 wFilePath[0] = 0;
304 GetTempFileNameW(wPath, L"bftmp", 0, wFilePath);
305
306 mFilePath = UTF8Encode(wFilePath);
307 mFP = _wfopen(wFilePath, L"w+D");
308 return mFP != NULL;
309 }
310
311 String GetContents()
312 {

Callers 2

WriteEmitDataMethod · 0.45
BfIRCodeGenMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected