srfi-60.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* srfi-60.h --- SRFI-60 procedures for Guile
  2. *
  3. * Copyright (C) 2005, 2006, 2010 Free Software Foundation, Inc.
  4. *
  5. * This library is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU Lesser General Public License
  7. * as published by the Free Software Foundation; either version 3 of
  8. * the License, or (at your option) any later version.
  9. *
  10. * This library is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * Lesser General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Lesser General Public
  16. * License along with this library; if not, write to the Free Software
  17. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  18. * 02110-1301 USA
  19. */
  20. #ifndef SCM_SRFI_60_H
  21. #define SCM_SRFI_60_H
  22. #include "libguile/__scm.h"
  23. SCM_INTERNAL SCM scm_srfi60_log2_binary_factors (SCM n);
  24. SCM_INTERNAL SCM scm_srfi60_copy_bit (SCM index, SCM n, SCM bit);
  25. SCM_INTERNAL SCM scm_srfi60_rotate_bit_field (SCM n, SCM count, SCM start, SCM end);
  26. SCM_INTERNAL SCM scm_srfi60_reverse_bit_field (SCM n, SCM start, SCM end);
  27. SCM_INTERNAL SCM scm_srfi60_integer_to_list (SCM n, SCM len);
  28. SCM_INTERNAL SCM scm_srfi60_list_to_integer (SCM lst);
  29. SCM_INTERNAL void scm_register_srfi_60 (void);
  30. SCM_INTERNAL void scm_init_srfi_60 (void);
  31. #endif /* SCM_SRFI_60_H */