Skip to content

Conversation

@mkopcins
Copy link
Collaborator

Description

As in the title, add [[nodiscard]] attribute to exported functions in native implementation.

Introduces a breaking change?

  • Yes
  • No

Type of change

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Documentation update (improves or adds clarity to existing documentation)
  • Other (chores, tests, code style improvements etc.)

Tested on

  • iOS
  • Android

Testing instructions

Check if all demo apps work the same as previously

Screenshots

Related issues

Closes #448

Checklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings

Additional notes

@msluszniak msluszniak changed the title chore: Add [[nodiscard]] attribute to native functions chore: Add [[nodiscard]] attribute to native functions Oct 23, 2025
@msluszniak msluszniak self-assigned this Oct 23, 2025
@msluszniak msluszniak added the chore PRs that are chores label Oct 23, 2025
@msluszniak msluszniak requested a review from IgorSwat October 23, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore PRs that are chores

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mark native functions with [[nodiscard]]

3 participants