mirror of
https://github.com/fadden/nulib2.git
synced 2024-12-27 17:29:57 +00:00
Various minor tweaks. Renamed the "HuffmanSQ" feature test to just "SQ".
This commit is contained in:
parent
a57143a439
commit
5f1eabc896
@ -1,3 +1,8 @@
|
||||
2002/10/09 fadden
|
||||
- added support for "bzip2" compression via libbz2
|
||||
- added ability to selectively disable compression methods
|
||||
- added "-m" flag to samples/launder so you can specify compression
|
||||
|
||||
2002/09/30 fadden
|
||||
- added support for "deflate" compression via zlib
|
||||
|
||||
|
@ -663,7 +663,7 @@ NuTestFeature(NuFeature feature)
|
||||
NuError err = kNuErrUnsupFeature;
|
||||
|
||||
switch (feature) {
|
||||
case kNuFeatureCompressHuffmanSQ:
|
||||
case kNuFeatureCompressSQ:
|
||||
#ifdef ENABLE_SQ
|
||||
err = kNuErrNone;
|
||||
#endif
|
||||
|
@ -635,7 +635,7 @@ typedef struct NuErrorMessage {
|
||||
typedef enum NuFeature {
|
||||
kNuFeatureUnknown = 0,
|
||||
|
||||
kNuFeatureCompressHuffmanSQ = 1, /* kNuThreadFormatHuffmanSQ */
|
||||
kNuFeatureCompressSQ = 1, /* kNuThreadFormatHuffmanSQ */
|
||||
kNuFeatureCompressLZW = 2, /* kNuThreadFormatLZW1 and LZW2 */
|
||||
kNuFeatureCompressLZC = 3, /* kNuThreadFormatLZC12 and LZC16 */
|
||||
kNuFeatureCompressDeflate = 4, /* kNuThreadFormatDeflate */
|
||||
|
@ -256,7 +256,7 @@ Nu_ConvertCompressValToFormat(NuArchive* pArchive, NuValue compValue)
|
||||
|
||||
if (unsup) {
|
||||
Nu_ReportError(NU_BLOB, kNuErrNone,
|
||||
"Unsupported compression type 0x%04x requested (%ld), not compressing",
|
||||
"Unsupported compression 0x%04x requested (%ld), storing",
|
||||
threadFormat, compValue);
|
||||
return kNuThreadFormatUncompressed;
|
||||
}
|
||||
|
@ -1140,7 +1140,7 @@ main(void)
|
||||
|
||||
(void) NuGetVersion(&major, &minor, &bug, &pBuildDate, &pBuildFlags);
|
||||
printf("Using NuFX library v%ld.%ld.%ld, built on or after\n"
|
||||
"%s with [%s]\n\n",
|
||||
" %s with [%s]\n\n",
|
||||
major, minor, bug, pBuildDate, pBuildFlags);
|
||||
|
||||
if (NuSetGlobalErrorMessageHandler(ErrorMessageHandler) != kNuErrNone) {
|
||||
|
Loading…
Reference in New Issue
Block a user