Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions examples/LexActivator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,12 @@ class FeatureEntitlement < FFI::Struct
# @scope class
attach_function :ResetActivationMeterAttributeUses, :ResetActivationMeterAttributeUses, [:string], :int

# @method MigrateToSystemWideActivation(oldPermissionFlag)
# @param [Integer] oldPermissionFlag
Comment on lines +600 to +601
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

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

The parameter name "oldPermissionFlag" uses camelCase, which is inconsistent with the naming convention used throughout this file. Other functions use snake_case for parameter names (e.g., "file_path", "license_key", "app_version", "trial_extension_length"). Consider renaming to "old_permission_flag" for consistency.

Suggested change
# @method MigrateToSystemWideActivation(oldPermissionFlag)
# @param [Integer] oldPermissionFlag
# @method MigrateToSystemWideActivation(old_permission_flag)
# @param [Integer] old_permission_flag

Copilot uses AI. Check for mistakes.
# @return [Integer]
# @scope class
attach_function :MigrateToSystemWideActivation, :MigrateToSystemWideActivation, [:uint], :int

# @method Reset()
# @return [Integer]
# @scope class
Expand Down
Loading