head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2008.06.23.16.54.33; author rse; state Exp; branches; next ; commitid ISUyPstBsciPT58t; desc @@ 1.1 log @new package: par2cmdline 0.4 (Parity Archive Command-Line Tool) @ text @Index: Makefile.in --- Makefile.in.orig 2004-04-12 18:44:18 +0200 +++ Makefile.in 2008-06-23 18:49:31 +0200 @@@@ -228,7 +228,7 @@@@ verificationpacket.cpp verificationpacket.h LDADD = -lstdc++ -AM_CXXFLAGS = -Wall +AM_CXXFLAGS = EXTRA_DIST = PORTING ROADMAP par2cmdline.sln par2cmdline.vcproj \ testdata.tar.gz pretest test1 test2 test3 test4 test5 test6 \ posttest Index: reedsolomon.cpp --- reedsolomon.cpp.orig 2003-05-26 20:01:31 +0200 +++ reedsolomon.cpp 2008-06-23 18:49:13 +0200 @@@@ -51,7 +51,7 @@@@ } } -bool ReedSolomon::SetInput(const vector &present) +template<> bool ReedSolomon::SetInput(const vector &present) { inputcount = (u32)present.size(); @@@@ -80,7 +80,7 @@@@ return true; } -bool ReedSolomon::SetInput(u32 count) +template<> bool ReedSolomon::SetInput(u32 count) { inputcount = count; @@@@ -101,7 +101,7 @@@@ return true; } -bool ReedSolomon::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer) +template<> bool ReedSolomon::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer) { // Look up the appropriate element in the RS matrix Galois8 factor = leftmatrix[outputindex * (datapresent + datamissing) + inputindex]; @@@@ -189,7 +189,7 @@@@ // Set which of the source files are present and which are missing // and compute the base values to use for the vandermonde matrix. -bool ReedSolomon::SetInput(const vector &present) +template<> bool ReedSolomon::SetInput(const vector &present) { inputcount = (u32)present.size(); @@@@ -233,7 +233,7 @@@@ // Record that the specified number of source files are all present // and compute the base values to use for the vandermonde matrix. -bool ReedSolomon::SetInput(u32 count) +template<> bool ReedSolomon::SetInput(u32 count) { inputcount = count; @@@@ -267,7 +267,7 @@@@ return true; } -bool ReedSolomon::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer) +template<> bool ReedSolomon::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer) { // Look up the appropriate element in the RS matrix @