How to call a AS function from C++?
stejohns at adobe.com
Thu Jun 19 09:24:05 PDT 2008
No, the interpreter is re-entrant in both TC and TT -- but in TT it's highly
discouraged because we can't trace across re-entrant calls, thus there is a
nontrivial performance penalty.
I believe Anand is working in TC, not TT.
On 6/19/08 6:42 AM, "David Mandelin" <dmandelin at mozilla.com> wrote:
> 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.
> Tamarin-devel mailing list
> Tamarin-devel at mozilla.org
More information about the Tamarin-devel