Obtaining a current context in primitive

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Obtaining a current context in primitive

Igor Stasenko
Hello guys,

i am looking for a way, how i can obtain an activeContext oop in my
primitive function.
An activeContext variable is directly accessible for interpreter code,
but not for plugins.
So, i need some indirect way to retrieve it, to avoid patching the
Interpreter for exposing it.

What i actually want is to switch an active context to a different
one, but remember a previously active,
so it can be restored later.

--
Best regards,
Igor Stasenko AKA sig.