Re: [PATCH] Choose syntax with dynamic list allocation



Hello,

On Mon, 25 Jul 2005, Leonard den Ottolander wrote:

> >  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?

char** should suit you.



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