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: workings of gh_string2scm



behnke@trustcenter.de writes:
> Hi,
> 
> As a simple user (not one of the glorious developers. Kudos! B-) ) I
> would like to
> know wether the functions
> 
>        gh_string2scm(char* s, int len)
> and
>        gh_string02scm(char*)
> 
> copy the data contained in the char array?

Perhaps you mean gh_str2scm and gh_str02scm respectively?

> 
> The wording of  the documentation could be read yaey or neay
> (to me, a native german speaker at least)


They both copy, but I am not sure if this is supposed to be a
guarantee of the implementation.

 - Maciej