mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 02:31:03 -08:00
This change will be integrated but ignored (-ay) to the gg-epcore/union sources, so that they retain HopeNames. Copied from Perforce Change: 24911 ServerID: perforce.ravenbrook.com
36 lines
803 B
C
36 lines
803 B
C
/* impl.h.ss
|
|
* STACK SCANNING
|
|
*
|
|
* $Id$
|
|
*
|
|
* Copyright (c) 2001 Ravenbrook Limited.
|
|
*
|
|
* Provides a function for scanning the stack and registers
|
|
*
|
|
*/
|
|
|
|
#ifndef ss_h
|
|
#define ss_h
|
|
|
|
#include "mpm.h"
|
|
|
|
|
|
/* == StackScan ==
|
|
*
|
|
* StackScan scans the current stack between the
|
|
* stackBot and the current top of stack. It also fixes
|
|
* any roots which may be in registers.
|
|
*
|
|
* See the specific implementation for the exact registers which
|
|
* are scanned.
|
|
*
|
|
* The word pointed to by stackBot is fixed if the stack
|
|
* is by convention empty, and not fixed if it is full.
|
|
* Where empty means sp points to first free word beyond the top of
|
|
* stack. Full means sp points to the top of stack itself.
|
|
*/
|
|
|
|
extern Res StackScan(ScanState ss, Addr *stackBot);
|
|
|
|
|
|
#endif /* ss_h */
|