From 4d670146b4054e11e90227f96a3a1c66410e8d0b Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Thu, 19 Jan 2023 13:00:09 +0000 Subject: more cross-platform work --- command_line/CmdLine/Src/CLLicenses.c | 2 +- command_line/CmdLine/Src/Callbacks/CLDropinCallbacks_V10.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'command_line/CmdLine/Src') diff --git a/command_line/CmdLine/Src/CLLicenses.c b/command_line/CmdLine/Src/CLLicenses.c index a58d58d..5602488 100644 --- a/command_line/CmdLine/Src/CLLicenses.c +++ b/command_line/CmdLine/Src/CLLicenses.c @@ -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; } diff --git a/command_line/CmdLine/Src/Callbacks/CLDropinCallbacks_V10.cpp b/command_line/CmdLine/Src/Callbacks/CLDropinCallbacks_V10.cpp index f231060..965e414 100644 --- a/command_line/CmdLine/Src/Callbacks/CLDropinCallbacks_V10.cpp +++ b/command_line/CmdLine/Src/Callbacks/CLDropinCallbacks_V10.cpp @@ -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; } -- cgit v1.2.3