guile-devel
[Top][All Lists]
Advanced

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

The GH interface. (was: Patch for gh.h)


From: Marius Vollmer
Subject: The GH interface. (was: Patch for gh.h)
Date: 01 May 2001 21:37:55 +0200
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

Ariel Rios <address@hidden> writes:

> 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);

Whoops, you should not have semicoli at the end of the replacement
text.

> I think r5rs functions should be included inside gh.h
> so users stay away from libguile as possible

Yes.  What do people think of the GH interface, in general?



reply via email to

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