-
Notifications
You must be signed in to change notification settings - Fork 4
Add a way to setup an ArResolver #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…e testing needs to be done I think.
This reverts commit ff918e9.
|
Ooooh I see what you're doing. That's neat. I'd done something very similar with the |
Yep, I'l also interested in custom file formats. I believe that the exact same approach should work. |
This is still very much a draft and builds ontop of #1, but it's usable enough to get an ArResolver working, see https://github.com/expenses/usd-iroh-resolver/tree/main.
This requires compiling a
cdyliband using the ctor macro to declare a type and setup the factory:https://github.com/expenses/usd-iroh-resolver/blob/cc5303975fe084ffd7d3b6dfd8965a13621b2d44/src/lib.rs#L317-L332
One thing that should be fixed before merging is that functions are currently passed as
void *s. This is not ideal but babble isn't able to parse function pointers yet.