Copyright (C) 1994, Digital Equipment Corp.
RTProcedureSRC
is an implementation-dependent extension to
RTProcedure
.
INTERFACE RTProcedureSRC;
FROM RTProcedure IMPORT Proc;
TYPE
Name = ADDRESS;
(* a C-style null terminated string *)
PROCEDURE NumProcedures (): CARDINAL;
Returns the number of global procedures registered in the runtime.
PROCEDURE FromPC (pc: ADDRESS; VAR p: Proc; VAR file, name: Name);
Returns in (p, name) the address and name of the procedure that seems to
contain pc. (i.e. the first registered procedure before pc) Note that
this procedure may require a linear search of the registered
procedures.
END RTProcedureSRC.