diff options
author | Dirk Herrmann <dirk@dirk-herrmanns-seiten.de> | 2001-08-31 11:17:06 +0000 |
---|---|---|
committer | Dirk Herrmann <dirk@dirk-herrmanns-seiten.de> | 2001-08-31 11:17:06 +0000 |
commit | b29058ffee392969b448f8157afaf370c17a736c (patch) | |
tree | 2b29b8ece42c1be983ed8842931e36bd4415434c /libguile/regex-posix.h | |
parent | 0527e6876338ba394366273351105d6622368da2 (diff) | |
download | guile-b29058ffee392969b448f8157afaf370c17a736c.tar.gz |
* Remove deprecated macros and typenames.
* Rename header macros to SCM_<filename>_H.
* Prefer !SCM_<foo> over SCM_N<foo>.
Diffstat (limited to 'libguile/regex-posix.h')
-rw-r--r-- | libguile/regex-posix.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libguile/regex-posix.h b/libguile/regex-posix.h index 798c55240..02b6e02a8 100644 --- a/libguile/regex-posix.h +++ b/libguile/regex-posix.h @@ -1,20 +1,20 @@ /* classes: h_files */ -#ifndef REGEXPOSIXH -#define REGEXPOSIXH +#ifndef SCM_REGEX_POSIX_H +#define SCM_REGEX_POSIX_H -/* Copyright (C) 1997,1998, 2000, 2001 Free Software Foundation, Inc. - * +/* Copyright (C) 1997,1998,2000,2001 Free Software Foundation, Inc. + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. - * + * * This program 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 General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this software; see the file COPYING. If not, write to * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, @@ -42,22 +42,22 @@ * * If you write modifications of your own for GUILE, it is your choice * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - */ + * If you do not wish that, delete this exception notice. */ + #include "libguile/__scm.h" extern scm_t_bits scm_tc16_regex; #define SCM_RGX(X) ((regex_t *) SCM_CELL_WORD_1 (X)) -#define SCM_RGXP(X) (SCM_NIMP (X) && (SCM_CELL_TYPE (X) == scm_tc16_regex)) +#define SCM_RGXP(X) (!SCM_IMP (X) && (SCM_CELL_TYPE (X) == scm_tc16_regex)) extern SCM scm_make_regexp (SCM pat, SCM flags); SCM scm_regexp_p (SCM x); extern SCM scm_regexp_exec (SCM rx, SCM str, SCM start, SCM flags); extern void scm_init_regex_posix (void); -#endif +#endif /* SCM_REGEX_POSIX_H */ /* Local Variables: |