#ifndef SCM_GC_H
#define SCM_GC_H
-/* Copyright (C) 1995,1996,1998,1999,2000,2001, 2002, 2003, 2004, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1998,1999,2000,2001, 2002, 2003, 2004, 2006, 2007 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
SCM_API void scm_gc_unregister_roots (SCM *b, unsigned long n);
SCM_API void scm_storage_prehistory (void);
SCM_API int scm_init_storage (void);
-SCM_API void *scm_get_stack_base (void);
SCM_API void scm_init_gc (void);
#if SCM_ENABLE_DEPRECATED == 1
#ifndef PTHREAD_ATTR_GETSTACK_WORKS
if ((void *)&attr < start || (void *)&attr >= end)
- return scm_get_stack_base ();
+ return (SCM_STACKITEM *) GC_stackbottom;
else
#endif
{
static SCM_STACKITEM *
get_thread_stack_base ()
{
- return scm_get_stack_base ();
+ return (SCM_STACKITEM *) GC_stackbottom;
}
#endif /* pthread methods of get_thread_stack_base */
static SCM_STACKITEM *
get_thread_stack_base ()
{
- return scm_get_stack_base ();
+ return (SCM_STACKITEM *) GC_stackbottom;
}
#endif /* !SCM_USE_PTHREAD_THREADS */