-
Notifications
You must be signed in to change notification settings - Fork 16
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
Question about pointers as params #21
Comments
Hi, @jefvel Have you been able to resolve this issue? I am facing a somewhat similar issue here. Any help would be great. Best Regards |
Hey! Nope, haven't done any progress on this, sorry. Would still like to know how to do it |
Sorry I can't help with this more, but the only guidance I can give is to check out the Haxebullet bindings and comb through that to see if there is any useful guidance in there. I don't know anything about it myself, but that repo might show you if it's possible or not. |
@zicklag That's exactly where my issue is. I have the idl and cpp codes for the Bullet library, but don't know how to call a function that takes in an array as a parameter. |
Hmm, maybe you can search the Armory source code to see if it uses that function and how it passes the array? |
Here you have a working example → https://github.com/Sanva/haxe-webidl-example . Please note that I'm using my own WebIDL fork, because of this → Sanva@a57a4c6 . I'm planning to do a pull request, of course, but even knowing C/C++, I'm not really a C/C++ experienced programmer — and with even less knowledge about this WebIDL thing... But I think that [1] I know about |
Hi @Sanva Thank you for your reply. That is a very interesting way of overcoming this issue. I will try it out in my case and hope it works. Best Regards, |
I am trying to create a test function:
and the IDL definition:
However, I am not at all sure how to call this function through Haxe. Is it possible at the moment?
The text was updated successfully, but these errors were encountered: