[Vm-dev] #pragma export on/off

Igor Stasenko siguctua at gmail.com
Fri Feb 20 03:52:16 UTC 2009

2009/2/20 Eliot Miranda <eliot.miranda at gmail.com>:
> Hi All,
>     anyone know what platform this pragma is aimed at, and whether we still really, really need it?  It is the source of the bulk of my warnings in the cog interpreter and I'd love to nuke it.
> E.
+1 for nuking it :)
As i understand this pragma ensuring that given symbol will appear in
module exports table, so other modules could lookup this symbol and
call these functions directly.
I fail see how such functions could be called directly bypassing rules
which ensuring a level of safety for VM - like InterpreterProxy.

Best regards,
Igor Stasenko AKA sig.

More information about the Vm-dev mailing list