Re: [PATCH] Choose syntax with dynamic list allocation
- From: Pavel Tsekov <ptsekov gmx net>
- Cc: MC Devel <mc-devel gnome org>
- Subject: Re: [PATCH] Choose syntax with dynamic list allocation
- Date: Mon, 25 Jul 2005 22:41:39 +0300
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]