diff options
Diffstat (limited to 'libguile/uniform.c')
-rw-r--r-- | libguile/uniform.c | 52 |
1 files changed, 22 insertions, 30 deletions
diff --git a/libguile/uniform.c b/libguile/uniform.c index 13ee18a0c..58307a793 100644 --- a/libguile/uniform.c +++ b/libguile/uniform.c @@ -1,20 +1,21 @@ -/* Copyright (C) 1995,1996,1997,1998,2000,2001,2002,2003,2004, 2005, 2006, 2009, 2010, 2013, 2014 Free Software Foundation, Inc. - * - * 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 3 of - * the License, or (at your option) any later version. - * - * 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. - * - * 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., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301 USA - */ +/* Copyright 1995-1998,2000-2006,2009-2010,2013-2014,2018 + Free Software Foundation, Inc. + + This file is part of Guile. + + Guile 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 3 of the License, or + (at your option) any later version. + + Guile 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. + + You should have received a copy of the GNU Lesser General Public + License along with Guile. If not, see + <https://www.gnu.org/licenses/>. */ @@ -23,10 +24,7 @@ # include <config.h> #endif -#include "libguile/_scm.h" -#include "libguile/__scm.h" - -#include "libguile/uniform.h" +#include "uniform.h" const size_t scm_i_array_element_type_sizes[SCM_ARRAY_ELEMENT_TYPE_LAST + 1] = { @@ -68,10 +66,10 @@ const void * scm_array_handle_uniform_elements (scm_t_array_handle *h) { size_t esize; - const scm_t_uint8 *ret; + const uint8_t *ret; esize = scm_array_handle_uniform_element_size (h); - ret = ((const scm_t_uint8 *) h->elements) + h->base * esize; + ret = ((const uint8_t *) h->elements) + h->base * esize; return ret; } @@ -87,11 +85,5 @@ scm_array_handle_uniform_writable_elements (scm_t_array_handle *h) void scm_init_uniform (void) { -#include "libguile/uniform.x" +#include "uniform.x" } - -/* - Local Variables: - c-file-style: "gnu" - End: -*/ |