mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 01:00:20 +02:00
Add (ice-9 unicode) module
* libguile/unicode.c: * libguile/unicode.h: * test-suite/tests/unicode.test: * module/ice-9/unicode.scm: New files. * module/Makefile.am: * libguile/Makefile.am: * test-suite/Makefile.am: * libguile/init.c: Wire new files into the build. * doc/ref/api-data.texi: Add docs.
This commit is contained in:
parent
7f5887e70b
commit
c5ea75534c
9 changed files with 213 additions and 1 deletions
26
module/ice-9/unicode.scm
Normal file
26
module/ice-9/unicode.scm
Normal file
|
@ -0,0 +1,26 @@
|
|||
;; unicode
|
||||
|
||||
;;;; Copyright (C) 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, see
|
||||
;;;; <http://www.gnu.org/licenses/>.
|
||||
;;;;
|
||||
|
||||
(define-module (ice-9 unicode)
|
||||
#:export (formal-name->char
|
||||
char->formal-name))
|
||||
|
||||
(eval-when (expand load eval)
|
||||
(load-extension (string-append "libguile-" (effective-version))
|
||||
"scm_init_unicode"))
|
Loading…
Add table
Add a link
Reference in a new issue