Re: [PATCH] Choose syntax with dynamic list allocation
- From: Pavel Tsekov <ptsekov gmx net>
- To: Leonard den Ottolander <leonard den ottolander nl>
- Cc: MC Devel <mc-devel gnome org>
- Subject: Re: [PATCH] Choose syntax with dynamic list allocation
- Date: Mon, 25 Jul 2005 13:55:36 +0300
Hello,
I see you were too eager to get your stuff into CVS. Please, explain the
use of `char ***pnames'.
On Wed, 20 Jul 2005, Leonard den Ottolander wrote:
> Well, it turned out my pointer arithmetic wasn't that bad, but testing
> for (! count % NENTRIES) to reallocate the list is not entirely correct
> ;).
>
> Here is a patch which allocates the syntax list dynamically. NENTRIES is
> currently defined as 3, but that is for testing purposes only.
>
> Maybe we should save the syntax list instead of creating it on every
> invocation of the editor?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]