RE: [Plib-devel] psl copy constructor.
Brought to you by:
sjbaker
From: Jonathan W. <jtw...@in...> - 2004-04-20 08:55:41
|
On Tue, 2004-04-20 at 00:34, Fay John F Contr AAC/WMG wrote: > Jonathan, > > I put your changes into my copy of PSL and it compiles > nicely. The existing code around the changes mentions a need for > reference counting and so it appears that what you have done is > probably half the solution. Half is better than none, though, and I > thank you for your contribution. > John F. Fay > joh...@eg... Thanks for the feedback. I thought about doing a reference count and could implement it for the pslCompiler class fairly easily, but there is also a static array of type pslOpcode containing the bytecode, I've thought about wrapping it in a class or making it a part of pslCompiler, but that would require changing all the references in the pslProgram class to be indirect. I'm willing to have a go at it if no-one has a better idea though. Jonathan |