summaryrefslogtreecommitdiff
path: root/libguile/dynwind.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-05-13 12:16:56 +0200
committerAndy Wingo <wingo@pobox.com>2011-05-13 13:49:30 +0200
commitb2feee6bc0d440a20c2c8cbb7b3d03c957c2c417 (patch)
tree946f117f76fe54be3f8cbc7005d2ae2defb749b6 /libguile/dynwind.h
parentb5df9cda41231785feb548da46d97a1af2c79251 (diff)
downloadguile-b2feee6bc0d440a20c2c8cbb7b3d03c957c2c417.tar.gz
deprecate scm_internal_dynamic_wind
* libguile/dynwind.c: * libguile/dynwind.h: * libguile/deprecated.h (scm_t_inner): * libguile/deprecated.c (scm_internal_dynamic_wind): Deprecate, as the scm_dynwind API is better, and this API encourages users to stuff SCM values into pointers.
Diffstat (limited to 'libguile/dynwind.h')
-rw-r--r--libguile/dynwind.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/libguile/dynwind.h b/libguile/dynwind.h
index b178bc429..6e952c4db 100644
--- a/libguile/dynwind.h
+++ b/libguile/dynwind.h
@@ -3,7 +3,7 @@
#ifndef SCM_DYNWIND_H
#define SCM_DYNWIND_H
-/* Copyright (C) 1995,1996,1998,1999,2000,2003,2004, 2006, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1998,1999,2000,2003,2004, 2006, 2008, 2011 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -28,14 +28,8 @@
typedef void (*scm_t_guard) (void *);
-typedef SCM (*scm_t_inner) (void *);
SCM_API SCM scm_dynamic_wind (SCM thunk1, SCM thunk2, SCM thunk3);
-SCM_API SCM scm_internal_dynamic_wind (scm_t_guard before,
- scm_t_inner inner,
- scm_t_guard after,
- void *inner_data,
- void *guard_data);
SCM_API void scm_dowinds (SCM to, long delta);
SCM_INTERNAL void scm_i_dowinds (SCM to, long delta,
void (*turn_func) (void *), void *data);