MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / LoopReadFileStruct

Method LoopReadFileStruct

source/script.h:559–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557 #define READ_FILE_LINE_SIZE (64 * 1024)
558 TCHAR mCurrentLine[READ_FILE_LINE_SIZE];
559 LoopReadFileStruct(LPTSTR aWriteFileName)
560 : mWriteFile(nullptr) // mWriteFile is opened by FileAppend() only upon first use.
561 , mWriteFileName(aWriteFileName) // Caller has passed the result of _tcsdup() for us to take over.
562 {
563 *mCurrentLine = '\0';
564 }
565 ~LoopReadFileStruct()
566 {
567 free(mWriteFileName);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected