Skip to content

py: fix incompatible types being cast to tcb::span - #49

Merged
leoetlino merged 1 commit into
zeldamods:masterfrom
Nitr4m12:spancast
Sep 20, 2026
Merged

leoetlino merged 1 commit into
zeldamods:masterfrom
Nitr4m12:spancast

Conversation

@Nitr4m12

@Nitr4m12 Nitr4m12 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

If a function was taking tcb::span as a parameter and it was accessed from python, the type caster allows all types through, instead of checking if the type is valid to be cast to tcb::span. This just adds a check to stop that from happening.


This change is Reviewable

If a function was taking `tcb::span` as a parameter and it was accessed from python, the type caster just allows all types through, instead of checking if the type is valid to be cast to `tcb::span`.
@leoetlino
leoetlino merged commit e34f707 into zeldamods:master Sep 20, 2026
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.

2 participants