Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/include




On Feb 18, 2006, at 3:46 AM, Elad Efrat wrote:

YAMAMOTO Takashi wrote:

because you can't increase the size of the structure
without bumping the major.

i see. so, what do you suggest? i want to avoid using malloc here
and allow the caller to change internal values of the struct.

Malloc, combined with accessor / mutator functions, is the right thing to do.


should i just write a function to access and modify the various
values of the struct?

-e.

--
Elad Efrat

-- thorpej




Home | Main Index | Thread Index | Old Index