Skip to content

Conversation

samr46
Copy link
Contributor

@samr46 samr46 commented Jul 21, 2018

Modified function: engineLoadIFP

New syntax: engineLoadIFP ( string ifp_file / string raw_data, string CustomBlockName )

Added option to use raw data instead of a file name.

samr46 and others added 2 commits July 21, 2018 19:50
New syntax: engineLoadIFP ( string ifp_file / string raw_data, string CustomBlockName )

Added option to use raw data instead of a file name.
@qaisjp qaisjp requested a review from a user July 21, 2018 21:09
bool CFileReader::LoadDataBufferToMemory(const SString& buffer)
{
std::streamsize m_BufferSize = buffer.size();
if (m_BufferSize == eIFSTREAM::SIZE_ERROR)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please rename m_BufferSize to iBufferSize for consistency? I made the same mistake within CFileReader::LoadFileToMemory, so please do me one more favor and rename m_iFileSize to iFileSize.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. Done in 0cf25a0.

@ghost ghost merged commit 3b68f4c into multitheftauto:master Jul 22, 2018
@patrikjuvonen patrikjuvonen added the enhancement New feature or request label Aug 7, 2018
@patrikjuvonen patrikjuvonen added this to the 1.5.6 milestone Aug 7, 2018
@patrikjuvonen patrikjuvonen assigned ghost Sep 4, 2018
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants