guile-commits
[Top][All Lists]
Advanced

[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) \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]