home *** CD-ROM | disk | FTP | other *** search
- { (C) Copyright 1986-1992 MetaWare Incorporated; Santa Cruz, CA 95060. }
-
- package Language;
- with Other_languages transmitted;
- (* The following type is predefined:
-
- type Calling_convention = set of
- (By_ref, -- all parms to be passed by ref(FORTRAN)
- Reverse_parms, -- parms are to be pushed in reverse
- Callee_pops_stack, -- routines are to pop their formal parms
- Save_regs, -- routine saves and restores registers
- Stack_result, -- function result is returned on stack
- -- (it is returned in a register otherwise)
- Propagate, -- nested routines are to have same conventions
- Return_pointers_in_ES_BX, -- Pointers/addresses are returned
- -- from functions in BX (16-bit pointer)
- -- or ES-BX (32-bit pointer).
- Interrupt); -- Interrupt routine.
- *)
- pragma include('syslang.pf');
- const INTRINSICS = PASCAL+[REVERSE_PARMS]-[STACK_RESULT,PROPAGATE];
- end;
-