add allocate-struct primitive and rtl opcode
authorAndy Wingo <wingo@pobox.com>
Sun, 21 Jul 2013 14:17:59 +0000 (16:17 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 21 Jul 2013 15:12:22 +0000 (17:12 +0200)
commit14d102920fea11039cdae7fe05a2dc56f7e1264a
tree1327f1cef81f0356c352478628199649e62029a1
parentb21713128e84480c9665b288deff41b883ef4905
add allocate-struct primitive and rtl opcode

* libguile/struct.h:
* libguile/struct.c (scm_allocate_struct): New interface: allocates a
  struct.

* libguile/vm-engine.c (allocate_struct): Instead of make-struct with a
  rest arg, separate allocation from initialization.
libguile/struct.c
libguile/struct.h
libguile/vm-engine.c