Add `thread-vm' and `set-thread-vm!'.
authorLudovic Courtès <ludo@gnu.org>
Fri, 24 Sep 2010 13:14:11 +0000 (15:14 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 24 Sep 2010 13:39:47 +0000 (15:39 +0200)
commit271c3d3196d93746917426ecb0d494de4d27c071
treea0aa6c49e259a43e05378ffbbd2dc6cbe5a4bda7
parentf4a23f910f8ce4c8e656fe6c050a30ea39ac0fcf
Add `thread-vm' and `set-thread-vm!'.

* libguile/vm.c (thread_vm, scm_thread_vm, scm_set_thread_vm_x): New
  functions.
  (scm_the_vm): Add docstring.  Use `thread_vm'.

* libguile/vm.h (scm_thread_vm, scm_set_thread_vm_x): New declarations.

* module/system/vm/vm.scm: Export `thread-vm' and `set-thread-vm!'.
libguile/vm.c
libguile/vm.h
module/system/vm/vm.scm