]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/input-smob.cc
2002-07-13 Han-Wen <hanwen@cs.uu.nl>
[lilypond.git] / lily / input-smob.cc
index bbd6f34dc3144995680c20c3754f0b54ecadc399..0ea9b3664c434f87809e9b9a1c70e4835b6d7ec2 100644 (file)
@@ -80,10 +80,7 @@ make_input (Input ip)
   Input * nip =  new Input (ip);
   SCM z;
   
-  SCM_NEWCELL (z);
-  SCM_SETCAR (z, (SCM)input_tag);
-  SCM_SETCDR (z, (SCM)nip);
-                               // fixme: done_malloc
+  SCM_NEWSMOB (z, input_tag, nip);
   return z;
 }