~vcs-imports-ii/guile/master

Viewing all changes in revision 14767.

  • Committer: Andy Wingo
  • Date: 2017-09-14 07:24:50 UTC
  • Revision ID: git-v1:95f66b197cd756766a404a4f3495627fb6e196e9
GOOPS instance migration implemented in Scheme

* libguile/goops.c (scm_class_of): Call out directly to the GOOPS-local
  `migrate-instance' if an instance needs to migrate.
  (scm_sys_struct_data): New internal temporary function used by the
  Scheme `migrate-instance'.  Exorcise the evil one from the old C
  implementation.
* libguile/goops.h (scm_change_object_class): Remove function used only
  internally in GOOPS.
* module/oop/goops.scm (migrate-instance): Implement the
  hell/purgatory/etc logic in Scheme instead of C.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: