/** @file
Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#include <Python.h>
#include <Decompress.h>
/*
UefiDecompress(data_buffer, size, original_size)
*/
)
{
Args,
"Oi",
&SrcData,
);
if (Status == 0) {
return NULL;
}
return NULL;
}
// Because some Python objects which support "buffer" protocol have more than one
// memory segment, we have to copy them into a contiguous memory.
goto ERROR;
}
if (Len < 0) {
goto ERROR;
}
}
if (Status != EFI_SUCCESS) {
goto ERROR;
}
}
}
return NULL;
}
)
{
Args,
"Oi",
&SrcData,
);
if (Status == 0) {
return NULL;
}
return NULL;
}
// Because some Python objects which support "buffer" protocol have more than one
// memory segment, we have to copy them into a contiguous memory.
goto ERROR;
}
if (Len < 0) {
goto ERROR;
}
}
if (Status != EFI_SUCCESS) {
goto ERROR;
}
}
}
return NULL;
}
)
{
return NULL;
}
)
{
return NULL;
}
};
}