Add `SCM_INTERNAL' macro, use it.
[bpt/guile.git] / libguile / regex-posix.h
CommitLineData
f255378e
JB
1/* classes: h_files */
2
b29058ff
DH
3#ifndef SCM_REGEX_POSIX_H
4#define SCM_REGEX_POSIX_H
f255378e 5
102dbb6f 6/* Copyright (C) 1997,1998,2000,2001, 2006, 2008 Free Software Foundation, Inc.
b29058ff 7 *
73be1d9e
MV
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
b29058ff 12 *
73be1d9e 13 * This library is distributed in the hope that it will be useful,
f255378e 14 * but 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.
b29058ff 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
92205699 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
73be1d9e 21 */
f255378e 22
b29058ff 23\f
d3a6bc94 24
f255378e
JB
25#include "libguile/__scm.h"
26
33b001fd 27SCM_API scm_t_bits scm_tc16_regex;
f5710d53
MV
28#define SCM_RGX(X) ((regex_t *) SCM_SMOB_DATA (X))
29#define SCM_RGXP(X) (SCM_SMOB_PREDICATE (scm_tc16_regex, (X)))
f255378e 30
33b001fd
MV
31SCM_API SCM scm_make_regexp (SCM pat, SCM flags);
32SCM_API SCM scm_regexp_p (SCM x);
33SCM_API SCM scm_regexp_exec (SCM rx, SCM str, SCM start, SCM flags);
102dbb6f 34SCM_INTERNAL void scm_init_regex_posix (void);
f255378e 35
b29058ff 36#endif /* SCM_REGEX_POSIX_H */
89e00824
ML
37
38/*
39 Local Variables:
40 c-file-style: "gnu"
41 End:
42*/