diff options
Diffstat (limited to 'gdb/guile/guile-internal.h')
| -rw-r--r-- | gdb/guile/guile-internal.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/guile/guile-internal.h b/gdb/guile/guile-internal.h index 60a8bf3..aeef77a 100644 --- a/gdb/guile/guile-internal.h +++ b/gdb/guile/guile-internal.h @@ -156,18 +156,6 @@ struct scheme_integer_constant #define gdbscm_is_false(scm) scm_is_eq ((scm), SCM_BOOL_F) #define gdbscm_is_true(scm) (!gdbscm_is_false (scm)) -#ifndef HAVE_SCM_NEW_SMOB - -/* Guile <= 2.0.5 did not provide this function, so provide it here. */ - -static inline SCM -scm_new_smob (scm_t_bits tc, scm_t_bits data) -{ - SCM_RETURN_NEWSMOB (tc, data); -} - -#endif - /* Function name that is passed around in case an error needs to be reported. __func is in C99, but we provide a wrapper "just in case", and because FUNC_NAME is the canonical value used in guile sources. |
