*** empty log message ***
[bpt/guile.git] / libguile / gh.h
index e180c0d..dbb04b1 100644 (file)
@@ -1,43 +1,19 @@
 /* Copyright (C) 1995,1996,1997,1998,2000,2001 Free Software Foundation, Inc.
  * 
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- * 
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- * 
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.  If not, write to
- * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307 USA
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of GUILE.
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
  *
- * The exception is that, if you link the GUILE library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the GUILE library code into it.
- *
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
- *
- * This exception applies only to the code released by the
- * Free Software Foundation under the name GUILE.  If you copy
- * code from other Free Software Foundation releases into a copy of
- * GUILE, as the General Public License permits, the exception does
- * not apply to the code that you add in this way.  To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
  *
- * If you write modifications of your own for GUILE, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.  */
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
 \f
 
 #ifndef __GH_H
@@ -105,18 +81,16 @@ SCM_API SCM gh_double2scm(double x);
 SCM_API SCM gh_char2scm(char c);
 SCM_API SCM gh_str2scm(const char *s, size_t len);
 SCM_API SCM gh_str02scm(const char *s);
-SCM_API void gh_set_substr(char *src, SCM dst, long start, size_t len);
+SCM_API void gh_set_substr(const char *src, SCM dst, long start, size_t len);
 SCM_API SCM gh_symbol2scm(const char *symbol_str);
 SCM_API SCM gh_ints2scm(const int *d, long n);
 
-#ifdef HAVE_ARRAYS
 SCM_API SCM gh_chars2byvect(const char *d, long n);
 SCM_API SCM gh_shorts2svect(const short *d, long n);
 SCM_API SCM gh_longs2ivect(const long *d, long n);
 SCM_API SCM gh_ulongs2uvect(const unsigned long *d, long n);
 SCM_API SCM gh_floats2fvect(const float *d, long n);
 SCM_API SCM gh_doubles2dvect(const double *d, long n);
-#endif
 
 SCM_API SCM gh_doubles2scm(const double *d, long n);