Skip to content

Conversation

msluszniak
Copy link
Member

@msluszniak msluszniak commented Sep 19, 2025

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 self-assigned this Sep 19, 2025
@msluszniak msluszniak requested review from chmjkb, jakmro and mkopcins and removed request for chmjkb, jakmro and mkopcins September 19, 2025 09:25
@msluszniak msluszniak changed the title Add [[nodiscard]] attribute to native functions Add [[nodiscard]] attribute to native functions Sep 19, 2025
@msluszniak msluszniak added chore PRs that are chores refactoring labels Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore PRs that are chores refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mark native functions with [[nodiscard]]
1 participant