[Vm-dev] Howto invoke plugin primitive from Interpreter?

Bert Freudenberg bert at freudenbergs.de
Thu Jun 14 10:35:58 UTC 2007

On Jun 14, 2007, at 11:28 , André Wendt wrote:

> Hi,
> I'm trying to invoke the primitiveFileOpen primitive from the  
> FilePlugin
> from within the Interpreter:
> <primitive: 'primitiveFileOpen' module: 'FilePlugin'>
> obviously does not work: It doesn't get translated to C. How do I  
> invoke
> a primitive of an (internal/external) plugin from within the  
> Interpreter
> class?

This is generally a bad idea, because you would have to pass  
parameters on the smalltalk stack.

What are you actually trying to achieve?

- Bert -

More information about the Vm-dev mailing list