Copyright (C) 2000-2012 |
GNU Info (guile.info)C to SchemeC to Scheme =========== - Function: SCM gh_bool2scm (int X) Returns `#f' if X is zero, `#t' otherwise. - Function: SCM gh_ulong2scm (unsigned long X) - Function: SCM gh_long2scm (long X) - Function: SCM gh_double2scm (double X) - Function: SCM gh_char2scm (char X) Returns a Scheme object with the value of the C quantity X. - Function: SCM gh_str2scm (char *S, int LEN) Returns a new Scheme string with the (not necessarily null-terminated) C array S data. - Function: SCM gh_str02scm (char *S) Returns a new Scheme string with the null-terminated C string S data. - Function: SCM gh_set_substr (char *SRC, SCM DST, int START, int LEN) Copy LEN characters at SRC into the _existing_ Scheme string DST, starting at START. START is an index into DST; zero means the beginning of the string. If START + LEN is off the end of DST, signal an out-of-range error. - Function: SCM gh_symbol2scm (char *NAME) Given a null-terminated string NAME, return the symbol with that name. - Function: SCM gh_ints2scm (int *DPTR, int N) - Function: SCM gh_doubles2scm (double *DPTR, int N) Make a scheme vector containing the N ints or doubles at memory location DPTR. - Function: SCM gh_chars2byvect (char *DPTR, int N) - Function: SCM gh_shorts2svect (short *DPTR, int N) - Function: SCM gh_longs2ivect (long *DPTR, int N) - Function: SCM gh_ulongs2uvect (ulong *DPTR, int N) - Function: SCM gh_floats2fvect (float *DPTR, int N) - Function: SCM gh_doubles2dvect (double *DPTR, int N) Make a scheme uniform vector containing the N chars, shorts, longs, unsigned longs, floats or doubles at memory location DPTR. automatically generated by info2www version 1.2.2.9 |