Pavel wrote:
Hi,
I am wondering if it's possible to import a shared object into a program twice.
Basically, what I want to do is:
[G] = {Module.link ['object.so{native}']}
[H] = {Module.link ['object.so{native}']}
with G and H becoming separate objects with separate internal states.
Is there some simple solution for that?

Yes, use Module.apply instead of Module.link. The documentation of Module explains this very well.

Cheers,
raph
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to