Skip to content

Default enable checked C API unless disabled by NDEBUG#220

Merged
li-feng-sc merged 1 commit into
Snapchat:experimental-recordfrom
kevinthornberry:kt/default-checked-c
Mar 17, 2026
Merged

Default enable checked C API unless disabled by NDEBUG#220
li-feng-sc merged 1 commit into
Snapchat:experimental-recordfrom
kevinthornberry:kt/default-checked-c

Conversation

@kevinthornberry

Copy link
Copy Markdown

The checked C API (use dynamic_cast to validate that a djinni C ref is of the correct type) is only enabled if DEBUG is defined but there is not a way to control this. Change to enabled checking by default unless the NDEBUG environment is building.

@li-feng-sc li-feng-sc merged commit cc2921d into Snapchat:experimental-record Mar 17, 2026
1 check 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