On Mon, Jun 11, 2012 at 3:56 PM, David Korn <[email protected]> wrote:
> Subject: Re: [ast-developers] np_* API change for ksh93v to eliminate  
> sh_getinterp() and nv_shell(np)
> --------
>
>> David, can you change the nv_* API for ksh93v- that each of the nv_*
>> calls takes a Shell_t* as first argument? IMO it would help with
>> eliminating calls to sh_getinterp() and nv_shell(np), and therefore
>> help with the elimination of a global Shell_t.
>>
>> Olga
> I will look at this.  I don't think that nv_*() should take Shell_t*.
> Maybe Shell_t* should be embedded in the Namval_t structure.

That would grow Namval_t by 8 bytes on 64bit platforms. Passing the
Shell_t* to each function would be 'for free' [memory].

Irek

_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to