Re: [PATCH] Choose syntax with dynamic list allocation



Hi Pavel,

On Mon, 2005-07-25 at 12:55, Pavel Tsekov wrote:
> I see you were too eager to get your stuff into CVS.

Well, I've been using that code for a while now, so I thought committing
it to HEAD was not done prematurely. Had I been eager I would have
committed it to PRE and have it in the release ;) .

>  Please, explain the
> use of `char ***pnames'.

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?

Leonard.

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





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