This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
doc patch
- To: guile at sourceware dot cygnus dot com
- Subject: doc patch
- From: Han-Wen Nienhuys <hanwen at cs dot uu dot nl>
- Date: Wed, 20 Oct 1999 15:04:51 +0200 (CEST)
- Reply-To: hanwen at cs dot uu dot nl
Hi there,
Yesterday, we were bitten by bug that we caused ourselves. This
snippet of doc might prevent others from doing the same stupid thing.
Hope this helps someone.
BTW, there seems to be no doco for scm_[un]protect_object(). Would
anyone like this to be written?
--- data-rep.texi Wed Oct 20 14:42:39 1999
+++ data-rep.texi.orig Wed Oct 20 14:34:39 1999
@@ -1192,13 +1192,6 @@
@}
@end example
-Please note the ordering of the statements in @code{create_image}. From
-the moment that @code{image_tag} is put in the car of @code{image_smob},
-the cell is considered to be a smob. This means that the initialization
-of the structure should happen before this assignment is done.
-Otherwise the garbage collector will call @call{mark_image} with an
-unitialized and potentially invalid argument.
-
@node Typechecking
@subsection Typechecking
--
Han-Wen Nienhuys, hanwen@cs.uu.nl ** GNU LilyPond - The Music Typesetter
http://www.cs.uu.nl/people/hanwen/lilypond/index.html