Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add totalDeactivations getter #11

Merged
merged 4 commits into from
Feb 9, 2024
Merged

Conversation

azan-n
Copy link
Member

@azan-n azan-n commented Feb 8, 2024

No description provided.

@azan-n azan-n requested a review from mumin-khan February 8, 2024 10:47
let status = unsafe { GetLicenseAllowedDeactivations(&mut allowed_deactivations) };
if status == 0 {
Ok(allowed_deactivations)
} else {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a question.
In python and js lexactivator pacakge we return 0 for LA_FAIL, here I guess we throw an error, is this an inconsistency?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. It is. We'll work on this moving forward.

@mumin-khan mumin-khan self-requested a review February 8, 2024 11:39
@azan-n azan-n requested a review from adnan-kamili February 8, 2024 11:50
@azan-n azan-n merged commit 8c5812f into main Feb 9, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants