* [PATCH] Small doc fix
@ 2003-04-03 10:15 tomas
2003-04-26 15:10 ` Neil Jerram
0 siblings, 1 reply; 2+ messages in thread
From: tomas @ 2003-04-03 10:15 UTC (permalink / raw)
Hi,
it's an obvious ommission, thus rather harmless. Still, here's the
patch (diff -u):
=====================================================================
--- guile-core/doc/ref/data-rep.texi.original Thu Apr 3 11:44:36 2003
+++ guile-core/doc/ref/data-rep.texi Thu Apr 3 11:44:40 2003
@@ -1489,12 +1489,6 @@
use the mechanism described above for new code, and change old code not
to use deprecated features.
-Instead of using @code{scm_make_smob_type} and calling each of the
-individual @code{scm_set_smob_XXX} functions to register each special
-function independently, you could use @code{scm_make_smob_type_mfpe} to
-register all of the special functions at once as you create the smob
-type
-
@deftypefun long scm_make_smob_type_mfpe(const char *name, size_t size, SCM (*mark) (SCM), size_t (*free) (SCM), int (*print) (SCM, SCM, scm_print_state*), SCM (*equalp) (SCM, SCM))
This function invokes @code{scm_make_smob_type} on its first two arguments
to add a new smob type named @var{name}, with instance size @var{size} to the system.
@@ -1504,6 +1498,8 @@
The return value is a tag that is used in creating instances of the type. If @var{size}
is 0, then no memory will be allocated when instances of the smob are created, and
nothing will be freed by the default free function.
+
+@emph{This function is deprecated}
@end deftypefun
For example, here is how one might declare and register a new type
=====================================================================
Regards
-- tomas
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-26 15:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-03 10:15 [PATCH] Small doc fix tomas
2003-04-26 15:10 ` Neil Jerram
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).