alt-image-package-defs.scm 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ; Copyright (c) 1993-2008 by Richard Kelsey and Jonathan Rees. See file COPYING.
  2. (define-structure write-image (export s48-write-image)
  3. (open prescheme)
  4. (begin
  5. (define s48-write-image
  6. (external "s48_write_image" (=> (integer integer output-port) integer)))))
  7. (define-structure read-image read-image-interface
  8. (open prescheme)
  9. (begin
  10. (define s48-write-image
  11. (external "s48_write_image" (=> (integer integer output-port) integer)))
  12. (define s48-read-image
  13. (external "s48_read_image" (=> (integer integer) integer)))
  14. (define s48-startup-procedure
  15. (external "s48_startup_procedure" (=> () integer)))
  16. (define s48-initial-symbols
  17. (external "s48_initial_symbols" (=> () integer)))
  18. (define s48-initial-imported-bindings
  19. (external "s48_initial_imported_bindings" (=> () integer)))
  20. (define s48-initial-exported-bindings
  21. (external "s48_initial_exported_bindings" (=> () integer)))
  22. (define s48-resumer-records
  23. (external "s48_resumer_records" (=> () integer)))
  24. (define s48-relocate-all
  25. (external "s48_relocate_all" (=> (integer address address integer integer integer) null)))
  26. (define s48-initialization-complete!
  27. (external "s48_initialization_completeB" (=> () null)))
  28. (define s48-initializing-gc-root
  29. (external "s48_initializing_gc_root" (=> () null)))
  30. ;; For debugging
  31. (define get-all-globals
  32. (external "get_all_globals" (=> () null)))
  33. ))