This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: const correctness?



> Are there any plans to have 'const' keywords in the headers of GUILE ?
> I am a bit confused now, for instance: does gh_eval_str (char *)
> modify or free() the string you pass it?

Ken Raeburn has contributed patches to constify Guile's declarations.
I haven't applied these yet.

gh_eval_str should not modify or free its argument.