Skip to content

Conversation

@vaxerski
Copy link
Member

@vaxerski vaxerski commented Jul 8, 2025

Adds setData<T> and data<T> which additionally verify the type is correct.

Fixes #18

@orowith2os
Copy link

Do we still need the void* returning functions? I don't remember if C++ warns or errors on passing a concrete pointer type to a void*.

@vaxerski
Copy link
Member Author

vaxerski commented Jul 8, 2025

we do as we don't break API, so we need them for compat.

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.

Make use of templates/generics for resource data

3 participants