From: Chris Ross Date: 2002-06-25T18:00:57+09:00 Subject: Re: Steps to get multiple interpreters per process... On Tue, 25 Jun 2002 09:24:56 ts wrote: : >>>>> "C" == Chris Ross writes: : : C> 1) Pass the structure a round the program such that it is accessable, : C> both php and ferite do it this way [not sure about others as I have : C> not looked in a while]. : : How do you do it ? : : Via #define like perl ? I store all things that are related to a execution instance in a FeriteScript* and then pass that to all functions. They simply all take a FeriteScript* as the first argument. Regards, Chris -- +------------------------------------------------------------------+ | Chris Ross | chris@darkrock.co.uk | ctr@ferite.org | | | http://www.darkrock.co.uk | http://www.ferite.org | +------------------------------------------------------------------+ "Life is an onion and one peels away its layers crying."