diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-19 13:00:09 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-19 13:00:09 +0000 |
commit | 4d670146b4054e11e90227f96a3a1c66410e8d0b (patch) | |
tree | 8dca31cf9ee497ee59e833f48dd76c81aaef3cf5 /command_line | |
parent | 5d0bbb19cc133753cebda7099e46d4b2084336c6 (diff) | |
download | MWCC-4d670146b4054e11e90227f96a3a1c66410e8d0b.tar.gz MWCC-4d670146b4054e11e90227f96a3a1c66410e8d0b.zip |
more cross-platform work
Diffstat (limited to '')
-rw-r--r-- | command_line/CmdLine/Src/CLLicenses.c | 2 | ||||
-rw-r--r-- | command_line/CmdLine/Src/Callbacks/CLDropinCallbacks_V10.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
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; } |