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
|
||||
// the function founds a match with current pipeline, it fills the pointers and returns TRUE
|
||||
// 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
|
||||
// matrices with far more precision that CLUTS
|
||||
|
|
|
@ -102,7 +102,7 @@ CMSAPI void CMSEXPORT cmsMD5finish(cmsProfileID* ProfileID, cmsHAN
|
|||
|
||||
// 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 ----------------------------------------------------------------------------------
|
||||
|
||||
|
@ -174,7 +174,7 @@ CMSAPI cmsBool CMSEXPORT _cmsReadAlignment(cmsIOHANDLER* io);
|
|||
CMSAPI cmsBool CMSEXPORT _cmsWriteAlignment(cmsIOHANDLER* io);
|
||||
|
||||
// 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
|
||||
CMSAPI cmsFloat64Number CMSEXPORT _cms8Fixed8toDouble(cmsUInt16Number fixed8);
|
||||
|
|
|
@ -506,7 +506,7 @@ void CMSEXPORT cmsSetLogErrorHandler(cmsLogErrorHandlerFunction Fn)
|
|||
|
||||
// Log an 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;
|
||||
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
|
||||
// if not, returns FALSE without touching anything. Setting pointers to NULL does bypass
|
||||
// the storage process.
|
||||
cmsBool WINAPIV cmsPipelineCheckAndRetreiveStages(const cmsPipeline* Lut, cmsUInt32Number n, ...)
|
||||
cmsBool CMSEXPORT cmsPipelineCheckAndRetreiveStages(const cmsPipeline* Lut, cmsUInt32Number n, ...)
|
||||
{
|
||||
va_list args;
|
||||
cmsUInt32Number i;
|
||||
|
|
|
@ -492,7 +492,7 @@ cmsBool CMSEXPORT _cmsWriteAlignment(cmsIOHANDLER* io)
|
|||
|
||||
|
||||
// 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;
|
||||
int len;
|
||||
|
|
Loading…
Reference in New Issue