[PATCH] Choose syntax with dynamic list allocation
Leonard den Ottolander
leonard at den.ottolander.nl
Mon Jul 25 20:28:30 UTC 2005
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
More information about the mc-devel
mailing list