* texi spaces after defun names
@ 2003-05-01 0:16 Kevin Ryde
0 siblings, 0 replies; only message in thread
From: Kevin Ryde @ 2003-05-01 0:16 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 174 bytes --]
The following stops some warnings from makeinfo (4.3). A space after
the function name is normal of course.
* data-rep.texi, gh.texi: Add spaces after some @defun names.
[-- Attachment #2: data-rep.texi.defun-spaces.diff --]
[-- Type: text/plain, Size: 2948 bytes --]
CVS_RSH not defined
/usr/bin/cvs -d :pserver:anoncvs@subversions.gnu.org:/cvsroot/guile diff -r1.9 -u data-rep.texi
Index: data-rep.texi
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/doc/ref/data-rep.texi,v
retrieving revision 1.9
diff -u -u -r1.9 data-rep.texi
--- data-rep.texi 26 Apr 2003 15:09:18 -0000 1.9
+++ data-rep.texi 1 May 2003 00:14:29 -0000
@@ -1489,7 +1489,7 @@
use the mechanism described above for new code, and change old code not
to use deprecated features.
-@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))
+@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.
It also registers the @var{mark}, @var{free}, @var{print}, @var{equalp} smob
@@ -1537,9 +1537,9 @@
@code{SCM_NEWSMOB3} variants will allocate double cells and thus use
twice as much memory as smobs created by @code{SCM_NEWSMOB}.}
-@deftypefn Macro void SCM_NEWSMOB(SCM value, scm_t_bits tag, void *data)
-@deftypefnx Macro void SCM_NEWSMOB2(SCM value, scm_t_bits tag, void *data1, void *data2)
-@deftypefnx Macro void SCM_NEWSMOB3(SCM value, scm_t_bits tag, void *data1, void *data2, void *data3)
+@deftypefn Macro void SCM_NEWSMOB (SCM value, scm_t_bits tag, void *data)
+@deftypefnx Macro void SCM_NEWSMOB2 (SCM value, scm_t_bits tag, void *data1, void *data2)
+@deftypefnx Macro void SCM_NEWSMOB3 (SCM value, scm_t_bits tag, void *data1, void *data2, void *data3)
Make @var{value} contain a smob instance of the type with tag @var{tag}
and smob data @var{data} (or @var{data1}, @var{data2}, and @var{data3}).
@var{value} must be previously declared as C type @code{SCM}.
@@ -1549,9 +1549,9 @@
create a smob instance and return it, there is also a slightly specialized
macro for this situation:
-@deftypefn Macro fn_returns SCM_RETURN_NEWSMOB(scm_t_bits tag, void *data)
-@deftypefnx Macro fn_returns SCM_RETURN_NEWSMOB2(scm_t_bits tag, void *data1, void *data2)
-@deftypefnx Macro fn_returns SCM_RETURN_NEWSMOB3(scm_t_bits tag, void *data1, void *data2, void *data3)
+@deftypefn Macro fn_returns SCM_RETURN_NEWSMOB (scm_t_bits tag, void *data)
+@deftypefnx Macro fn_returns SCM_RETURN_NEWSMOB2 (scm_t_bits tag, void *data1, void *data2)
+@deftypefnx Macro fn_returns SCM_RETURN_NEWSMOB3 (scm_t_bits tag, void *data1, void *data2, void *data3)
This macro expands to a block of code that creates a smob instance of
the type with tag @var{tag} and smob data @var{data} (or @var{data1},
@var{data2}, and @var{data3}), and causes the surrounding function to
[-- Attachment #3: gh.texi.defun-spaces.diff --]
[-- Type: text/plain, Size: 746 bytes --]
--- gh.texi.~1.5.~ 2002-08-09 08:43:32.000000000 +1000
+++ gh.texi 2003-04-05 16:47:18.000000000 +1000
@@ -620,12 +620,12 @@
These correspond to the Scheme @code{(caadar ls)} procedures etc @dots{}
@end deftypefun
-@deftypefun SCM gh_set_car_x(SCM @var{pair}, SCM @var{value})
+@deftypefun SCM gh_set_car_x (SCM @var{pair}, SCM @var{value})
Modifies the CAR of @var{pair} to be @var{value}. This is equivalent to
the Scheme procedure @code{(set-car! ...)}.
@end deftypefun
-@deftypefun SCM gh_set_cdr_x(SCM @var{pair}, SCM @var{value})
+@deftypefun SCM gh_set_cdr_x (SCM @var{pair}, SCM @var{value})
Modifies the CDR of @var{pair} to be @var{value}. This is equivalent to
the Scheme procedure @code{(set-cdr! ...)}.
@end deftypefun
[-- Attachment #4: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-01 0:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-01 0:16 texi spaces after defun names Kevin Ryde
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).