mirror of
https://git.wuffs.org/MWCC
synced 2025-12-16 08:27:17 +00:00
more cross-platform work
This commit is contained in:
@@ -6,7 +6,7 @@ void License_Initialize(void) {
|
||||
void License_Terminate(void) {
|
||||
}
|
||||
|
||||
SInt32 License_Checkout(void) {
|
||||
SInt32 License_Checkout(const char *featureName, const char *licenseVersion, Boolean flag, char *errorBuf) {
|
||||
return 0xD0AD0A;
|
||||
}
|
||||
|
||||
|
||||
@@ -1182,12 +1182,12 @@ CWResult UCBSecretPeekHandle(CWPluginContext context, CWMemHandle memHandle, Han
|
||||
}
|
||||
}
|
||||
|
||||
CWResult UCBCheckoutLicense(CWPluginContext context, const char *a, const char *b, SInt32 c, void *d, SInt32 *cookiePtr) {
|
||||
CWResult UCBCheckoutLicense(CWPluginContext context, const char *featureName, const char *licenseVersion, SInt32 flags, void *reserved, SInt32 *cookie) {
|
||||
if (optsCmdLine.verbose > 3)
|
||||
CLPrint("Callback: %s\n", "UCBCheckoutLicense");
|
||||
|
||||
if (cookiePtr)
|
||||
*cookiePtr = 0xD0A;
|
||||
if (cookie)
|
||||
*cookie = 0xD0A;
|
||||
|
||||
return cwErrInvalidCallback;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user