Skip to content
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

dukglue adoptPuppy/showFriends example breaks for no-arg invocation #18

Open
tedneward opened this issue Apr 15, 2019 · 2 comments
Open

Comments

@tedneward
Copy link

When the showFriends() method of that example is invoked, it errors out with the following:

expected native object, got undefined

This appears to be the case for any registered native function.

@Aloshi
Copy link
Owner

Aloshi commented Apr 15, 2019

Huh, that's weird. I'm busy right now but will try to take a look in a couple days.

@tedneward
Copy link
Author

Thanks, appreciate it; I've skimmed through the tests code and it appears this particular scenario isn't in there, so that could explain pretty easily how it regressed. If I understood duktape and dukglue better, I'd take a stab at fixing it, but I only got into both last week. Let me know if there's some way I can help, though; it's been a while since I did C++ professionally (using this for a side project), but I grok most of templates relatively well. (Or I used to, anyway....)

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

No branches or pull requests

2 participants