How to call a AS function from C++?
dmandelin at mozilla.com
Thu Jun 19 06:42:22 PDT 2008
Kelkar, Anand wrote:
> Hello All,
> I am trying to call an AS method on an AS object from C++ by using
> Toplevel->callproperty() function. But the problem is that when
> callproperty() tries to find the function inside the traits of that
> object, it cannot find it because the namespace sets that is passed
> thru Multiname to callproprty() function are not matching with ones
> saved inside traits table. Right now I am using publicNamespace to
> generate my multiname for function but that seems not to be correct.
> How do I find the correct namespace to be passed to multiname?
Is it possible to do this? I thought the interpreter was not reentrant.
I'm interested in a full answer as well. I'm working on some stuff where
I need to understand in detail how method calls and such work and what
can be done in the existing infrastructure.
More information about the Tamarin-devel