-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: Add GetFloatingClientMetadata method #10
feat: Add GetFloatingClientMetadata method #10
Conversation
GetFloatingClientMetadata.argtypes = [CSTRTYPE, STRTYPE, c_uint32] | ||
GetFloatingClientMetadata.restype = c_int | ||
|
||
|
||
RequestFloatingLicense = library.RequestFloatingLicense |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@muneebkq Why this extra line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
|
||
Returns: | ||
str: value of metadata for the key | ||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@muneebkq Update the docs, it does not return the value of metadata for the key, instead it simply returns value of the floating client metadata
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the comments
str: value of the floating client metadata | ||
""" | ||
cstring_key = LexFloatClientNative.get_ctype_string(key) | ||
buffer_size = 256 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@muneebkq Updated the buffer size to 4096
GetFloatingClientMetadata, to retrieve the value of the floating client metadata. The method takes a key as an argument and returns the corresponding value.