Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
I am trying to learn and understand the C code of lzma which is available from the LZMA SDK in 7zip website. I am not an expert in C programming so I am having a hard time understanding some functions.
One such function is the “LzmaEnc_Create” from the file LzmaEnc.c in the c code folder of lzma [line number 1700][ http://downloads.sourceforge.net/sevenzip/lzma920.tar.bz2].
I have copied the code of LzmaEnc_Create below.
I would really appreciate any help provided to help me learn and understand this program.
Ask your question and don't attach any files.
Sanjayan Ravi: the above function allocates memory for LZMA encoder. Some programmers inline such functions entirely: this may reduce (negligibly) binary code size and its execution time. Creating a separate function improves source code readability and manageability. Is this an answer to your question?
Igor Pavlov: I am sorry.
Thank you so much for your reply, this answers my question.