This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

doc patch




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 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]