1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-10 15:50:50 +02:00
guile/module/oop/goops
Andy Wingo e0590e7c27 Fold GOOPS compile and dispatch modules into main GOOPS module
* libguile/goops.c (scm_sys_invalidate_method_cache_x): Remove C
  interface to this internal method.  Instead, internal callers are all
  from Scheme, so we move the implementation to Scheme.
  (scm_make): Dispatch to `make' in Scheme.  This is an incompatible but
  great change, as it fulfills the common user perception that scm_make
  is the same as GOOPS's `make'.
  (scm_sys_goops_early_init): Capture `make'.
  (scm_no_applicable_method): Define in Scheme and capture in C.

* module/Makefile.am: Remove oop/goops/compile.scm and
  oop/goops/dispatch.scm.

* module/oop/goops/compile.scm:
* module/oop/goops/dispatch.scm: Fold into goops.scm.

* module/oop/goops.scm: Fold in the generic compile and dispatch
  modules.  This eliminates a circularity that caused some eval-when
  shenanigans, so remove the eval-whens as well.  Reimplement the boot
  version of `make' in Scheme, and make the <generic> `initialize'
  method handle invalidation instead of the generic %allocate-instance.
  (no-applicable-method): Define here.  Import the utils module in the
  normal define-module block.
2015-01-23 16:16:00 +01:00
..
accessors.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
active-slot.scm Remove unused %fast-slot-ref / %fast-slot-set! from GOOPS 2015-01-23 16:16:00 +01:00
composite-slot.scm Clarify the copyright status of GOOPS. 2013-01-26 15:41:05 +01:00
describe.scm Clarify the copyright status of GOOPS. 2013-01-26 15:41:05 +01:00
internal.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
save.scm oop goops save: fix compile-time availability of write-component 2013-01-23 16:53:54 +01:00
simple.scm more define-syntax-rule usage 2011-09-02 11:36:14 +02:00
stklos.scm more define-syntax-rule usage 2011-09-02 11:36:14 +02:00
util.scm Merge remote-tracking branch 'origin/stable-2.0' 2012-05-23 12:38:56 +02:00