mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 15:40:19 +02:00
Preparation for more GOOPS refactorings
* libguile/goops.c (scm_sys_goops_early_init) (scm_init_goops_builtins): Factor out some initialization to a separate helper. This will be the base for moving more things from C to Scheme in the future. * module/oop/goops.scm: Call %goops-early-init.
This commit is contained in:
parent
6ab1939653
commit
82ab50900a
2 changed files with 29 additions and 16 deletions
|
@ -207,6 +207,9 @@
|
|||
(use-modules ((language tree-il primitives) :select (add-interesting-primitive!)))
|
||||
(add-interesting-primitive! 'class-of))
|
||||
|
||||
(eval-when (compile load eval)
|
||||
(%goops-early-init))
|
||||
|
||||
;; Then load the rest of GOOPS
|
||||
(use-modules (oop goops util)
|
||||
(oop goops dispatch)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue