[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: var_to_string
From: |
Ben Pfaff |
Subject: |
Re: var_to_string |
Date: |
Wed, 25 Apr 2012 21:35:52 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
John Darrington <address@hidden> writes:
> The attatched patch makes a solution to bug #31566 possible.
>
> It replaces the const char* with a struct string *
I don't like the idea of doing this extra allocation, copying,
and deallocation if we can avoid it. I think that we can avoid
it.
One way, for example, would be to add a new var_* function that
returns the variable name and label together, keeping the string
cached as part of the struct variable.
- var_to_string, John Darrington, 2012/04/25
- Re: var_to_string,
Ben Pfaff <=