Availability:C-language interface function
void PL_close_foreign_frame(fid_t
id)Discard all term references created after the frame was opened. All
other Prolog data is retained. This function is called by the kernel
whenever a foreign function returns control back to Prolog.