guile-devel
[Top][All Lists]
Advanced

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

Re: Patch for gh.h


From: Lars J. Aas
Subject: Re: Patch for gh.h
Date: Mon, 7 May 2001 15:11:15 +0200
User-agent: Mutt/1.2.5i

On Mon, Apr 30, 2001 at 12:10:01PM -0400, Ariel Rios wrote:
: The following patch adds some macros to gh.h:
: 
: #define gh_init () scm_init_guile ()
: #define gh_make_string(k, chr) scm_make_string(k, chr);
: #define gh_string_length(str)  scm_string_length (str);
: #define gh_string_ref(str, k)  scm_string_ref(str, k);
: #define gh_string_set_x(str, k, chr) scm_string_set_x(str, k, chr);
: #define gh_substring(str, start,end) scm_substring(str, start, end);
: #define gh_string_append(args) scm_string_append(args);

Shouldn't the gh interface be part of the binary interface of the
Guile shared library?  If something changes and you have to modify the
define to compensate for the change and make the gh-interface backwards
compatible on the source level, you still break binary compatibility...

  Lars J



reply via email to

[Prev in Thread] Current Thread [Next in Thread]