Previous: Input & output in Pre-Scheme, Up: Standard Pre-Scheme environment


9.3.7 Access to C functions and macros

— syntax: external c-name ps-type –> procedure

Special form for accessing C functions & macros. Calls in Pre-Scheme to the resulting procedure are compiled to calls in C to the function or macro named by c-name, which should be a string. PS-type is the Pre-Scheme type that the procedure should have, which is necessary for type inference.