[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 17/86: Remove unused macros
From: |
Andy Wingo |
Subject: |
[Guile-commits] 17/86: Remove unused macros |
Date: |
Wed, 20 Jun 2018 14:09:29 -0400 (EDT) |
wingo pushed a commit to branch master
in repository guile.
commit cd292b3bd91b26ad9f6397c6e0b876a4663c0595
Author: Andy Wingo <address@hidden>
Date: Sun Jun 17 22:35:03 2018 +0200
Remove unused macros
* libguile/validate.h (SCM_MUST_MALLOC_TYPE, SCM_MUST_MALLOC_TYPE_NUM)
(SCM_MUST_MALLOC): Remove unused macros. scm_must_malloc was removed
in Guile 2.0.
---
libguile/validate.h | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/libguile/validate.h b/libguile/validate.h
index e8416ad..08fcb92 100644
--- a/libguile/validate.h
+++ b/libguile/validate.h
@@ -31,15 +31,6 @@
-#define SCM_MUST_MALLOC_TYPE(type) \
- ((type *) scm_must_malloc (sizeof (type), FUNC_NAME))
-
-#define SCM_MUST_MALLOC_TYPE_NUM(type, num) \
- ((type *) scm_must_malloc (sizeof (type) * (num), FUNC_NAME))
-
-#define SCM_MUST_MALLOC(size) (scm_must_malloc ((size), FUNC_NAME))
-
-
#define SCM_VALIDATE_REST_ARGUMENT(x) \
- [Guile-commits] 02/86: More _scm.h refactoring, (continued)
- [Guile-commits] 02/86: More _scm.h refactoring, Andy Wingo, 2018/06/20
- [Guile-commits] 06/86: Remove _scm.h inclusion of config.h, Andy Wingo, 2018/06/20
- [Guile-commits] 09/86: Remove alignof.h inclusion from _scm.h, Andy Wingo, 2018/06/20
- [Guile-commits] 03/86: Remove _scm hack to undefine HAVE_STRUCT_TIMESPEC, Andy Wingo, 2018/06/20
- [Guile-commits] 04/86: Refactor regarding internal detection of ia64, Andy Wingo, 2018/06/20
- [Guile-commits] 08/86: Remove _scm.h verify.h inclusion, Andy Wingo, 2018/06/20
- [Guile-commits] 07/86: Remove errno.h include from _scm.h., Andy Wingo, 2018/06/20
- [Guile-commits] 11/86: Require C99 to build Guile, Andy Wingo, 2018/06/20
- [Guile-commits] 01/86: Move syscall-related private defines to their own header, Andy Wingo, 2018/06/20
- [Guile-commits] 19/86: Remove public SCM_VALIDATE_NIM, Andy Wingo, 2018/06/20
- [Guile-commits] 17/86: Remove unused macros,
Andy Wingo <=
- [Guile-commits] 10/86: Assume that if we have GCC, we have GCC >= 3.0., Andy Wingo, 2018/06/20
- [Guile-commits] 05/86: Inline definition of SIZEOF_SCM_T_BITS, Andy Wingo, 2018/06/20
- [Guile-commits] 13/86: Remove _scm.h print.h include, Andy Wingo, 2018/06/20
- [Guile-commits] 15/86: Move number validators to numbers.h., Andy Wingo, 2018/06/20
- [Guile-commits] 16/86: Move more number validators to numbers.h., Andy Wingo, 2018/06/20
- [Guile-commits] 24/86: Deprecate libguile/validate.h, Andy Wingo, 2018/06/20
- [Guile-commits] 14/86: Move core validate macros to error.h, Andy Wingo, 2018/06/20
- [Guile-commits] 18/86: Move list validators to list.h, Andy Wingo, 2018/06/20
- [Guile-commits] 31/86: Remove gc.h from inline.h, Andy Wingo, 2018/06/20
- [Guile-commits] 32/86: Remove threads.h from inline.h, Andy Wingo, 2018/06/20