Improve docs of string and symbol conversions from C strings
[bpt/guile.git] / libguile / keywords.h
CommitLineData
fca75708
MD
1/* classes: h_files */
2
0527e687
DH
3#ifndef SCM_KEYWORDS_H
4#define SCM_KEYWORDS_H
5
102dbb6f 6/* Copyright (C) 1995,1996,1999,2000,2001, 2006, 2008 Free Software Foundation, Inc.
0527e687 7 *
73be1d9e 8 * This library is free software; you can redistribute it and/or
53befeb7
NJ
9 * modify it under the terms of the GNU Lesser General Public License
10 * as published by the Free Software Foundation; either version 3 of
11 * the License, or (at your option) any later version.
0527e687 12 *
53befeb7
NJ
13 * This library is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
73be1d9e
MV
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
0527e687 17 *
73be1d9e
MV
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
53befeb7
NJ
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 * 02110-1301 USA
73be1d9e 22 */
d3a6bc94 23
fca75708
MD
24\f
25
26#include "libguile/__scm.h"
27
28\f
29
33b001fd 30SCM_API scm_t_bits scm_tc16_keyword;
e841c3e0 31
fca75708
MD
32\f
33
33b001fd 34SCM_API SCM scm_keyword_p (SCM obj);
265a7997
MV
35SCM_API SCM scm_symbol_to_keyword (SCM symbol);
36SCM_API SCM scm_keyword_to_symbol (SCM keyword);
37
38SCM_API int scm_is_keyword (SCM val);
39SCM_API SCM scm_from_locale_keyword (const char *str);
40SCM_API SCM scm_from_locale_keywordn (const char *str, size_t len);
41
102dbb6f 42SCM_INTERNAL void scm_init_keywords (void);
fca75708 43
0527e687 44#endif /* SCM_KEYWORDS_H */
89e00824
ML
45
46/*
47 Local Variables:
48 c-file-style: "gnu"
49 End:
50*/