mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 15:34:56 +00:00
lcms2: Revert some calling convention changes.
We require -mabi=ms now. Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b75e389046
commit
4c9d8e194c
|
@ -1234,7 +1234,7 @@ CMSAPI void CMSEXPORT cmsPipelineUnlinkStage(cmsPipeline* lut, cmsS
|
||||||
// then a list of expected types followed with a list of double pointers to Stage elements. If
|
// then a list of expected types followed with a list of double pointers to Stage elements. If
|
||||||
// the function founds a match with current pipeline, it fills the pointers and returns TRUE
|
// the function founds a match with current pipeline, it fills the pointers and returns TRUE
|
||||||
// if not, returns FALSE without touching anything.
|
// if not, returns FALSE without touching anything.
|
||||||
CMSAPI cmsBool WINAPIV cmsPipelineCheckAndRetreiveStages(const cmsPipeline* Lut, cmsUInt32Number n, ...);
|
CMSAPI cmsBool CMSEXPORT cmsPipelineCheckAndRetreiveStages(const cmsPipeline* Lut, cmsUInt32Number n, ...);
|
||||||
|
|
||||||
// Matrix has double precision and CLUT has only float precision. That is because an ICC profile can encode
|
// Matrix has double precision and CLUT has only float precision. That is because an ICC profile can encode
|
||||||
// matrices with far more precision that CLUTS
|
// matrices with far more precision that CLUTS
|
||||||
|
|
|
@ -102,7 +102,7 @@ CMSAPI void CMSEXPORT cmsMD5finish(cmsProfileID* ProfileID, cmsHAN
|
||||||
|
|
||||||
// Error logging -------------------------------------------------------------------------------------
|
// Error logging -------------------------------------------------------------------------------------
|
||||||
|
|
||||||
CMSAPI void WINAPIV cmsSignalError(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *ErrorText, ...);
|
CMSAPI void CMSEXPORT cmsSignalError(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *ErrorText, ...);
|
||||||
|
|
||||||
// Memory management ----------------------------------------------------------------------------------
|
// Memory management ----------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -174,7 +174,7 @@ CMSAPI cmsBool CMSEXPORT _cmsReadAlignment(cmsIOHANDLER* io);
|
||||||
CMSAPI cmsBool CMSEXPORT _cmsWriteAlignment(cmsIOHANDLER* io);
|
CMSAPI cmsBool CMSEXPORT _cmsWriteAlignment(cmsIOHANDLER* io);
|
||||||
|
|
||||||
// To deal with text streams. 2K at most
|
// To deal with text streams. 2K at most
|
||||||
CMSAPI cmsBool WINAPIV _cmsIOPrintf(cmsIOHANDLER* io, const char* frm, ...);
|
CMSAPI cmsBool CMSEXPORT _cmsIOPrintf(cmsIOHANDLER* io, const char* frm, ...);
|
||||||
|
|
||||||
// Fixed point helper functions
|
// Fixed point helper functions
|
||||||
CMSAPI cmsFloat64Number CMSEXPORT _cms8Fixed8toDouble(cmsUInt16Number fixed8);
|
CMSAPI cmsFloat64Number CMSEXPORT _cms8Fixed8toDouble(cmsUInt16Number fixed8);
|
||||||
|
|
|
@ -506,7 +506,7 @@ void CMSEXPORT cmsSetLogErrorHandler(cmsLogErrorHandlerFunction Fn)
|
||||||
|
|
||||||
// Log an error
|
// Log an error
|
||||||
// ErrorText is a text holding an english description of error.
|
// ErrorText is a text holding an english description of error.
|
||||||
void WINAPIV cmsSignalError(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *ErrorText, ...)
|
void CMSEXPORT cmsSignalError(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *ErrorText, ...)
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
char Buffer[MAX_ERROR_MESSAGE_LEN];
|
char Buffer[MAX_ERROR_MESSAGE_LEN];
|
||||||
|
|
|
@ -107,7 +107,7 @@ void From16ToFloat(const cmsUInt16Number In[], cmsFloat32Number Out[], cmsUInt32
|
||||||
// the function founds a match with current pipeline, it fills the pointers and returns TRUE
|
// the function founds a match with current pipeline, it fills the pointers and returns TRUE
|
||||||
// if not, returns FALSE without touching anything. Setting pointers to NULL does bypass
|
// if not, returns FALSE without touching anything. Setting pointers to NULL does bypass
|
||||||
// the storage process.
|
// the storage process.
|
||||||
cmsBool WINAPIV cmsPipelineCheckAndRetreiveStages(const cmsPipeline* Lut, cmsUInt32Number n, ...)
|
cmsBool CMSEXPORT cmsPipelineCheckAndRetreiveStages(const cmsPipeline* Lut, cmsUInt32Number n, ...)
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
cmsUInt32Number i;
|
cmsUInt32Number i;
|
||||||
|
|
|
@ -492,7 +492,7 @@ cmsBool CMSEXPORT _cmsWriteAlignment(cmsIOHANDLER* io)
|
||||||
|
|
||||||
|
|
||||||
// To deal with text streams. 2K at most
|
// To deal with text streams. 2K at most
|
||||||
cmsBool WINAPIV _cmsIOPrintf(cmsIOHANDLER* io, const char* frm, ...)
|
cmsBool CMSEXPORT _cmsIOPrintf(cmsIOHANDLER* io, const char* frm, ...)
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
int len;
|
int len;
|
||||||
|
|
Loading…
Reference in a new issue