Skip to content

Hooks for UntypedComponent.#280

Open
r4nd0m1z3r wants to merge 3 commits into
Indra-db:mainfrom
r4nd0m1z3r:main
Open

Hooks for UntypedComponent.#280
r4nd0m1z3r wants to merge 3 commits into
Indra-db:mainfrom
r4nd0m1z3r:main

Conversation

@r4nd0m1z3r
Copy link
Copy Markdown

This PR provides ability to add on_add, on_remove, on_set, on_replaced hooks on UntypedComponent. Instead of typed references they receive *mut c_void pointers.

@r4nd0m1z3r
Copy link
Copy Markdown
Author

r4nd0m1z3r commented Nov 22, 2025

While this PR works, it also contains a lot of copy-pasted code from Component - we probably want to get rid of that duplication, but I haven't yet figured a way to do that.

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.

1 participant