Re: [PATCH] Choose syntax with dynamic list allocation



Hi Pavel,

On Mon, 2005-07-25 at 21:41, Pavel Tsekov wrote:
> On Mon, 25 Jul 2005, Leonard den Ottolander wrote:
> > The char** (string list) that was names is dynamically allocated in
> > edit_read_syntax_file(). Since I have to pass that char** by reference I
> > end up using a char*** (pnames). Seems excessive at first, but I don't
> > know a better way to achieve this. Do you?
> 
> char** should suit you.

Are you sure? Try a s/*pnames/names/g on that code and see what it does
for you. If you can get this to work I'd love to see your code.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]